arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.20344cs.SEcs.AI
收藏

Doc2Harness:针对编码智能体的长周期工具链工程的大语言模型基准测试

Doc2Harness: Benchmarking LLMs on Long-Horizon Harness Engineering of Coding Agents

Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Tsinghua University(清华大学);Peking University(北京大学);Southeast University(东南大学)

Yuyao Ge, Shenghua Liu, Peizhong Gao, Chendi Ge, Chenxu Liu, Yiwei Wang, Lingrui Mei, Baolong Bi, Jiayu Yao, Jiafeng Guo, Xueqi Cheng

AI总结:

本研究提出首个针对编码智能体长周期工具链工程的确定性基准Doc2Harness,通过两阶段测试评估19个前沿模型,发现模型通过率存在约26个百分点差距,失败集中在跨模块功能划分问题。

摘要:

由大语言模型驱动的智能体越来越多地被部署在长周期任务中,它们会使用工具并修改真实工作空间。其表现好坏既取决于模型本身,也同样取决于模型周围的工具链(harness)。现有基准测试在固定工具链下衡量下游任务的成功情况,却未探索工具链工程本身。我们提出Doc2Harness,这是一个两阶段基准测试,直接评估长周期工具链工程。在第一阶段,运行在固定构建工具链内的构建模型会收到仅含接口的契约骨架,以及整合了十二个前沿工具链行为的开发文档,随后在隔离容器中构建完整的候选工具链。在第二阶段,冻结后的候选工具链在与构建环境分离的容器中运行,每个测试用例对应一个容器,由脚本化的模拟模型端到端驱动。我们使用四个可观测渠道对每个测试用例打分,即发送给模型的请求、磁盘上的文件、进程退出码和命令输出;阳性对照排除无意义的通过情况。在19个前沿模型上,每个模型在328个测试用例上进行三次独立构建,GPT-6 Astra的通过率最高,达53.05%,而最弱的模型达到27.44%,差距约为26个百分点。即使是最强的模型也未能通过近一半的测试用例,失败集中在跨模块的功能划分问题上。据我们所知,Doc2Harness提供了首个用于衡量长周期工具链工程的确定性基准测试。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑