📄
Abstract - When the Specification Emerges: Benchmarking Faithfulness Loss in Long-Horizon Coding Agents
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.
当规范逐步浮现时:评估长周期编码智能体的忠实度损失 /
When the Specification Emerges: Benchmarking Faithfulness Loss in Long-Horizon Coding Agents
1️⃣ 一句话总结
这篇论文创建了一个新的测试标准,用来衡量AI编程助手在长期、复杂的编程任务中,当项目需求是逐步给出而非一次性告知时,其最终代码实现与原始设计意图的偏离程度,并发现这种‘逐步告知’的方式会显著降低代码质量,同时提出了一个名为ProjectGuard的解决方案来有效缓解这个问题。