Inquest: Log-Guided Root-Cause Code Localization with a Staged Agent
Not on the map. Why?
Abstract (arXiv)
When a production issue is reported, engineers get a description and some logs, but no failing test and no way to reproduce the fault. The logs show where the failure was noticed, not where it was caused: in 49% of the real reports we study, the text names none of the files that the fix later changed. We built a benchmark for this setting from two public datasets and 27 open-source projects (Apache, Red Hat, MongoDB, MariaDB, Qt and Sakai). It holds 38,001 resolved issue reports with their pasted logs, the code as it was while the bug was still present, and the files the fix changed. We present INQUEST, an agent that finds the faulty code using a 27B open-weights model. Code, not the model, controls the procedure. It first gathers the evidence, including the files fixed in similar past issues that were resolved before the report was filed. The model then makes only three bounded decisions: which files to open, what role each file plays in the failure, and how to rank them. On 26,544 evaluation reports, INQUEST ranks a changed file first for 68.6% and in the top five for 85.9%, names the correct module for 90.2%, and ranks a changed function first for 53.8%. On the reports that name no faulty file, it reaches 52.8% and 73.6%. A free agent loop with the same model and tools finds files equally well, but names the faulty function 14 points less often. On a 1,000-report sample, INQUEST beats our reimplementations of two published agents by 7 and 20 points of top-1 accuracy (4 and 16 counting only the reports those agents answered), and the same model used as a re-ranker by 6. We report the cost of every system and the results that go against us, and we release the benchmark, both systems and every run transcript.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 17 of its 28 references that are in the map. Submitted 14 Nov 2026.
Builds on
17 of 28 references.
References · 17
- 2024SWE-Bench+: Enhanced Coding Benchmark for LLMscited by 119
- 2025LocAgent: Graph-Guided LLM Agents for Code Localizationcited by 99
- 2023Automatic Root Cause Analysis via Large Language Models for Cloud Incidentscited by 91
- 2023RCAgent: Cloud Root Cause Analysis by Autonomous Agents with Tool-Augmented Large Language Modelscited by 71
- 2025The SWE-Bench Illusion: When State-of-the-Art LLMs Remember Instead of Reasoncited by 64
- 2025OrcaLoca: An LLM Agent Framework for Software Issue Localizationcited by 54
- 2023Recommending Root-Cause and Mitigation Steps for Cloud Incidents using Large Language Modelscited by 40
- 2025Issue Localization via LLM-Driven Iterative Code Graph Searchingcited by 27
- 2024A Multi-Agent Approach to Fault Localization via Graph-Based Retrieval and Reflexioncited by 10
- 2024BLAZE: Cross-Language and Cross-Project Bug Localization via Dynamic Chunking and Hard Example Learningcited by 8
- 2025When Deep Learning Meets Information Retrieval-based Bug Localization: A Surveycited by 7
- 2025A Benchmark for Localizing Code and Non-Code Issues in Software Projectscited by 7
5 more
- 2022An Alternative Issue Tracking Dataset of Public Jira Repositoriescited by 4
- 2024SBEST: Spectrum-Based Fault Localization Without Fault-Triggering Testscited by 3
- 2025Towards Explorative IRBL: Combining Semantic Retrieval with LLM-driven Iterative Code Explorationcited by 3
- 2021Broccoli: Bug localization with the help of text search enginescited by 1
- 2026An Extensive Replication Study of the ABLoTS Approach for Bug Localizationcited by 1
Built on by
Not cited yet.