mlsanityData to 7 Oct 2026

Enhancing repository-level software repair via repository-aware knowledge graphs

arXiv 2503.21710 ↗First posted 27 Mar 2025cs.SEcited by 26

Not on the map. Why?

Abstract (arXiv)

Repository-level software repair faces challenges in bridging semantic gaps between issue descriptions and code patches. Existing approaches, which primarily rely on large language models (LLMs), are hindered by semantic ambiguities, limited understanding of structural context, and insufficient reasoning capabilities. To address these limitations, we propose KGCompass with two innovations: (1) a novel repository-aware knowledge graph (KG) that accurately links repository artifacts (issues and pull requests) and codebase entities (files, classes, and functions), allowing us to effectively narrow down the vast search space to only 20 most relevant functions with accurate candidate fault locations and contextual information, and (2) a path-guided repair mechanism that leverages KG-mined entity paths, tracing through which allows us to augment LLMs with relevant contextual information to generate precise patches along with their explanations. Experimental results in the SWE-bench Lite demonstrate that KGCompass achieves state-of-the-art single-LLM repair performance (58.3%) and function-level fault location accuracy (56.0%) across open-source approaches with a single repair model, costing only 0.2 per repair. Among the bugs that KGCompass successfully localizes, 89.7% lack explicit location hints in the issue and are found only through multi-hop graph traversal, where pure LLMs struggle to locate bugs accurately. Relative to pure-LLM baselines, KGCompass lifts the resolved rate by 50.8% on Claude-4 Sonnet, 30.2% on Claude-3.5 Sonnet, 115.7% on DeepSeek-V3, and 156.4% on Qwen2.5 Max. These consistent improvements demonstrate that this graph-guided repair framework delivers model-agnostic, cost-efficient repair and sets a strong new baseline for repository-level repair.

Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). First posted on arXiv 27 Mar 2025.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 14; 2026: 12.

26 papers.

Sort:

By area:

  1. 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolutioncited by 52
  2. 2025Retrieval-Augmented Code Generation: A Survey with Focus on Repository-Level Approachescited by 20
  3. 2025SWE-Effi: Re-Evaluating Software AI Agent System Effectiveness Under Resource Constraintscited by 17
  4. 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
  5. 2026SGAgent: Suggestion-Guided LLM-Based Multi-Agent Framework for Repository-Level Software Repaircited by 9
  6. 2025A Taxonomy of Prompt Defects in LLM Systemscited by 7
  7. 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolutioncited by 7
  8. 2025SWE-Factory: Your Automated Factory for Issue Resolution Training Data and Evaluation Benchmarkscited by 6
  9. 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
  10. 2026Codebase-Memory: Tree-Sitter-Based Knowledge Graphs for LLM Code Exploration via MCPcited by 6
  11. 2025How Safe Are AI-Generated Patches? A Large-scale Study on Security Risks in LLM and Agentic Automated Program Repair on SWE-benchcited by 5
  12. 2026RGFL: Reasoning Guided Fault Localization for Automated Program Repair Using Large Language Modelscited by 5
14 more
  1. 2025GraphLocator: Graph-guided Causal Reasoning for Issue Localizationcited by 4
  2. 2026From Historical Patches to Repair Plans: Outcome-Conditioned Reasoning for Repository-Level Program Repaircited by 2
  3. 2026ARISE: A Repository-level Graph Representation and Toolset for Agentic Program Repair and Fault Localizationcited by 2
  4. 2025From Empirical Evaluation to Context-Aware Enhancement: Repairing Regression Errors with LLMscited by 1
  5. 2025Collaborative Agents for Automated Program Repair in Rubycited by 1
  6. 2025BackportBench: A Multilingual Benchmark for Automated Backporting of Patchescited by 1
  7. 2026Is Agentic AI Ready for Real-World Hardware Engineering? A Deep Dive with Phoenix-benchcited by 1
  8. 2026RepoRescue: An Empirical Study of LLM Agents on Whole-Repository Compatibility Rescuecited by 1
  9. 2026ContextSniper: AntTrail's Token-Efficient Code Memory for Repository-Level Program Repaircited by 1
  10. 2026Engineering Reliable Coding Agents: Evaluating and Operating the System Around the Modelcited by 1
  11. 2025Autonomous Issue Resolver: Towards Zero-Touch Code Maintenancecited by 0
  12. 2026Context-Augmented Code Generation Using Programming Knowledge Graphscited by 0
  13. 2026Beyond Textual Repository Exploration: Dual-Modal Structural Reasoning for Agentic Issue Resolutioncited by 0
  14. 2026XAgent: eXecution-guided Agentic AI for Effective Localization and Resolution of GitHub Issuescited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Know Before Fix: QA-Driven Repository Knowledge Acquisition for Software Issue Resolution
  2. 2025HAFixAgent: History-Aware Program Repair Agent
  3. 2025REFINE: Enhancing Program Repair Agents through Context-Aware Patch Refinement
  4. 2025T3: Multi-level Tree-based Automatic Program Repair with Large Language Models
  5. 2026A Study on the Impact of Fault localization Granularity for Repository-Scale Code Repair Tasks
  6. 2023RAP-Gen: Retrieval-Augmented Patch Generation with CodeT5 for Automatic Program Repair
  7. 2026SCPatcher: Automated Smart Contract Code Repair via Retrieval-Augmented Generation and Knowledge Graph
  8. 2025Extracting Conceptual Knowledge to Locate Software Issues