The key highlights and insights from the content are:
The authors curated a new dataset called Defects4DS, which contains 682 submissions from 4 programming assignments of a higher-level programming course. The dataset features programs with increased complexity, longer lengths, and a variety of structures compared to introductory programming assignment datasets.
The authors analyzed the characteristics of the Defects4DS dataset and compared it to the ITSP dataset, a widely used introductory programming assignment dataset. The analysis revealed that the bugs in Defects4DS are more challenging to locate and fix due to the presence of complex grammatical components, related bugs, and a higher proportion of variable-related bugs.
To address the challenges in repairing advanced student assignments, the authors proposed the Peer-aided Repairer (PaR) framework. PaR works in three phases: Peer Solution Selection, Multi-Source Prompt Generation, and Program Repair.
The evaluation on Defects4DS and the ITSP dataset shows that PaR achieves a new state-of-the-art performance, demonstrating impressive improvements of 19.94% and 15.2% in repair rate compared to prior state-of-the-art LLM- and symbolic-based approaches, respectively.
In un'altra lingua
dal contenuto originale
arxiv.org
Approfondimenti chiave tratti da
by Qianhui Zhao... alle arxiv.org 04-03-2024
https://arxiv.org/pdf/2404.01754.pdfDomande più approfondite