Litcius/Paper detail

Exploring LLM-based Automated Repairing of Ansible Script in Edge-Cloud Infrastructures

Sunjae Kwon, Sungu Lee, Taehyoun Kim, Duksan Ryu, Jongmoon Baik

2023Journal of Web Engineering19 citationsDOIOpen Access PDF

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.

Topics & Concepts

Cloud computingComputer scienceJavaSoftware engineeringEnhanced Data Rates for GSM EvolutionCode (set theory)Computer securitySoftwareWorld Wide WebData scienceProgramming languageOperating systemArtificial intelligenceSet (abstract data type)Software System Performance and ReliabilitySoftware Engineering ResearchSoftware Testing and Debugging Techniques