You Cannot Fix What You Cannot Find! An Investigation of Fault Localization Bias in Benchmarking Automated Program Repair Systems
Not on the map. Why?
Abstract (arXiv)
Properly benchmarking Automated Program Repair (APR) systems should contribute to the development and adoption of the research outputs by practitioners. To that end, the research community must ensure that it reaches significant milestones by reliably comparing state-of-the-art tools for a better understanding of their strengths and weaknesses. In this work, we identify and investigate a practical bias caused by the fault localization (FL) step in a repair pipeline. We propose to highlight the different fault localization configurations used in the literature, and their impact on APR systems when applied to the Defects4J benchmark. Then, we explore the performance variations that can be achieved by `tweaking' the FL step. Eventually, we expect to create a new momentum for (1) full disclosure of APR experimental procedures with respect to FL, (2) realistic expectations of repairing bugs in Defects4J, as well as (3) reliable performance comparison among the state-of-the-art APR systems, and against the baseline performance results of our thoroughly assessed kPAR repair tool. Our main findings include: (a) only a subset of Defects4J bugs can be currently localized by commonly-used FL techniques; (b) current practice of comparing state-of-the-art APR systems (i.e., counting the number of fixed bugs) is potentially misleading due to the bias of FL configurations; and (c) APR authors do not properly qualify their performance achievement with respect to the different tuning parameters implemented in APR systems.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). First posted on arXiv 18 Dec 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 1; 2023: 0; 2024: 4; 2025: 1; 2026: 5.
13 papers.
Sort:
By area:
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 86
- 2024Aligning the Objective of LLM-based Program Repaircited by 12
- 2024Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugscited by 7
- 2026Phantom Guardrails: When Self-Improving Agent Harnesses Fix Failures That Never Happenedcited by 7
- 2024Towards Reliable Evaluation of Neural Program Repair with Natural Robustness Testingcited by 5
- 2021Predicting Patch Correctness Based on the Similarity of Failing Test Casescited by 4
- 2026On the Role of Fault Localization Context for LLM-Based Program Repaircited by 3
- 2024CFaults: Model-Based Diagnosis for Fault Localization in C Programs with Multiple Test Casescited by 1
- 2026A Study on the Impact of Fault localization Granularity for Repository-Scale Code Repair Taskscited by 1
- 2026RAVEN: Agentic RAG for Automated Vulnerability Repaircited by 1
- 2022BigIssue: A Realistic Bug Localization Benchmarkcited by 0
- 2025Model-Based Diagnosis with Multiple Observations: A Unified Approach for C Software and Boolean Circuitscited by 0
- 2026How Do LLMs Read Bug Reports? An Empirical Study of Attention in LLMs for Automated Program Repair28 Jul 2026
- 2026Phantom Guardrails: When Self-Improving Agent Harnesses Fix Failures That Never Happened13 Jul 2026
- 2026RAVEN: Agentic RAG for Automated Vulnerability Repair21 Jun 2026
- 2026On the Role of Fault Localization Context for LLM-Based Program Repair7 Apr 2026
- 2026A Study on the Impact of Fault localization Granularity for Repository-Scale Code Repair Tasks31 Mar 2026
- 2025Model-Based Diagnosis with Multiple Observations: A Unified Approach for C Software and Boolean Circuits2 Dec 2025
- 2024Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugs16 Sep 2024
- 2024CFaults: Model-Based Diagnosis for Fault Localization in C Programs with Multiple Test Cases12 Jul 2024
- 2024Aligning the Objective of LLM-based Program Repair13 Apr 2024
- 2024Towards Reliable Evaluation of Neural Program Repair with Natural Robustness Testing19 Feb 2024
- 2022BigIssue: A Realistic Bug Localization Benchmark21 Jul 2022
- 2021Predicting Patch Correctness Based on the Similarity of Failing Test Cases28 Jul 2021
1 more
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 86
- 2024Aligning the Objective of LLM-based Program Repaircited by 12
- 2024Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugscited by 7
- 2024Towards Reliable Evaluation of Neural Program Repair with Natural Robustness Testingcited by 5
- 2021Predicting Patch Correctness Based on the Similarity of Failing Test Casescited by 4
- 2026On the Role of Fault Localization Context for LLM-Based Program Repaircited by 3
- 2024CFaults: Model-Based Diagnosis for Fault Localization in C Programs with Multiple Test Casescited by 1
- 2026A Study on the Impact of Fault localization Granularity for Repository-Scale Code Repair Taskscited by 1
- 2022BigIssue: A Realistic Bug Localization Benchmarkcited by 0
- 2025Model-Based Diagnosis with Multiple Observations: A Unified Approach for C Software and Boolean Circuitscited by 0
- 2026How Do LLMs Read Bug Reports? An Empirical Study of Attention in LLMs for Automated Program Repaircited by 0
- 2026How Do LLMs Read Bug Reports? An Empirical Study of Attention in LLMs for Automated Program Repair28 Jul 2026
- 2026On the Role of Fault Localization Context for LLM-Based Program Repair7 Apr 2026
- 2026A Study on the Impact of Fault localization Granularity for Repository-Scale Code Repair Tasks31 Mar 2026
- 2025Model-Based Diagnosis with Multiple Observations: A Unified Approach for C Software and Boolean Circuits2 Dec 2025
- 2024Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugs16 Sep 2024
- 2024CFaults: Model-Based Diagnosis for Fault Localization in C Programs with Multiple Test Cases12 Jul 2024
- 2024Aligning the Objective of LLM-based Program Repair13 Apr 2024
- 2024Towards Reliable Evaluation of Neural Program Repair with Natural Robustness Testing19 Feb 2024
- 2022BigIssue: A Realistic Bug Localization Benchmark21 Jul 2022
- 2021Predicting Patch Correctness Based on the Similarity of Failing Test Cases28 Jul 2021
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repair26 Feb 2021