HuggingFace Daily Papers·· 1 天前
Doc2Harness:评估 LLM 在编程智能体长程 harness 工程上的表现
Doc2Harness: Benchmarking LLMs on Long-Horizon Harness Engineering of Coding Agents
AI 导读
Doc2Harness 是一个两阶段基准,直接评估长程 harness 工程能力:build 模型在固定 builder harness 中依据接口契约骨架和整合十二个前沿 harness 行为的开发文档,在隔离容器内构建完整候选 harness,随后由脚本化 mock model 在独立容器中端到端驱动测试。
正文
Authors:Yuyao Ge, Shenghua Liu, Peizhong Gao, Chendi Ge, Chenxu Liu, Yiwei Wang, Lingrui Mei, Baolong Bi, Jiayu Yao, Jiafeng Guo, Xueqi Cheng
Abstract: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.
| Comments: | 17 pages, 5 figures, 4 tables |
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.20344 [cs.SE] |
| (or arXiv:2610.20344v1 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2610.20344 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Yuyao Ge [view email]
[v1]
Wed, 14 Oct 2026 15:24:39 UTC (480 KB)
来源:HuggingFace Daily Papers · arxiv.org