Exploring LLM-based Automated Repairing of Ansible Script in Edge-Cloud Infrastructures
-
Published:2023-12-26
Issue:
Volume:
Page:
-
ISSN:1544-5976
-
Container-title:Journal of Web Engineering
-
language:
-
Short-container-title:JWE
Author:
Kwon Sunjae,Lee Sungu,Kim Taehyoun,Ryu Duksan,Baik Jongmoon
Abstract
Edge-Cloud system requires massive infrastructures located in closer to the user to minimize latencies in handling Big data. Ansible is one of the most popular Infrastructure as Code (IaC) tools crucial for deploying these infrastructures of the Edge-cloud system. However, Ansible also consists of code, and its code quality is critical in ensuring the delivery of high-quality services within the Edge-Cloud system. On the other hand, the Large Langue Model (LLM) has performed remarkably on various Software Engineering (SE) tasks in recent years. One such task is Automated Program Repairing (APR), where LLMs assist developers in proposing code fixes for identified bugs. Nevertheless, prior studies in LLM-based APR have predominantly concentrated on widely used programming languages (PL), such as Java and C, and there has yet to be an attempt to apply it to Ansible. Hence, we explore the applicability of LLM-based APR on Ansible. We assess LLMs’ performance (ChatGPT and Bard) on 58 Ansible script revision cases from Open Source Software (OSS). Our findings reveal promising prospects, with LLMs generating helpful responses in 70% of the sampled cases. Nonetheless, further research is necessary to harness this approach’s potential fully.
Publisher
River Publishers
Subject
Computer Networks and Communications,Information Systems,Software