测例在考「规格没写的东西」:阿里 Spec–Oracle Gaps,依赖失败 80.6% vs 48.4%
测例在考「规格没写的东西」:阿里 Spec–Oracle Gaps,依赖失败 80.6% vs 48.4%
View PDF HTML (experimental) Abstract: 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...
Spec-Oracle Gaps (arXiv:2610.30635)
“View PDF HTML (experimental) Abstract: Coding-agent benchmarks often describe a task in natural language but grade it with tests taken from”
Abstract: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.
| Comments: | 13 pages |
| Subjects: | Computation and Language (cs.CL) |
| MSC classes: | 68N30 |
| ACM classes: | D.2.5 |
| Cite as: | arXiv:2610.30635 [cs.CL] |
| (or arXiv:2610.30635v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.30635 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Ding Fei [view email]
[v1]
Thu, 22 Oct 2026 02:56:44 UTC (590 KB)
Source: Agent Control Flash News · arxiv.org
Related Products & Analysis
Cursor Agent 架构全景拆解:从影子工作区到多文件推演引擎
全面剖析 Cursor 在 Agent 模式下的底层技术实现,解析影子分支隔离、LSP 上下文剪枝以及预测性补全的核心架构细节与工程实践经验。
Vercel v0 推出全新多 Agent 协作画布与实时全栈部署预览
动态速评:v0 正在从单一组件生成器演进为全栈应用搭建协作台,尤其是与 Neon/Postgres 的直连极大降低了全栈原型验证成本。