paper-with-me

홈 › Papers

Agentic Bug Reproduction for Effective Automated Program Repair at Google

2025-02-03 · Runxiang Cheng, Michele Tufano, Jürgen Cito, José Cambronero, Pat Rondon, Renyao Wei, Aaron Sun, Satish Chandra

Bug reports often lack sufficient detail for developers to reproduce and fix the underlying defects. Bug Reproduction Tests (BRTs), tests that fail when the bug is present and pass when it has been resolved, are crucial for debugging, but they are rarely included in bug reports, both in open-source and in industrial settings. Thus, automatically generating BRTs from bug reports has the potential to accelerate the debugging process and lower time to repair. This paper investigates automated BRT generation within an industry setting, specifically at Google, focusing on the challenges of a large-scale, proprietary codebase and considering real-world industry bugs extracted from Google's internal issue tracker. We adapt and evaluate a state-of-the-art BRT generation technique, LIBRO, and present our agent-based approach, BRT Agent, which makes use of a fine-tuned Large Language Model (LLM) for code editing. Our BRT Agent significantly outperforms LIBRO, achieving a 28% plausible BRT generation rate, compared to 10% by LIBRO, on 80 human-reported bugs from Google's internal issue tracker. We further investigate the practical value of generated BRTs by integrating them with an Automated Program Repair (APR) system at Google. Our results show that providing BRTs to the APR system results in 30% more bugs with plausible fixes. Additionally, we introduce Ensemble Pass Rate (EPR), a metric which leverages the generated BRTs to select the most promising fixes from all fixes generated by APR system. Our evaluation on EPR for Top-K and threshold-based fix selections demonstrates promising results and trade-offs. For example, EPR correctly selects a plausible fix from a pool of 20 candidates in 70% of cases, based on its top-1 ranking.

📄 PDF Abstract BibTeX arXiv:2502.01821

Code (0)

등록된 구현이 없습니다.

Tasks

Large Language ModelProgram Repair

Similar Papers 제목 키워드 기반

Dynamic Cogeneration of Bug Reproduction Test in Agentic Program Repair

2026-01-27 · Runxiang Cheng, Michele Tufano, José Cambronero, Renyao Wei 외 arxiv

Bug Reproduction Tests (BRTs) have been used in many Automated Program Repair (APR) systems, primarily for validating promising fixes and aiding fix generation. In practice, when developers submit a patch, they often imp…

Program Repair

RAVEN: Agentic RAG for Automated Vulnerability Repair

2026-06-21 · Varun Gadey, Zijie Liu, Alexandra Dmitrienko arxiv

Automated vulnerability repair has emerged as a promising direction to mitigate the growing number of software vulnerabilities. Recent advances in Large Language Models (LLMs) have further accelerated research in automat…

Multi-Perspective Agentic Program Repair via Code Property Graphs and Temporal Execution Graphs

2026-07-14 · Zhili Huang, Ling Xu, Hongyu Zhang arxiv

Large language models (LLMs) have improved automated program repair (APR), but two limitations remain. First, raw execution traces are often too large and repetitive to serve as effective model context. Second, repeated …

Program Repair

TraceView: Interactive Visualization of Agentic Program Repair Trajectories

2026-06-20 · Amirali Sajadi, Tu Nguyen, Kimmie Huynh, Esteban Parra 외 arxiv

LLM-based automated program repair (APR) agents generate patches to fix software bugs with minimal human intervention. These agents often produce long trajectories of reasoning, tool use, and feedback to produce candidat…

Program Repair

Abstain and Validate: A Dual-LLM Policy for Reducing Noise in Agentic Program Repair

2025-10-03 · José Cambronero, Michele Tufano, Sherry Shi, Renyao Wei 외 arxiv

Agentic Automated Program Repair (APR) is increasingly tackling complex, repository-level bugs in industry, but ultimately these patches still need to be reviewed by a human before committing them to ensure they address …

Program Repair