What the Specification Did Not Say: Specification-Oracle Gaps in Test-Graded Coding-Agent Benchmarks
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Coding-agent benchmarks often describe a task in natural language but grade it with tests taken from the upstream project. Passing those tests can require information the description never states: a constant's name, a module path, an exact message. We call this a specification-oracle gap: where it exists, a benchmark also measures whether an agent reproduces upstream implementation details. We formalise the gap, including the inconsistencies that chains of dependent tasks add, and build a static audit for five languages that classifies every name-, path- and literal-level dependency of every scored test (held-out precision 89.2%, recall 92.9%). On SWE-Milestone (98 graded milestones, 35 published runs), 25 milestones contain a test that depends on an unstated, non-inferable name or path. Build units with such a dependency fail in 80.6% of runs, against 48.4% for comparable units without one, and withholding a single hidden name from the reference stops its unit's tests from compiling in 126 of 128 cases. The leaderboard's ranking is robust to removing the affected tests, but they shift scores within repositories and favour agents that reproduce upstream names. Across four further benchmarks, prevalence appears to follow construction: a third or more of the tasks are affected where specifications are release notes or LLM summaries, almost none where tasks are screened or written for their tests; how much a gap costs depends on how the harness grades. We release the audit, corrected filter lists and specification addenda.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 17 of its 22 references that are in the map. Submitted 22 Oct 2026.
Builds on
17 of 22 references.
Closest ancestors · 6
Same direction, newest first
- 2026SWE-Bench Pro Verified: A Reliable Benchmark for Software Engineering Agents8 Sep
- 2026DeepSWE: Measuring Frontier Coding Agents on Original, Long-Horizon Engineering Tasks8 Jul
- 2026SWE-CI: Evaluating Agent Capabilities in Maintaining Codebases via Continuous Integration4 Mar
- 2025SWE-EVO: Benchmarking Coding Agents in Long-Horizon Software Evolution Scenarios20 Dec
- 2025UTBoost: Rigorous Evaluation of Coding Agents on SWE-Bench10 Jun
- 2025SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agents11 Apr
Other references · 11
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,530
- 2018Annotation Artifacts in Natural Language Inference Datacited by 722
- 2023NLP Evaluation in trouble: On the Need to Measure LLM Data Contamination for each Benchmarkcited by 394
- 2021What Will it Take to Fix Benchmarking in Natural Language Understanding?cited by 215
- 2024SWE-Bench+: Enhanced Coding Benchmark for LLMscited by 119
- 2025Are "Solved Issues" in SWE-bench Really Solved Correctly? An Empirical Studycited by 69
- 2025FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementationcited by 64
- 2025The SWE-Bench Illusion: When State-of-the-Art LLMs Remember Instead of Reasoncited by 64
- 2026PAIChecker: Uncovering and Checking PR-Issue Misalignment in SWE-Bench-Like Benchmarkscited by 6
- 2026SciCode-Verified: How Benchmark Defects Underestimated the Scientific-Coding Ability of Language Modelscited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Building to the Test: Coding Agents Deliver What You Check, Not What You Requested
- 2026Benchmarks as Software: Terminal-Bench and the Case for Continuous Benchmarks
- 2026When the Specification Emerges: Benchmarking Faithfulness Loss in Long-Horizon Coding Agents
- 2026The Specification Gap: Coordination Failure Under Partial Knowledge in Code Agents
- 2026SpecPath: Testing Coding Agents Across Contract-Equivalent Specification Histories
- 2026SpecGuardBench: Can Coding Agents Construct Reliable Validation Harnesses from Natural Language Specifications?
- 2026All Smoke, No Alarm: Oracle Signals in Agent-Authored Test Code
- 2026Position: Coding Benchmarks Are Misaligned with Agentic Software Engineering