Ansible Lightspeed: A Code Generation Service for IT Automation
The availability of Large Language Models (LLMs) which can generate code, has made it possible to create tools that improve developer productivity. Integrated development environments or IDEs which developers use to write software are often used as an interface to interact with LLMs. Although many s...
Saved in:
Published in | IEEE/ACM International Conference on Automated Software Engineering : [proceedings] pp. 2148 - 2158 |
---|---|
Main Authors | , , , , , |
Format | Conference Proceeding |
Language | English |
Published |
ACM
27.10.2024
|
Subjects | |
Online Access | Get full text |
ISSN | 2643-1572 |
DOI | 10.1145/3691620.3695277 |
Cover
Loading…
Abstract | The availability of Large Language Models (LLMs) which can generate code, has made it possible to create tools that improve developer productivity. Integrated development environments or IDEs which developers use to write software are often used as an interface to interact with LLMs. Although many such tools have been re-leased, almost all of them focus on general-purpose programming languages. Domain-specific languages, such as those crucial for Information Technology (IT) automation, have not received much attention. Ansible is one such YAML-based IT automation-specific language. Ansible Lightspeed is an LLM-based service designed explicitly to generate Ansible YAML, given natural language prompt.In this paper, we present the design and implementation of the Ansible Lightspeed service. We then evaluate its utility to developers using diverse indicators, including extended utilization, analysis of user edited suggestions, as well as user sentiments analysis. The evaluation is based on data collected for 10,696 real users including 3,910 returning users. The code for Ansible Lightspeed service and the analysis framework is made available for others to use.To our knowledge, our study is the first to involve thousands of users of code assistants for domain-specific languages. We are also the first code completion tool to present N-Day user retention figures, which is 13.66% on Day 30. We propose an improved version of user acceptance rate, called Strong Acceptance rate, where a suggestion is considered accepted only if less than 50% of it is edited and these edits do not change critical parts of the suggestion. By focusing on Ansible, Lightspeed is able to achieve a strong acceptance rate of 49.08% for multi-line Ansible task suggestions. With our findings we provide insights into the effectiveness of small, dedicated models in a domain-specific context. We hope this work serves as a reference for software engineering and machine learning researchers exploring code completion. |
---|---|
AbstractList | The availability of Large Language Models (LLMs) which can generate code, has made it possible to create tools that improve developer productivity. Integrated development environments or IDEs which developers use to write software are often used as an interface to interact with LLMs. Although many such tools have been re-leased, almost all of them focus on general-purpose programming languages. Domain-specific languages, such as those crucial for Information Technology (IT) automation, have not received much attention. Ansible is one such YAML-based IT automation-specific language. Ansible Lightspeed is an LLM-based service designed explicitly to generate Ansible YAML, given natural language prompt.In this paper, we present the design and implementation of the Ansible Lightspeed service. We then evaluate its utility to developers using diverse indicators, including extended utilization, analysis of user edited suggestions, as well as user sentiments analysis. The evaluation is based on data collected for 10,696 real users including 3,910 returning users. The code for Ansible Lightspeed service and the analysis framework is made available for others to use.To our knowledge, our study is the first to involve thousands of users of code assistants for domain-specific languages. We are also the first code completion tool to present N-Day user retention figures, which is 13.66% on Day 30. We propose an improved version of user acceptance rate, called Strong Acceptance rate, where a suggestion is considered accepted only if less than 50% of it is edited and these edits do not change critical parts of the suggestion. By focusing on Ansible, Lightspeed is able to achieve a strong acceptance rate of 49.08% for multi-line Ansible task suggestions. With our findings we provide insights into the effectiveness of small, dedicated models in a domain-specific context. We hope this work serves as a reference for software engineering and machine learning researchers exploring code completion. |
Author | Nalawade, Ganesh Sahoo, Priyam Mandel, Louis Buratti, Luca Gebhardt, Richard Pujar, Saurabh |
Author_xml | – sequence: 1 givenname: Priyam surname: Sahoo fullname: Sahoo, Priyam organization: Red Hat – sequence: 2 givenname: Saurabh surname: Pujar fullname: Pujar, Saurabh email: saurabh.pujar@ibm.com organization: IBM Research – sequence: 3 givenname: Ganesh surname: Nalawade fullname: Nalawade, Ganesh email: gnalawad@redhat.com organization: Red Hat – sequence: 4 givenname: Richard surname: Gebhardt fullname: Gebhardt, Richard organization: Red Hat – sequence: 5 givenname: Louis surname: Mandel fullname: Mandel, Louis organization: IBM Research – sequence: 6 givenname: Luca surname: Buratti fullname: Buratti, Luca organization: IBM Research |
BookMark | eNotjM1Kw0AURkdRsNas3biYF0idOzOZHzcSQq2FgAvrutxM7uhAm5QkCr69QV2dj_PBuWYXXd8RY7cgVgC6uFfGg5FiNbOQ1p6xzFvvtBAWpHb2nC2k0SqHwsorlo1jasQ8CwNgFuyx7GZxIF6n949pPBG1D7zkVd8S31BHA06p7_grDV8pEI_9wLc7Xn5O_fH3uWGXEQ8jZf9csren9a56zuuXzbYq6xyl81OuvDPoGx-NwwBE0UkMrWtaGz1GEI6ss2CMkqiDRoGFQSdaG5SSWkRQS3b3101EtD8N6YjD9x6ENdp7qX4AM5NKYg |
CODEN | IEEPAD |
ContentType | Conference Proceeding |
DBID | 6IE 6IL CBEJK RIE RIL |
DOI | 10.1145/3691620.3695277 |
DatabaseName | IEEE Electronic Library (IEL) Conference Proceedings IEEE Xplore POP ALL IEEE Xplore All Conference Proceedings IEEE Electronic Library (IEL) IEEE Proceedings Order Plans (POP All) 1998-Present |
DatabaseTitleList | |
Database_xml | – sequence: 1 dbid: RIE name: IEEE Electronic Library (IEL) url: https://proxy.k.utb.cz/login?url=https://ieeexplore.ieee.org/ sourceTypes: Publisher |
DeliveryMethod | fulltext_linktorsrc |
Discipline | Computer Science |
EISBN | 9798400712487 |
EISSN | 2643-1572 |
EndPage | 2158 |
ExternalDocumentID | 10764992 |
Genre | orig-research |
GroupedDBID | 6IE 6IF 6IH 6IK 6IL 6IM 6IN 6J9 AAJGR AAWTH ABLEC ACREN ADYOE ADZIZ AFYQB ALMA_UNASSIGNED_HOLDINGS AMTXH BEFXN BFFAM BGNUA BKEBE BPEOZ CBEJK CHZPO IEGSK IPLJI M43 OCL RIE RIL |
ID | FETCH-LOGICAL-a289t-3986a9b9f68ac1eef82acd8bd7f9af108e78716632a4c4a0a56a80d7c33240f13 |
IEDL.DBID | RIE |
IngestDate | Wed Jan 15 06:20:43 EST 2025 |
IsDoiOpenAccess | false |
IsOpenAccess | true |
IsPeerReviewed | false |
IsScholarly | true |
Language | English |
LinkModel | DirectLink |
MergedId | FETCHMERGED-LOGICAL-a289t-3986a9b9f68ac1eef82acd8bd7f9af108e78716632a4c4a0a56a80d7c33240f13 |
OpenAccessLink | https://doi.org/10.1145/3691620.3695277 |
PageCount | 11 |
ParticipantIDs | ieee_primary_10764992 |
PublicationCentury | 2000 |
PublicationDate | 2024-Oct.-27 |
PublicationDateYYYYMMDD | 2024-10-27 |
PublicationDate_xml | – month: 10 year: 2024 text: 2024-Oct.-27 day: 27 |
PublicationDecade | 2020 |
PublicationTitle | IEEE/ACM International Conference on Automated Software Engineering : [proceedings] |
PublicationTitleAbbrev | ASE |
PublicationYear | 2024 |
Publisher | ACM |
Publisher_xml | – name: ACM |
SSID | ssib057256116 ssj0051577 |
Score | 2.2860384 |
Snippet | The availability of Large Language Models (LLMs) which can generate code, has made it possible to create tools that improve developer productivity. Integrated... |
SourceID | ieee |
SourceType | Publisher |
StartPage | 2148 |
SubjectTerms | ansible Automation code completion Codes Domain specific languages generative models ide Large language models Machine learning Natural languages Productivity Sentiment analysis Software Software engineering user study |
Title | Ansible Lightspeed: A Code Generation Service for IT Automation |
URI | https://ieeexplore.ieee.org/document/10764992 |
hasFullText | 1 |
inHoldings | 1 |
isFullTextHit | |
isPrint | |
link | http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV07T8MwELagE1N5FPGWB9aU-BE_WFBVURUEFUMrdatsx15ATUWThV_POQ8QSEhsUZTB8Xe-7y65-w6ha7CRlAeWJ9SaLOFC-MRoxQAQ7jjhVtlaxPV5JqYL_rjMlm2zet0L472vi8_8MF7W__LzwlXxUxmccCkgQgePuwt21jRrdcaTSSBvEmOdxg0DT0vZavkQnt0wAYEQhRxV6IzKn8NUai6Z9NGsW0VTQvI6rEo7dB-_BBr_vcx9NPhu28MvX4R0gHb8-hD1u7kNuD3GR-huFIti3zx-ipn5dgPP3-IRHhe5x40MdUQLt24EQ1iLH-Z4VJVF0-c4QIvJ_Xw8TdpBComBfKpMmFbCaKuDUMYR74OixuXK5jJoE0iqvIx5k2DUAEImNZkwKs2lY1GuLxB2jHrrYu1PEKaSMkdpMOAquNKAsIvvGoQlUVYnPUWDuCGrTaOVser24uyP--doj0KYENmAygvUK98rfwk0X9qrGt5Pkl-j2g |
linkProvider | IEEE |
linkToHtml | http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV07T8MwELZQGWDiVcQbD6wpie34wYKqiqqFtmJopW6V7dgLqKkgWfj1nPMAgYTEFkUZHJ99351933cI3cAaiZmnWUSMTiPGuYu0khQMwixLmJGmEnGdzvhowR6X6bIhq1dcGOdcVXzmeuGxusvPcluGozLY4YJDhA4edxuAn6U1XatdPqkA-E5CtFM7YkBqIRo1n4Slt5RDKEQgS-UqJeJnO5UKTYZ7aNaOoy4ieemVhenZj18Sjf8e6D7qfhP38PMXJB2gLbc-RHtt5wbcbOQjdN8PZbGvDk9Cbv6-ge_vcB8P8szhWog62As3jgRDYIvHc9wvi7xmOnbRYvgwH4yippVCpCGjKiKqJNfKKM-ltolzXhJtM2ky4ZX2SSydCJkTp0SDjXSsU65lnAlLg2CfT-gx6qzztTtBmAhCLSFeg7NgUoGNbfhXz00ShHXiU9QNE7La1GoZq3Yuzv54f412RvPpZDUZz57O0S6BoCFgAxEXqFO8le4SQL8wV5WpPwFbAKcn |
openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=IEEE%2FACM+International+Conference+on+Automated+Software+Engineering+%3A+%5Bproceedings%5D&rft.atitle=Ansible+Lightspeed%3A+A+Code+Generation+Service+for+IT+Automation&rft.au=Sahoo%2C+Priyam&rft.au=Pujar%2C+Saurabh&rft.au=Nalawade%2C+Ganesh&rft.au=Gebhardt%2C+Richard&rft.date=2024-10-27&rft.pub=ACM&rft.eissn=2643-1572&rft.spage=2148&rft.epage=2158&rft_id=info:doi/10.1145%2F3691620.3695277&rft.externalDocID=10764992 |