Claw-SWE-Bench:评估OpenClaw风格代理框架在编码任务上的基准
Claw-SWE-Bench: A Benchmark for Evaluating OpenClaw-style Agent Harnesses on Coding Tasks
AI总结:
提出Claw-SWE-Bench基准,通过适配器协议统一评估异构代理框架,发现适配器设计对编码性能至关重要,且模型和框架选择显著影响通过率与成本。
摘要:
通用代理(如OpenClaw)越来越多地被用作自主工具使用者,但其编码能力难以在SWE-bench下衡量:通用代理本身不满足评分所需的干净Docker工作区、补丁和预测合约。我们引入了Claw-SWE-Bench,一个多语言SWE-bench风格的基准和适配器协议,使异构代理框架(即claws)在公平设置下具有可比性,包括固定提示、运行时预算、工作区合约、补丁提取过程和评估器。完整基准包含8种语言、43个仓库的350个GitHub问题解决实例,这些实例来自SWE-bench-Multilingual和SWE-bench-Verified-Mini,经过未来提交清理。我们还发布了Claw-SWE-Bench Lite用于更快验证,这是一个通过成本感知、排名感知程序从17个校准列中选出的80个实例子集。在完整基准上,使用最小直接差异适配器的OpenClaw仅获得19.1%的Pass@1,而完整适配器在相同GLM 5.1骨干下达到73.4%,表明适配器设计对于使OpenClaw风格的框架有效执行编码任务至关重要。在OpenClaw × 9模型扫描和5框架 × 2模型扫描中,模型选择使Pass@1变化29.4个百分点,固定模型下框架选择变化27.4个百分点;精度相似的系统在总API成本上可能差异很大。因此,Claw-SWE-Bench将框架和成本核算视为SWE风格编码代理评估的第一类轴,提供了完整基准和低成本参考集,用于可重复比较。数据可在https://this URL 和 https://this URL 获取。
英文摘要:
The software engineering capabilities of general-purpose agent harnesses remain underexplored, and existing benchmarks offer limited support for comparing these harnesses under consistent conditions. To address this gap, we introduce Claw-SWE-Bench, a unified benchmark that enables researchers to systematically assess the capabilities and efficiency of general-purpose harnesses on software engineering tasks. The benchmark contains 350 real-world GitHub issue-resolution instances across eight programming languages and 43 repositories and provides a shared adapter protocol to align task inputs, outputs, and execution environments across harnesses. Experiments show that general-purpose harnesses can effectively resolve real-world software issues and that their success rates and resource consumption vary substantially even when the underlying model is held fixed. To lower evaluation costs and support faster debugging and iteration, we also provide Claw-SWE-Bench Lite, an 80-instance subset designed to preserve the key evaluation properties of the full benchmark. We hope this benchmark will help researchers better evaluate and understand the performance of general-purpose harnesses on software engineering tasks and guide the development of more capable and efficient harnesses. The data is available at https://github.com/opensquilla/claw-swe-bench and https://huggingface.co/datasets/TokenRhythm/Claw-SWE-Bench.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。