aiqbench analysis
This research proposes a novel architecture for repository-level code reasoning that eliminates the need for pre-built relation graphs by materializing connections dynamically during inference. Evaluated on SWE-bench Verified, the two-layer index approach achieves 95.6% success rates while addressing critical limitations like context window constraints and knowledge staleness in large software repositories. This method offers a scalable path forward for integrating deep codebase understanding into AI agents without incurring heavy training costs or maintenance overheads.
The Thousand-Graph Hypothesis: A Testable Hypothesis of Task-Conditioned Relation Materialization in Repository-Level Code Reasoning
arXiv:2608.26602v1 Announce Type: cross Abstract: Large software repositories are often beyond model context limits. Training repository knowledge into models is costly and quickly stale, while local retrieval can miss scattered requirements, and explicit relation graphs add ongoing maintenance burden. We propose an entity-only external interface with task-conditioned relation materialization during inference. A two-layer index separates global routing from local entity focus and is evaluated on DeepSeek-V4-Flash and SWE-bench Verified. The base, one-layer, and two-layer conditions achieve 92.1%, 94.2%, and 95.6% success, respectively, under zero pre-built entity-relation edges.
Abstract:Large software repositories are often beyond model context limits. Training repository knowledge into models is costly and quickly stale, while local retrieval can miss scattered requirements, and explicit relation graphs add ongoing maintenance burden. We propose an entity-only external interface with task-conditioned relation materialization during inference. A two-layer index separates global routing from local entity focus and is evaluated on DeepSeek-V4-Flash and SWE-bench Verified. The base, one-layer, and two-layer conditions achieve 92.1%, 94.2%, and 95.6% success, respectively, under zero pre-built entity-relation edges.
Software Engineering (cs.SE); Computation and Language (cs.CL)
D.2.3; D.2.8; I.2.7
arXiv:2608.26602 [cs.SE]
(or arXiv:2608.26602v1 [cs.SE] for this version)
https://doi.org/10.48550/arXiv.2608.26602 Focus to learn more arXiv-issued DOI via DataCite (pending registration)
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Full text under the publisher's open licence · 183 words
Related coverage

AXRP Episode 50 - Eli Lifland on AI 2027
LessWrong · Aug 3, 2026
Performance Profiling on AMD GPUs – Part 5: Profiling-Driven Kernel Optimization with an AI Code-Assist Tool
AMD · Jul 16, 2026
The Case Against Slowing Down AI
LessWrong · Sep 29, 2026
J++ Lens: Jacobian Filtering Enables More Faithful Workspace Lenses
LessWrong · Oct 8, 2026