Skip to main navigation Skip to search Skip to main content

Exploring the Feasibility of ChatGPT for Improving the Quality of Ansible Scripts in Edge-Cloud Infrastructures Through Code Recommendation

  • Sunjae Kwon
  • , Sungu Lee
  • , Taehyoun Kim
  • , Duksan Ryu
  • , Jongmoon Baik*
  • *Corresponding author for this work
  • Korea Advanced Institute of Science and Technology

Research output: Contribution to conferenceConference paperpeer-review

Abstract

Edge-cloud system aims to reduce the processing time of Big data by bringing massive infrastructures closer to the source of data. Infrastructure as Code (IaC) supports the automatic deployment and management of these infrastructures through reusable code, and Ansible is the most popular IaC tool. As the quality of Ansible script directly influences the quality of Edge-cloud system, many researchers have studied improving the quality of Ansible scripts. However, there has yet to be an attempt to leverage the power of ChatGPT. Thus, we study to explore the feasibility of ChatGPT to improve the quality of Ansible scripts. Three raters evaluate ChatGPT’s code recommendation ability on 48 code revision cases from 25 Ansible project GitHub repositories, and we analyze the rating results. As a result, we can confirm that ChatGPT can recognize and understand Ansible script. However, its ability largely depends on how to user formulates the questions. Thus, we can confirm the need for prompt engineering for ChatGPT to acquire stable code recommendation results.

Original languageEnglish
Title of host publicationCurrent Trends in Web Engineering - ICWE 2023 International Workshops
Subtitle of host publicationBECS, SWEET, WALS, Revised Selected Papers
EditorsSven Casteleyn, Tommi Mikkonen, Alberto García Simón, In-Young Ko, Giuseppe Loseto
PublisherSpringer Science and Business Media Deutschland GmbH
Pages75-83
Number of pages9
ISBN (Print)9783031503849
DOIs
StatePublished - 2024
Event3rd International Workshop on Big Data Driven Edge Cloud Services, BECS 2023 and 2nd International Workshop on the Semantic Web of Everything, SWEET 2023 and 2nd International Workshop on Web Applications for Life Sciences, WALS 2023, held in conjunction with 23rd International Conference on Web Engineering, ICWE 2023 - Alicante, Spain
Duration: 2023.06.62023.06.9

Publication series

NameCommunications in Computer and Information Science
Volume1898
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference3rd International Workshop on Big Data Driven Edge Cloud Services, BECS 2023 and 2nd International Workshop on the Semantic Web of Everything, SWEET 2023 and 2nd International Workshop on Web Applications for Life Sciences, WALS 2023, held in conjunction with 23rd International Conference on Web Engineering, ICWE 2023
Country/TerritorySpain
CityAlicante
Period23.06.623.06.9

Keywords

  • Ansible
  • ChatGPT
  • Code Recommendation
  • Edge-cloud

Quacquarelli Symonds(QS) Subject Topics

  • Computer Science & Information Systems
  • Mathematics

Fingerprint

Dive into the research topics of 'Exploring the Feasibility of ChatGPT for Improving the Quality of Ansible Scripts in Edge-Cloud Infrastructures Through Code Recommendation'. Together they form a unique fingerprint.

Cite this