Semantic Navigation for Issue Localization in Code Repository
cs.AI
Submitted: 2026-09-25
Updated: 2026-09-25
Project page: https://microsoft.github.io/pyright
License: http://creativecommons.org/licenses/by/4.0/
The gist: Repository-level issue localization aims to identify and rank the files and functions relevant to resolving a reported issue.
Terminology
Abstract
Repository-level issue localization aims to identify and rank the files and functions relevant to resolving a reported issue. LLM agents approach this task iteratively: they identify a set of potentially relevant locations, inspect the corresponding code, and revise their judgments about these candidates as new evidence is acquired. Existing environments, however, provide limited support for this loop: agents must search for unresolved relation targets, reconstruct entity semantics from raw source code, and revise candidates without evidential basis. To address these limitations, we present SemNav, a framework that leverages deterministic retrieval to seed a broad candidate set and an LLM agent to continually refine that set, thereby combining initial coverage with evidence-guided revision. SemNav supports this process through three key components. A Semantic Navigation Graph resolves program relations on demand through a language server, enabling direct navigation to related entities across files. Issue-conditioned Semantic Cards provide compact, source-grounded interpretations of each entity's role and relevance to the issue. A persistent Candidate Workspace records each candidate together with its evidential basis, enabling grounded verification, revision, and ranking. Across SWE-bench Lite and PLocBench, SemNav outperforms existing baselines, improving File Hit@10 from 68.33% to 82.67% with Gemma 4B. Component ablations and trajectory analysis support the complementary roles of all three components, while Semantic Cards reduce working-context load by 48.2% relative to full-source reading. SemNav further ranks first on all seven evidence-quality metrics on SWE-Explore and improves downstream issue resolution from 44.00% to 52.33%.
Sources
- REPOFUSE: Repository-Level Code Completion with Fused Dual Context
- Tool-integrated Reinforcement Learning for Repo Deep Search
- SweRank: Software Issue Localization with Code Ranking
- CodeScout: An Effective Recipe for Reinforcement Learning of Code Search Agents
- Extracting Conceptual Knowledge to Locate Software Issues
- OrcaLoca: An LLM Agent Framework for Software Issue Localization
- SWE-Explore: Benchmarking How Coding Agents Explore Repositories
- One Tool Is Enough: Reinforcement Learning for Repository-Level LLM Agents
- A Benchmark for Localizing Code and Non-Code Issues in Software Projects
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems