mlsanityData to 7 Oct 2026

Evaluating Name-Only Directory Routing for One-Shot Code Search

arXiv 2609.35918 ↗First posted 28 Sep 2026cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Finding the right files is an early challenge for coding agents. We test whether a language model can follow directory and file names to find annotated code files missed by fixed lexical queries. Across 82 audited issues from 11 repositories at pinned pre-fix commits, name-only directory routing recovered 0.465 of gold files within eight candidates, compared with 0.352 for FTS5 and 0.245 for a fixed full-issue rg query. The paired gain over FTS5 was 0.113 (95% repository-cluster bootstrap interval, 0.053 to 0.168). Under a shared 16K-token context budget, routing delivered 0.443 of annotated lines versus 0.246 for FTS5 on 55 cases with fully aligned annotations. At the same eight-file limit, combining routing with FTS5 reached 0.491 file recall, but its gain over routing alone was uncertain. An exploratory flat path control reached 0.572 recall while using 24.6 model calls per issue, compared with 8.9 for routing. Routing averaged 8.9 seconds per issue; FTS5 took 7 milliseconds per query after a 0.9-second build. On this cohort, directory routing added relevant file candidates to one-shot lexical search, but the study cannot attribute the gain to hierarchy or show that it improves issue resolution.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 4 of its 7 references that are in the map. First posted on arXiv 28 Sep 2026.

Builds on

4 of 7 references.

References · 4

  1. 2025LocAgent: Graph-Guided LLM Agents for Code Localizationcited by 82
  2. 2026ContextBench: A Benchmark for Context Retrieval in Coding Agentscited by 23
  3. 2026Better Call Grep: Evaluating and Improving Grep-Like Lexical Retrieval for Repository-Level Code Completioncited by 4
  4. 2025Repository-Aware File Path Retrieval via Fine-Tuned LLMscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Scrouting: Cost-Aware Routing of Coding Agents by Scouting the Repository First
  2. 2025CodeRAG: Finding Relevant and Necessary Knowledge for Retrieval-Augmented Repository-Level Code Completion
  3. 2026RepoNav: From Snippet Retrieval to File-Centered Repository Navigation for Code Agents
  4. 2026LARGER: Lexically Anchored Repository Graph Exploration and Retrieval
  5. 2026Do Not Treat Code as Natural Language: Implications for Repository-Level Code Generation and Beyond
  6. 2025SaraCoder: Orchestrating Semantic and Structural Cues for Resource-Optimized Repository-Level Code Completion
  7. 2025Repository-level Code Search with Neural Retrieval Methods
  8. 2025RANGER -- Repository-Level Agent for Graph-Enhanced Retrieval