TL;DR
Existing software issue localization benchmarks oversimplify real-world development by focusing almost exclusively on code changes within pull requests. To bridge this gap, the authors introduce MULocBench, a diverse benchmark of 1,100 issues that includes non-code artifacts like configurations and documentation, as well as resolutions found in commits and comments. Evaluation reveals a stark reality check: state-of-the-art localization methods and LLMs that excel on older benchmarks see their performance plummet to below 40% accuracy on this more realistic dataset.
What Problem Does This Paper Address?
When a developer (or an AI agent) tackles a software bug or feature request, the crucial first step is issue localization—finding exactly which files, classes, or functions need to change.
While benchmarks like SWE-Bench have driven massive progress in LLM-based software engineering, they suffer from tunnel vision. They assume all issues are clean programming bugs resolved via a Pull Request (PR) to source code. In reality, software maintenance is messy. Issues are frequently resolved directly via commits or explained textually in comments. Furthermore, fixing an issue often requires modifying non-code files, such as updating a requirements.txt configuration, tweaking documentation, or addressing an external third-party library dependency.
By ignoring these non-code components and alternative resolution pathways, existing benchmarks create an artificial environment where AI tools appear more capable than they actually are in production.
Methods
The authors constructed a three-stage pipeline to build MULocBench:
- Issue Selection: They sampled 200 issues each from the top 50 most-starred GitHub Python projects to ensure domain diversity.
- Issue Filtering: They filtered for closed, successfully resolved issues that contained verifiable location data across three signals: merged PRs, direct commits, or explicit developer comments confirming a fix.
- Location Extraction: They automatically parsed patches from PRs and commits, and manually extracted and verified fine-grained locations (down to line numbers) from resolution comments.
To evaluate current capabilities on this dataset, they tested two paradigms:
- State-of-the-Art (SOTA) Software Agents: They deployed retrieval-based (BM25), procedure-based (Agentless), and agentic frameworks (LocAgent, OpenHands) on the Python-only subset of the data.
- LLM Prompting Strategies: They designed five distinct prompting strategies (ranging from "Closed-Book" to "Location-Hint Guided" pipelines) using GPT-4o-mini and Claude 3.5 Haiku to see how well LLMs navigate the full, multi-file-type dataset.
Datasets
The paper introduces MULocBench, consisting of 1,100 issues from 46 popular GitHub Python projects.
The authors systematically compare MULocBench against SWE-Bench Lite (300 issues) and LocBench (550 issues). As shown in the paper's analysis, MULocBench drastically expands diversity across four dimensions: issue types (adding usage questions), root causes (including user-induced errors), location scopes (including third-party and runtime-generated files), and location types (incorporating documentation, configurations, and assets).
Key Insights and Ideas
- The "Generality Gap": AI agents are heavily overfitted to existing benchmarks. Frameworks like LocAgent achieve over 80% Top-5 accuracy (Acc@5) on SWE-Bench Lite, but their performance drops by more than half when faced with the real-world distributions in MULocBench.
- The Power of Hints: For LLMs navigating massive codebases, providing a simple "Location Hint" (e.g., telling the model whether the fix belongs in a configuration file or source code) yields the highest performance gains, outperforming complex multi-stage pipeline architectures.
- Abstract Issues are Harder to Find but Easier to Pinpoint: Design deficiencies and enhancement requests are inherently abstract, making them difficult for models to locate initially (low recall). However, when a model does guess a location for these issues, its predictions are highly precise.
Key Results
- SOTA Agents on Code-Only Files: On the Python-only subset (842 issues), the best-performing agents (LocAgent and OpenHands paired with Claude 3.5) maxed out at a modest 35.2% Acc@5 at the file level. Performance degraded even further at finer granularities, dropping to 28.5% at the class level and 22.0% at the function level.
- LLMs on the Full Dataset: When evaluating the full benchmark (including non-code files), the "Location-Hint" strategy with Claude 3.5 achieved the best overall results, but still only reached 32.5% Acc@5 at the file level and a meager 13.1% Acc@5 at the function level.
- The Non-Code Struggle: LLMs performed reasonably well on code and configuration files but struggled significantly with documentation and asset files. Crucially, all models scored 0% across all metrics for third-party files, proving that current AI localization completely fails when an issue stems from an external dependency.
Limitations and Future Work
The authors note that current SOTA localization techniques are fundamentally constrained by their design—they are built to analyze single-language, in-project source code. When an issue requires looking at environment files, runtime-generated files, or external libraries, these systems lack the necessary context.
Future work must move away from purely code-centric architectures. To solve realistic issues, next-generation localization tools need the ability to reason across heterogeneous file types, parse informal developer discussions, and map dependencies that live entirely outside the main project repository.
Summary updated