Towards LLM-Generated Code Tours for Onboarding

Résultats de recherche: Contribution dans un livre/un catalogue/un rapport/dans les actes d'une conférenceArticle dans les actes d'une conférence/un colloque

2 Téléchargements (Pure)

Résumé

Onboarding new developers is a challenge for any software project. Addressing this challenge relies on human resources (e.g., having a senior developer write documentation or mentor the new developer). One promising solution is using annotated code tours. While this approach partially lifts the need for mentorship, it still requires a senior developer to write this interactive form of documentation. This paper argues that a Large Language Model (LLM) might help with this documentation process. Our approach is to record the stack trace between a failed test and a faulty method. We then extract code snippets from the methods in this stack trace using CodeQL, a static analysis tool and have them explained by gpt-3.5-turbo-1106, the LLM behind ChatGPT. Finally, we evaluate the quality of a sample of these generated tours using a checklist. We show that the automatic generation of code tours is feasible but has limitations like redundant and low-level explanations.
langue originaleAnglais
titre2024 ACM/IEEE International Workshop on NL-based Software Engineering (NLBSE ’24)
Lieu de publicationLisbon, Portugal
EditeurACM Press
Les DOIs
Etat de la publicationPublié - avr. 2024
Evénement3rd Intl. Workshop on NL-based Software Engineering - Lisbon, Portugal
Durée: 20 avr. 202420 avr. 2024
Numéro de conférence: 3
https://nlbse2024.github.io

Une conférence

Une conférence3rd Intl. Workshop on NL-based Software Engineering
Titre abrégéNLBSE '24
Pays/TerritoirePortugal
La villeLisbon
période20/04/2420/04/24
Adresse Internet

Empreinte digitale

Examiner les sujets de recherche de « Towards LLM-Generated Code Tours for Onboarding ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation