BeyondSWE:当前代码代理能否超越单仓库错误修复?
BeyondSWE: Can Current Code Agent Survive Beyond Single-Repo Bug Fixing?
AI总结:
提出BeyondSWE基准测试,评估代码代理在跨仓库、领域特定、依赖迁移和文档生成等复杂软件工程任务上的表现,发现现有代理在利用外部信息进行精确代码修改方面仍存在显著不足。
摘要:
当前的代码代理基准主要评估单个目标仓库内的局部问题解决能力,而许多需要外部知识或更广泛仓库级变更的软件工程任务仍未得到充分测试。我们引入了BeyondSWE,这是一个包含500个实例的基准测试,来自246个真实世界的GitHub仓库,用于评估超越单仓库错误修复的代码代理。BeyondSWE涵盖了四种代表性场景:跨仓库问题解决、领域特定问题解决、依赖驱动的迁移以及文档到仓库的生成,涵盖了更广泛的知识范围和解决范围。我们的评估显示,BeyondSWE远未饱和:基于OpenHands的最佳代理达到了46.12的平均分数,而使用GPT-5.4(xhigh)的最强Codex harness在搜索感知提示下达到了56.65。为了研究外部信息访问是否能缩小这一差距,我们使用SearchSWE作为搜索增强编码的受控诊断基线。搜索访问改善了大多数模型,并对某些任务有显著帮助,但收益仍然有限且不均衡,表明当前代理仍然难以将检索到的信息转化为精确、版本兼容且局部可操作的代码更改。这些结果表明,深度编码搜索仍然是一个开放问题:进展需要代理能够可靠地将外部证据与仓库局部推理和基于执行的验证结合起来。
英文摘要:
Current code-agent benchmarks primarily evaluate localized issue resolution within a single target repository, leaving under-tested many software engineering tasks that require external knowledge or broader repository-level changes. We introduce BeyondSWE, a 500-instance benchmark drawn from 246 real-world GitHub repositories to evaluate code agents beyond single-repository bug fixing. BeyondSWE covers four representative settings: cross-repository issue resolution, domain-specific issue resolution, dependency-driven migration, and document-to-repository generation, spanning both broader knowledge scope and broader resolution scope. Our evaluation shows that BeyondSWE remains far from saturated: the best OpenHands-based agent reaches 46.12 average score, while the strongest Codex harness with GPT-5.4 (xhigh) reaches 56.65 under a search-aware prompt. To study whether external information access closes this gap, we use SearchSWE as a controlled diagnostic baseline for search-augmented coding. Search access improves most models and substantially helps some tasks, but the gains remain limited and uneven, showing that current agents still struggle to convert retrieved information into precise, version-compatible, and locally actionable code changes. These results suggest that deep search for coding remains an open problem: progress requires agents that can reliably combine external evidence with repository-local reasoning and execution-based verification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。