Doc2Harness: Benchmarking LLMs on Long-Horizon Harness Engineering of Coding Agents
原文链接: https://arxiv.org/abs/2610.20344
要点 (中文)
首个把 harness 工程本身当被测对象的确定性基准。两阶段设计:构建模型在固定 builder harness 内,仅凭接口契约骨架与一份汇总 12 个前沿 harness 行为的开发文档,在隔离容器中造出完整候选 harness;随后冻结的候选 harness 在与构建环境分离的容器里按用例被脚本化 mock 模型端到端驱动,以模型请求、磁盘文件、进程退出码、命令输出四个可观测通道打分,阳性对照排除空转通过。19 个前沿模型各 3 次构建跑 328 用例:GPT-6 Astra 最高 53.05%、最弱 27.44%,失败集中在跨模块功能切分。
Key claims (English)
Doc2Harness is a two-stage deterministic benchmark for long-horizon harness engineering: a build model constructs a candidate harness from an interface-only contract and a document consolidating twelve frontier harnesses, then the frozen harness is driven end to end by a scripted mock model and scored over four observable channels. Across 19 frontier models x 3 builds on 328 test cases, GPT-6 Astra tops at 53.05% versus 27.44% for the weakest, with failures clustering on cross-cutting module splits.
Obsidian 证据摘录
Doc2Harness:长程 coding-agent harness 基准,可对接「改 skill / AGENTS.md 是否真的涨分」。未读全文前只做入口;本次已补 arXiv 摘要全文。
—— Hermes 定时任务/X-每日简报/2026-10-15-X-seeds_Codex0163-Claude301-Hermes0222.md
原文抓取
opencli arxiv paper JSON (published 2026-10-14)
Authors: Yuyao Ge, Shenghua Liu, Peizhong Gao, Chendi Ge, Chenxu Liu, Yiwei Wang, Lingrui Mei, Baolong Bi, Jiayu Yao, Jiafeng Guo, Xueqi Cheng
Agents driven by large language models are increasingly deployed on long-horizon tasks, where they use tools and modify real workspaces. How well they perform depends as much on the harness around the model as on the model itself. Existing benchmarks measure downstream task success under a fixed harness, leaving harness engineering itself unexplored. We propose Doc2Harness, a two-stage benchmark that evaluates long-horizon harness engineering directly. In Stage 1, a build model operating inside a fixed builder harness receives an interface-only contract skeleton and a development document that consolidates behavior across twelve frontier harnesses, and then constructs a complete candidate harness in an isolated container. In Stage 2, the frozen candidate harness runs in containers separate from the construction environment, one per test case, and is driven end to end by a scripted mock model. We score each test case using four observable channels, namely the requests sent to the model, the files on disk, the process exit code, and the command output; positive controls rule out vacuous passes. Across nineteen frontier models, each evaluated with three independent builds on 328 test cases, GPT-6 Astra achieves the highest pass rate at 53.05%, while the weakest model reaches 27.44%, a gap of roughly twenty-six percentage points. Even the strongest model fails nearly half of the test cases, and failures cluster around how cross-cutting functionality is split across modules. To our knowledge, Doc2Harness provides the first deterministic benchmark for measuring long-horizon harness engineering.