When the Specification Emerges: Benchmarking Faithfulness Loss in Long-Horizon Coding Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Current coding-agent benchmarks usually pro- vide the full task specification upfront. Real research coding often does not: the intended system is progressively disclosed through in- teraction, requiring the agent to track durable design commitments across a long session. We introduce a benchmark for this setting and study faithfulne Ss Loss U nder eM ergent s Pecification (SLUMP), defined as the reduc- tion in final implementation faithfulness un- der emergent specification relative to a single- shot specification control. The benchmark con- tains 20 recent ML papers (10 ICML 2025, 10 NeurIPS 2025), 371 atomic verifiable compo- nents, and interaction scripts of approximately 60 coding requests that progressively disclose the target design without revealing the paper itself. Final repositories are scored with a five-level component-faithfulness rubric and accompanied by an exposure audit to verify that scored components are recoverable from the visible interaction. Evaluated on Claude Code and Codex, the single-shot specification control achieves higher overall implementation fidelity on 16/20 and 14/20 papers, respectively. Structural integration degrades under emergent specification on both platforms, while seman- tic faithfulness loss is substantial on Claude Code and small on Codex. As a mitigation case study, we introduce ProjectGuard, an exter- nal project-state layer for specification tracking. On Claude Code, ProjectGuard recovers 90% of the faithfulness gap, increases fully faith- ful components from 118 to 181, and reduces severe failures from 72 to 49. These results identify specification tracking as a distinct eval- uation target for long-horizon coding agents.
Key facts. Cited by 5 papers in the map (data through 13 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 28 of its 41 references that are in the map. First posted on arXiv 17 Mar 2026.
Builds on
28 of 41 references.
Closest ancestors · 2
Same direction, newest first
- 2026SWE Context Bench: A Benchmark for Context Learning in Coding9 Feb
- 2025ProjectEval: A Benchmark for Programming Agents Automated Evaluation on Project-Level Code Generation10 Mar
Other references · 26
- 2025PaperBench: Evaluating AI's Ability to Replicate AI Researchcited by 303
- 2024Agent-as-a-Judge: Evaluate Agents with Agentscited by 231
- 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agentscited by 230
- 2025Scaling Long-Horizon LLM Agent via Context-Foldingcited by 142
- 2025AgentFold: Long-Horizon Web Agents with Proactive Context Managementcited by 100
- 2025MLR-Bench: Evaluating AI Agents on Open-Ended Machine Learning Researchcited by 60
- 2025FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementationcited by 58
- 2025ResearchCodeBench: Benchmarking LLMs on Implementing Novel Machine Learning Research Codecited by 34
- 2025LMR-BENCH: Evaluating LLM Agent's Ability on Reproducing Language Modeling Researchcited by 29
- 2025RECODE-H: A Benchmark for Research Code Development with Interactive Human Feedbackcited by 25
- 2024Sloth: scaling laws for LLM skills to predict multi-benchmark performance across familiescited by 23
- 2025SafeAuto: Knowledge-Enhanced Safe Autonomous Driving with Multimodal Foundation Modelscited by 23
14 more
- 2024On the Impacts of Contexts on Repository-Level Code Generationcited by 21
- 2025CodeFlowBench: A Multi-turn, Iterative Benchmark for Complex Code Generationcited by 17
- 2025Towards Reliable Code-as-Policies: A Neuro-Symbolic Framework for Embodied Task Planningcited by 10
- 2026SciCoQA: Quality Assurance for Scientific Paper--Code Alignmentcited by 10
- 2025Hierarchical Equivariant Policy via Frame Transfercited by 8
- 2025DualEquiNet: A Dual-Space Hierarchical Equivariant Network for Large Biomoleculescited by 5
- 2025SR-Eval: Evaluating LLMs on Code Generation under Stepwise Requirement Refinementcited by 5
- 2024TCP-Diffusion: A Multi-modal Diffusion Model for Global Tropical Cyclone Precipitation Forecasting with Change Awarenesscited by 4
- 2025Nonlinearly Preconditioned Gradient Methods under Generalized Smoothnesscited by 4
- 2025Scalable Policy-Based RL Algorithms for POMDPscited by 4
- 2026A Scalable Benchmark for Repository-Oriented Long-Horizon Conversational Context Managementcited by 4
- 2025InfoCons: Identifying Interpretable Critical Concepts in Point Clouds via Information Theorycited by 2
- 2025PPDiff: Diffusing in Hybrid Sequence-Structure Space for Protein-Protein Complex Designcited by 2
- 2025Curvature Enhanced Data Augmentation for Regressioncited by 1
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Taskscited by 26
- 2026SpecPath: Testing Coding Agents Across Contract-Equivalent Specification Historiescited by 1
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environmentscited by 1
- 2026Persistent Recursive Worlds Enable Autonomous Software Evolutioncited by 0
- 2026YouRA: A Persistent-State Architecture for Evidence-Traceable Autonomous Research Agentscited by 0
- 2026YouRA: A Persistent-State Architecture for Evidence-Traceable Autonomous Research Agents1 Oct 2026
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environments20 Aug 2026
- 2026Persistent Recursive Worlds Enable Autonomous Software Evolution11 Aug 2026
- 2026SpecPath: Testing Coding Agents Across Contract-Equivalent Specification Histories10 Aug 2026
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks25 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026Confident and Wrong: Silent Semantic Failures in Coding Agents
- 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactions
- 2026Compact Documentation for Coding Agents: A Benchmark, an Optimizer, and Why It Does Not Transfer
- 2026OctoBench: Benchmarking Scaffold-Aware Instruction Following in Repository-Grounded Agentic Coding
- 2026The Working Set of a Coding Agent: Coherence Debt in Repository-Scale Tasks
- 2026Latent Programming Horizons in Coding Agents
- 2026Beyond Resolution Rates: Behavioral Drivers of Coding Agent Success and Failure
- 2026The Specification Gap: Coordination Failure Under Partial Knowledge in Code Agents