Time-Consistent Evaluation of Hierarchical Code Graphs for SWE Agents
XianpengSunTian YuHaonan SunSheng MaQincheng ZhangLifei RaoJie LiJianCaoQi Zhang
Xianpeng
Sun
Tian Yu
Haonan Sun
Sheng Ma
Qincheng Zhang
Lifei Rao
Jie Li
Jian
Cao
Qi Zhang
+11
Using the time-consistent, zero-leakage protocol of Sun (2026), with repository snapshots and knowledge graphs locked at cutoff commits $T_0$ and 100 post-$T_0$ pull requests evaluated across four prompt granularities, the paper compares three context-augmentation regimes for repository-aware SWE agents: an unaugmented baseline, a flat Tree-sitter AST graph, and ServiceExplorer, a deterministic two-level hierarchical dependency graph of system/package containers and architectural modules. Across 7,200 paired evaluations on six foundation models, ServiceExplorer consistently beats both alternatives for every model, repository, and prompt granularity ($+15.6\%$ to $+86.2\%$ relative $F_1$ lift, $p < 10^{-4}$) and triples exact full-PR localization on DragonFly, and an efficiency-tier or prior-generation model equipped with ServiceExplorer surpasses the unaugmented $F_1$ of the next-generation model in all families.

arXiv ·
· November 12, 2026