RepoRepair: Leveraging Code Documentation for Repository-Level Automated Program Repair
Not on the map. Why?
Abstract (arXiv)
Automated program repair (APR) struggles to scale from isolated functions to full repositories, as it demands a global, task-aware understanding to locate necessary changes. Current methods, limited by context and reliant on shallow retrieval or costly agent iterations, falter on complex cross-file issues. To this end, we propose RepoRepair, a novel documentation-enhanced approach for repository-level fault localization and program repair. Our core insight is to leverage LLMs to generate hierarchical code documentation (from functions to files) for code repositories, creating structured semantic abstractions that enable LLMs to comprehend repository-level context and dependencies. Specifically, RepoRepair first employs a text-based LLM (e.g., DeepSeek-V3) to generate file/function-level code documentation for repositories, which serves as auxiliary knowledge to guide fault localization. Subsequently, based on the fault localization results and the issue description, a powerful LLM (e.g., Claude-4) attempts to repair the identified suspicious code snippets. Evaluated on SWE-bench Lite, RepoRepair achieves a 45.7% repair rate at a low cost of 0.44 per fix. On SWE-bench Multimodal, it delivers state-of-the-art performance with a 37.1% repair rate despite a higher cost of 0.56 per fix, demonstrating robust and cost-effective performance across diverse problem domains.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 28 of its 50 references that are in the map. First posted on arXiv 1 Mar 2026.
Builds on
28 of 50 references.
References · 28
- 2017Attention Is All You Needcited by 59,932
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
- 2020Unsupervised Translation of Programming Languagescited by 262
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
16 more
- 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 196
- 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinementcited by 124
- 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 90
- 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 89
- 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 82
- 2024SpecRover: Code Intent Extraction via LLMscited by 71
- 2024RepoAgent: An LLM-Powered Open-Source Framework for Repository-level Code Documentation Generationcited by 69
- 2023Large Language Models for Test-Free Fault Localizationcited by 67
- 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
- 2022Automatic Code Documentation Generation Using GPT-3cited by 37
- 2025EXPEREPAIR: Dual-Memory Enhanced LLM-based Repository-Level Program Repaircited by 34
- 2025DARS: Dynamic Action Re-Sampling to Enhance Coding Agent Performance by Adaptive Tree Traversalcited by 20
- 2025DocAgent: A Multi-Agent System for Automated Code Documentation Generationcited by 16
- 2024When Large Language Models Confront Repository-Level Automatic Program Repair: How Well They Done?cited by 12
- 2025Seeing is Fixing: Cross-Modal Reasoning with Multimodal LLMs for Visual Software Issue Fixingcited by 11
- 2023Programming-by-Demonstration for Long-Horizon Robot Taskscited by 9
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026RepoProbe: Benchmarking Architecture-Aware Repository Comprehension with Checklistscited by 2
- 2026SkillForge: Self-Distilling Agents for Project-Specific Issue Resolutioncited by 2
- 2026RepoRescue: An Empirical Study of LLM Agents on Whole-Repository Compatibility Rescuecited by 1
- 2026Signal Reshaping for GRPO in Weak-Feedback Agentic Code Repaircited by 0
- 2026AdaRepair-Mem: Adaptive Experience Orchestration for Repository-Level Program Repaircited by 0
- 2026AdaRepair-Mem: Adaptive Experience Orchestration for Repository-Level Program Repair17 Sep 2026
- 2026SkillForge: Self-Distilling Agents for Project-Specific Issue Resolution19 Aug 2026
- 2026RepoProbe: Benchmarking Architecture-Aware Repository Comprehension with Checklists5 Aug 2026
- 2026RepoRescue: An Empirical Study of LLM Agents on Whole-Repository Compatibility Rescue1 Jul 2026
- 2026Signal Reshaping for GRPO in Weak-Feedback Agentic Code Repair8 May 2026