Skip to main navigation Skip to search Skip to main content

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

  • 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 journal › Journal article › peer-review

    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.

    Original languageEnglish
    Pages (from-to)889-912
    Number of pages24
    JournalJournal of Web Engineering
    Volume22
    Issue number6
    DOIs
    StatePublished - 2023

    Keywords

    • Ansible
    • Bard
    • Edge-cloud
    • automated program repairing
    • large langue model

    Quacquarelli Symonds(QS) Subject Topics

    • Computer Science & Information Systems

    Fingerprint

    Dive into the research topics of 'Exploring LLM-based Automated Repairing of Ansible Script in Edge-Cloud Infrastructures'. Together they form a unique fingerprint.

    Cite this