Towards python program repair with generative pre-trained transformer (GPT-3.5)
Gespeichert in:
| Titel: | Towards python program repair with generative pre-trained transformer (GPT-3.5) |
|---|---|
| Autoren: | Zhi Cao, Qiuyu Ren |
| Quelle: | Theoretical and Natural Science. 43:102-112 |
| Verlagsinformationen: | EWA Publishing, 2024. |
| Publikationsjahr: | 2024 |
| Beschreibung: | 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. |
| Publikationsart: | Article |
| ISSN: | 2753-8826 2753-8818 |
| DOI: | 10.54254/2753-8818/43/20240782 |
| Dokumentencode: | edsair.doi...........b98c59e405a0965a44d6d1285e4dad4b |
| Datenbank: | OpenAIRE |
| Abstract: | 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 |
Nájsť tento článok vo Web of Science