arXiv:cs.CL· Wei Minn, Zhensu Sun, Lwin Khin Shar, David Lo·· 11 小时前
SWE-Duel:面向编程智能体的自扩展竞技场
SWE-Duel: Towards a Self-Scaling Arena for Coding Agents
AI 导读
SWE-Duel 是一个让两个编程智能体通过红蓝回合互评的竞技场,任务与评判在评测时生成,避免题目泄漏和饱和。在 11 个模型-框架组合、5 种语言的 15 个仓库上进行 1500 回合锦标赛,GPT-5.5 搭配 Codex CLI 以修复 98.3% 缺陷排名第一,Claude Opus 4.8 搭配 mini-swe-agent 以 27.3% 的红方胜率成为最强出题者。
正文
Abstract:Static coding benchmarks are fixed at release. Over time their tasks leak into training data, and stronger agents eventually saturate them. We argue that a benchmark should instead aim to be self-scaling: its tasks and oracles are created at evaluation time, so no content exists in advance to leak, and its difficulty is set by the participating agents rather than fixed at release. We introduce SWE-Duel, an arena in which two coding agents evaluate each other over mirrored Red-Blue turns. In each turn, the Red agent works on a real repository across three context-isolated sessions. It proposes and implements a new feature with feature tests, then embeds a subtle bug in that feature along with sealed bug-triggering tests. The resulting pull request is admitted only if (1) it passes the feature tests and the repository's existing tests while failing exactly the bug tests, and (2) a fresh session of the same agent can repair the bug blind, which rules out unsolvable tasks. The Blue agent then reviews the pull request without being told a bug exists. It wins only if its revision passes all three test suites, and then the two agents swap roles. We run a tournament among 11 model-harness participants on 15 repositories in five languages for 1,500 turns. The leaders win in different ways. GPT-5.5 with Codex CLI ranks first as the strongest solver, repairing 98.3% of the defects it reviews. Claude Opus 4.8 with mini-swe-agent ranks second as the strongest task author, with a 27.3% Red win rate. Finally, within one model family, tasks written by the newest version defeat a fixed-reference solver far more often than those of older versions (42.9% vs. 4.0%), giving preliminary evidence that task difficulty scales with task authoring capability.
| Comments: | Under review as a conference paper at ICLR 2027 |
| Subjects: | Computation and Language (cs.CL); Software Engineering (cs.SE) |
| MSC classes: | I.2, D.2 |
| Cite as: | arXiv:2610.12569 [cs.CL] |
| (or arXiv:2610.12569v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.12569 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Wei Minn [view email]
[v1]
Thu, 8 Oct 2026 18:01:00 UTC (755 KB)
来源:arXiv:cs.CL · arxiv.org