Paper published in a book (Scientific congresses, symposiums and conference proceedings)
CREF: An LLM-Based Conversational Software Repair Framework for Programming Tutors
Yang, Boyang; Tian, Haoye; PIAN, Weiguo et al.
2024In Christakis, Maria (Ed.) ISSTA 2024 - Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis
Peer reviewed
 

Files


Full Text
2024-ISSTA-CREF.pdf
Author postprint (1.44 MB)
Download

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
Large Language Model; Open Source; Program Repair; Language model; Large language model; Model training; Model-based OPC; Open-source; Performance; Program repair; Programming tutors; Software repair; Training data; Computational Theory and Mathematics; Computer Science Applications; Software
Abstract :
[en] With the proven effectiveness of Large Language Models (LLMs) in code-related tasks, researchers have explored their potential for program repair. However, existing repair benchmarks might have influenced LLM training data, potentially causing data leakage. To evaluate LLMs' realistic repair capabilities, (i) we introduce an extensive, non-crawled benchmark TutorCode, comprising 1,239 C++ defect codes and associated information such as tutor guidance, solution description, failing test cases, and the corrected code. Our work assesses LLM's repair performance on TutorCode, measuring repair correctness (TOP-5 and AVG-5) and patch precision (RPSR). (ii) We then provide a comprehensive investigation into which types of extra information can help LLMs improve their repair performance. Among these types, tutor guidance was the most effective information. To fully harness LLMs' conversational capabilities and the benefits of augmented information, (iii) we introduce a novel conversational semi-automatic repair framework CREF assisting human programming tutors. It demonstrates a remarkable AVG-5 improvement of 17.2%-24.6% compared to the baseline, achieving an impressive AVG-5 of 76.6% when utilizing GPT-4. These results highlight the potential for enhancing LLMs' repair capabilities through tutor interactions and historical conversations. The successful application of CREF in a real-world educational setting demonstrates its effectiveness in reducing tutors' workload and improving students' learning experience, showing promise for code review and other software engineering tasks.
Disciplines :
Computer science
Author, co-author :
Yang, Boyang ;  School of Information Science and Engineering, Yanshan University, China ; Jisuan Institute of Technology, Beijing JudaoYouda Network Tech. Co. Ltd., China
Tian, Haoye ;  Cis, University of Melbourne, Australia
PIAN, Weiguo  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > TruX
Yu, Haoran ;  Jisuan Institute of Technology, Beijing JudaoYouda Network Tech. Co. Ltd., China
Wang, Haitao ;  Jisuan Institute of Technology, Beijing JudaoYouda Network Tech. Co. Ltd., China
KLEIN, Jacques  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > TruX
BISSYANDE, Tegawendé François d Assise  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > TruX
Jin, Shunfu ;  School of Information Science and Engineering, Yanshan University, China
External co-authors :
yes
Language :
English
Title :
CREF: An LLM-Based Conversational Software Repair Framework for Programming Tutors
Publication date :
11 September 2024
Event name :
Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis
Event place :
Vienna, Austria
Event date :
16-09-2024 => 20-09-2024
Audience :
International
Main work title :
ISSTA 2024 - Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis
Editor :
Christakis, Maria
Publisher :
Association for Computing Machinery, Inc
ISBN/EAN :
9798400706127
Pages :
882-894
Peer reviewed :
Peer reviewed
European Projects :
H2020 - 949014 - NATURAL - Natural Program Repair
Funders :
European Union
Funding text :
This work has been partly supported by the National Natural Science Foundation (Grant Numbers 62273292 and 62276226), China; by the Innovation Capability Improvement Plan Project of Hebei Province (Grant Number 22567626H), China. This work has also been partly supported by the NATURAL project, which has received funding from the European Research Council under the European Union's Horizon 2020 research and innovation program (grant No. 949014).
Available on ORBilu :
since 16 December 2024

Statistics


Number of views
106 (0 by Unilu)
Number of downloads
26 (0 by Unilu)

Scopus citations®
 
11
Scopus citations®
without self-citations
10
OpenCitations
 
0
OpenAlex citations
 
16

Bibliography


Similar publications



Contact ORBilu