RepoFixEval: A Repository-Level Program Repair Benchmark From Issue Discovering to Bug Fixing
Its authors withdrew this paper, so there is no full text to read or summarize.
Abstract
Automatic Program Repair (APR) aims to automatically fix software bugs, playing an essential role in software development. While current research demonstrates that Large Language Models (LLMs) excel in file-level program repair, their effectiveness in repository-level program repair remains unexplored. Real-world software projects, which often consist of multiple files, present significant challenges for LLMs in identifying bugs and generating fixes due to the intricate project structures. To bridge this gap, we introduce RepoFixEval, a repository-level APR benchmark consisting of 160 real-world bug fixing suites from popular Python projects. RepoFixEval provides the original buggy programs, associated issue reports, corresponding fixes, and unit tests to verify the correctness of each fix. Based on the benchmark, we further propose a three-step evaluation framework for LLM-based APR tools, encompassing (1) discovering issues from execution failures, (2) localizing buggy code segments, and (3) generating code fixes. Experimental results highlight that LLMs struggle with organizing error messages during the issue discovery phase. We find that longer contexts positively affect performance, but only a few LLMs can effectively utilize extended context information at the 128K level. Some open-source LLMs demonstrate competitiveness with closed-source counterparts, yet even the best-performing GPT-4o only resolves 12.3\% of bugs. Our study reveals the capabilities and limitations of 16 LLMs in handling repository-level bugs, providing valuable insights for future research in this field.
BibTeX
@misc{sun2025repofixeval,
author = {Tao Sun and Yang Yang and Xianfu Cheng and Jian Yang and Yintong Huo and Zhuoren Ye and Rubing Yang and Xiangyuan Guan and Wei Zhang and Hangyuan Ji and Changyu Ren and Mengdi Zhang and Xunliang Cai and Zhoujun Li},
title = {{RepoFixEval: A Repository-Level Program Repair Benchmark From Issue Discovering to Bug Fixing}},
year = {2025},
url = {https://openreview.net/forum?id=LaNCeNmoHR},
howpublished = {OpenReview},
note = {Submitted to ICLR 2025},
}Ask Althea to put this paper to the test.