Skip to content

Time-Consistent Evaluation of Hierarchical Code Graphs for SWE Agents

Nov 2026 · 0 citations · 10 references
Computer Science

TL;DR

Across 7,200 paired evaluations spanning six foundation models across the MAI-Code Flash, Claude, and GPT-Sol families, ServiceExplorer consistently outperforms both Baseline and Tree-sitter AST across every model, repository, and prompt granularity.

Abstract

Evaluating repository-aware software engineering (SWE) agents requires strict separation between pre-existing repository knowledge and future code evolution, yet standard benchmarks frequently suffer from temporal contamination and prompt-level solution leakage. Building on the time-consistent benchmark protocol of Sun (2026), we enforce strict zero-leakage isolation across DragonFly in C++ and React in JavaScript/TypeScript, locking repository snapshots and knowledge graphs at historical cutoff commits $T_0$ and evaluating 100 post-$T_0$ pull requests across four prompt granularities: Minimal, Concise, Contextual, and Guided. Under this zero-leakage protocol, we conduct a matched evaluation of three context-augmentation regimes: (1) an unaugmented Baseline, (2) a flat syntax-level Tree-sitter AST graph, and (3) ServiceExplorer, a deterministic two-level hierarchical dependency graph capturing Level-1 system/package containers and Level-2 architectural modules. Across 7,200 paired evaluations spanning six foundation models across the MAI-Code Flash, Claude, and GPT-Sol families, ServiceExplorer consistently outperforms both Baseline and Tree-sitter AST across every model, repository, and prompt granularity ($+15.6\%$ to $+86.2\%$ relative $F_1$ lift, $p<10^{-4}$), while tripling exact full-PR localization on DragonFly. Crucially, equipping an efficiency-tier or prior-generation model with ServiceExplorer consistently surpasses the unaugmented Baseline $F_1$ of the next-generation model across all evaluated families.

View source

Similar papers

#natural language process... Preprint Oct 2026

Chronos Enables Code Agents to Reason over Software Evolution

Historical pull requests record the design decisions, compatibility constraints, and implementation patterns behind a codebase's current state. Experience relevant to a new task can span related changes whose descriptions emphasize different concerns. We introduce Chronos, a test-time framework that makes this connecte...

Xin Yin, Yiang Zhang, Zhi-Yuan Peng et al. · 1 citation · ⚡1
#artificial intelligence Review Nov 2026

WeaveMX: Zero-Code Orchestration of Structured Multi-Agent Systems for Asset Generation

Single-prompt Large Language Model (LLM) inference works well for self-contained queries, but generating complex, multi-part digital assets requires coordinated multi-agent systems (MAS). Existing tools pull in two directions. Code-centric state graphs demand heavy engineering and costly optimization. Open-ended harnes...

Martin Lukasiewycz · 0 citations
Preprint Nov 2026

APG: Agentic Static-Analysis Infrastructure on LLVM-IR Graph Databases

LLM-based coding agents increasingly rely on external program knowledge, yet access to static-analysis graphs alone does not ensure appropriate operation selection or evidence interpretation. We present APG, an infrastructure for semantics-grounded static program analysis. Built on SVF and LLVM, it decomposes compiler-...

Ze-Xin Zhong, Yan-Jun Zhang, Yu-Lei Sui et al. · 0 citations
Preprint Oct 2026

ArchGuard-APR: Architecture-Constraint-Aware Multi-Agent Program Repair Using Repository Graphs and Execution Feedback

Repository-level automated program repair must reason about more than a localized failing statement. A candidate change can satisfy a narrow test while violating dependency boundaries, modifying an unsafe path, or relying on context that omits relevant repository structure. ArchGuard-APR is an architecture-aware repair...

Majid Feiz Deilami · 0 citations
#artificial intelligence Review Oct 2026

Co-Modifying Application Code and Deployment Infrastructure: A Causal Study of AI Agent Pull Requests

Current software engineering agents are evaluated predominantly inside isolated sandboxes against synchronous local tests. However, deploying features in collaborative repositories requires modifying continuous integration (CI/CD) pipelines, containers, and provisioning manifests alongside application logic. Because ag...

Mohammad Wathiq Soualhi, Basem Suleiman · 0 citations
#artificial intelligence Preprint Oct 2026

Correct Code, Broken Contributions? SWE-CC: Benchmarking Repository Policy Compliance for Coding Agents

The evaluation of four LLMs under two agent scaffolds shows that modern agents suffer from coding compliance issues: although agents produce functionally correct patches, they still violate 43.1 percent of applicable project policies, with nearly half of all violations occurring during intermediate execution steps.

Hải Đăng Trương, Rayner Goh, Thanh Le-Cong et al. · 1 citation · ⚡1

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.