mlsanityData to 7 Oct 2026

A Study on the Impact of Fault localization Granularity for Repository-Scale Code Repair Tasks

arXiv 2604.00167 ↗First posted 31 Mar 2026cs.SE cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Automatic program repair can be a challenging task, especially when resolving complex issues at a repository-level, which often involves issue reproduction, fault localization, code repair, testing and validation. Issues of this scale can be commonly found in popular GitHub repositories or datasets that are derived from them. Some repository-level approaches separate localization and repair into distinct phases. Where this is the case, the fault localization approaches vary in terms of the granularity of localization. Where the impact of granularity is explored to some degree for smaller datasets, not all isolate this issue from the separate question of localization accuracy by testing code repair under the assumption of perfect fault localization. To the best of the authors' knowledge, no repository-scale studies have explicitly investigated granularity under this assumption, nor conducted a systematic empirical comparison of granularity levels in isolation. We propose a framework for performing such tests by modifying the localization phase of the Agentless framework to retrieve ground-truth localization data and include this as context in the prompt fed to the repair phase. We show that under this configuration and as a generalization over the SWE-Bench-Mini dataset, function-level granularity yields the highest repair rate against line-level and file-level. However, a deeper dive suggests that the ideal granularity may in fact be task dependent. This study is not intended to improve on the state-of-the-art, nor do we intend for results to be compared against any complete agentic frameworks. Rather, we present a proof of concept for investigating how fault localization may impact automatic code repair in repository-scale scenarios. We present preliminary findings to this end and encourage further research into this relationship between the two phases.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 28 of its 45 references that are in the map. First posted on arXiv 31 Mar 2026.

Builds on

28 of 45 references.

References · 28

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  3. 2021Program Synthesis with Large Language Modelscited by 3,509
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  6. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  7. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
  8. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  9. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
  10. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
  11. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 246
  12. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
16 more
  1. 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 196
  2. 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolutioncited by 132
  3. 2024HELMET: How to Evaluate Long-Context Language Models Effectively and Thoroughlycited by 119
  4. 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 89
  5. 2024CodeRAG-Bench: Can Retrieval Augment Code Generation?cited by 89
  6. 2024MarsCode Agent: AI-native Automated Bug Fixingcited by 68
  7. 2024MASAI: Modular Architecture for Software-engineering AI Agentscited by 49
  8. 2023RAP-Gen: Retrieval-Augmented Patch Generation with CodeT5 for Automatic Program Repaircited by 43
  9. 2024Number Cookbook: Number Understanding of Language Models and How to Improve Itcited by 41
  10. 2025LongCodeBench: Evaluating Coding LLMs at 1M Context Windowscited by 37
  11. 2025A Survey of LLM-based Automated Program Repair: Taxonomies, Design Paradigms, and Applicationscited by 24
  12. 2018You Cannot Fix What You Cannot Find! An Investigation of Fault Localization Bias in Benchmarking Automated Program Repair Systemscited by 13
  13. 2025CodeRAG: Finding Relevant and Necessary Knowledge for Retrieval-Augmented Repository-Level Code Completioncited by 12
  14. 2025Emulating Retrieval Augmented Generation via Prompt Engineering for Enhanced Long Context Comprehension in LLMscited by 9
  15. 2024An Exploratory Study on Fine-Tuning Large Language Models for Secure Code Generationcited by 8
  16. 2025Risk Assessment Framework for Code LLMs via Leveraging Internal Statescited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026ARISE: A Repository-level Graph Representation and Toolset for Agentic Program Repair and Fault Localization
  2. 2026RGFL: Reasoning Guided Fault Localization for Automated Program Repair Using Large Language Models
  3. 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency
  4. 2026EffiHolmes: Differential Profiling-Guided Repository Level Time Inefficiency Fix Localization ↗
  5. 2026BLAgent: Agentic RAG for File-Level Bug Localization
  6. 2025Enhancing repository-level software repair via repository-aware knowledge graphs
  7. 2025Assessing the Impact of Code Changes on the Fault Localizability of Large Language Models
  8. 2025Large Language Models for Fault Localization: An Empirical Study ↗