Enhancing Automated Program Repair with Solution Design
Jiuang Zhao, Donghao Yang, Li Zhang, Xiaoli Lian, Zitian Yang, Fang, Liu

TL;DR
This paper introduces DRCodePilot, a novel approach that leverages solution design rationales from issue logs to significantly improve automated program repair using GPT-4, demonstrating substantial performance gains on a new benchmark.
Contribution
The paper proposes DRCodePilot, integrating design rationales into GPT-4-based APR and implementing a feedback framework, advancing the effectiveness of automated bug fixing.
Findings
DRCodePilot achieves 4.7x higher full-match ratio than GPT-4 alone.
Incorporating design rationales improves repair accuracy across multiple GPT models.
The approach enhances CodeBLEU scores, indicating better code quality.
Abstract
Automatic Program Repair (APR) endeavors to autonomously rectify issues within specific projects, which generally encompasses three categories of tasks: bug resolution, new feature development, and feature enhancement. Despite extensive research proposing various methodologies, their efficacy in addressing real issues remains unsatisfactory. It's worth noting that, typically, engineers have design rationales (DR) on solution-planed solutions and a set of underlying reasons-before they start patching code. In open-source projects, these DRs are frequently captured in issue logs through project management tools like Jira. This raises a compelling question: How can we leverage DR scattered across the issue logs to efficiently enhance APR? To investigate this premise, we introduce DRCodePilot, an approach designed to augment GPT-4-Turbo's APR capabilities by incorporating DR into the prompt…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Radiation Effects in Electronics · Advanced Data Storage Technologies
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · 15 Ways to Contact How can i speak to someone at Delta Airlines · Attention Is All You Need · Sparse Evolutionary Training · Cosine Annealing · Adam · Weight Decay · Position-Wise Feed-Forward Layer · Dense Connections · Byte Pair Encoding
