Towards python program repair with generative pre-trained transformer (GPT-3.5)

Uloženo v:
Podrobná bibliografie
Název: Towards python program repair with generative pre-trained transformer (GPT-3.5)
Autoři: Zhi Cao, Qiuyu Ren
Zdroj: Theoretical and Natural Science. 43:102-112
Informace o vydavateli: EWA Publishing, 2024.
Rok vydání: 2024
Popis: ChatGPT has a great potential using a simple prompt design, which means further studies can be done to investigate the effect of different prompt designs. Complex software often contains hidden bugs in its source code. Recent study suggests that OpenAIs ChatGPT can perform numerous operations including code-to-code operations like code completion, translation, repair, and summarization, along with language-to-code operations such as code explanation and search. ChatGPTs dialogue capability can assist in generating more accurate bug fixes. However, it sometimes offers solutions without seeking further information, which can mislead users. To address this issue and enhance user experience, we conducted three design iterations to develop D-bugger a system enabling programmers to fix bugs more effectively. We conducted a survey to gauge the need for refinement, designed a low-fidelity prototype with key features, and then created a high-fidelity prototype evaluated by Python users. Our work aims to enhance the debugging process and user engagement.
Druh dokumentu: Article
ISSN: 2753-8826
2753-8818
DOI: 10.54254/2753-8818/43/20240782
Přístupové číslo: edsair.doi...........b98c59e405a0965a44d6d1285e4dad4b
Databáze: OpenAIRE
Popis
Abstrakt:ChatGPT has a great potential using a simple prompt design, which means further studies can be done to investigate the effect of different prompt designs. Complex software often contains hidden bugs in its source code. Recent study suggests that OpenAIs ChatGPT can perform numerous operations including code-to-code operations like code completion, translation, repair, and summarization, along with language-to-code operations such as code explanation and search. ChatGPTs dialogue capability can assist in generating more accurate bug fixes. However, it sometimes offers solutions without seeking further information, which can mislead users. To address this issue and enhance user experience, we conducted three design iterations to develop D-bugger a system enabling programmers to fix bugs more effectively. We conducted a survey to gauge the need for refinement, designed a low-fidelity prototype with key features, and then created a high-fidelity prototype evaluated by Python users. Our work aims to enhance the debugging process and user engagement.
ISSN:27538826
27538818
DOI:10.54254/2753-8818/43/20240782