Reproduce “DeepDebug: Fixing Python Bugs Using Stack Traces, Backtranslation, and Code Skeletons” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Dawn Drain, Colin B. Clement, Guillermo Serrato, Neel Sundaresan
DeepDebug, from Microsoft Cloud and AI, advances automated program repair by integrating backtranslation for synthetic bug generation, code skeletons for broader context, and stack traces for dynamic debugging information. This approach fixed 53% of bugs on the QuixBugs benchmark, up from 33% for the previous best neural method, and reduced false positives from 35% to 5%.
Key insights
- Backtranslation effectively generates realistic synthetic bugs, achieving up to 10% better cross-entropy loss on holdout data compared to models trained only on forward commit data.
- Integrating code skeletons significantly improves context understanding, resulting in a 25% cross-entropy loss decrease compared to using only the focal method.
- Dynamic debugging information from stack traces boosts repair success rates, improving top-1 predictions from 68% to 75% and top-10 from 90% to 97% on their executable test benchmark.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.