CuraLoc: Repository-Level Fault Localization via Planned Code Inspection
Not on the map. Why?
Abstract (arXiv)
A bug report describes what went wrong, but rarely where the code should change. Existing repository-level localization methods often let language models iteratively decide what code to inspect next, requiring repeated model calls and substantial token usage. We investigate whether these inspection decisions can instead be planned before source retrieval. In this research, we introduce CuraLoc, which first selects candidate files and represents their symbols using compact behavioral and structural descriptions. In a single planning decision, the model jointly selects starting symbols, chooses code relationships to inspect from each, and forms hypotheses about likely edits. Deterministic retrieval collects the requested source for a final ranking informed by those hypotheses, concentrating model reasoning on choosing and comparing code rather than directing each retrieval step. We demonstrate the efficacy of our proposed approach on the SWE-Bench Lite and Verified datasets. On SWE Bench Verified with GPT-5.2, CuraLoc raises Func@1 from LocAgent's 53.8% to 59.3% while using 90.3% fewer recorded tokens, and also outperforms RepoSearcher (56.2%) and Agentless (39.6%) on Func@1. On SWE-bench Lite, CuraLoc achieves a high 83.8% Func@5 accuracy improving on Agentless by more than 15% in relative accuracy. Additionally, CuraLoc supports different model backbones, with strong localization accuracy demonstrated using both GPT-5.2 and GPT-6 Astra. These results provide evidence that repository-level code inspection can be planned effectively without iterative model-controlled navigation.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 11 of its 17 references that are in the map. Submitted 22 Oct 2026.
Builds on
11 of 17 references.
References · 11
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,872
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
- 2024AutoCodeRover: Autonomous Program Improvementcited by 303
- 2023An LLM Compiler for Parallel Function Callingcited by 217
- 2023ReWOO: Decoupling Reasoning from Observations for Efficient Augmented Language Modelscited by 208
- 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 104
- 2025LocAgent: Graph-Guided LLM Agents for Code Localizationcited by 99
- 2025OrcaLoca: An LLM Agent Framework for Software Issue Localizationcited by 54
- 2025Tool-integrated Reinforcement Learning for Repo Deep Searchcited by 20
- 2026RGFL: Reasoning Guided Fault Localization for Automated Program Repair Using Large Language Modelscited by 7
Built on by
Not cited yet.