SWE-Duel: Towards a Self-Scaling Arena for Coding Agents
cs.CL, cs.SE
Submitted: 2026-10-08
Updated: 2026-10-08
Comments: Under review as a conference paper at ICLR 2027
Code: https://github.com/sweduel/SWE-Duel
Project page: https://sweduel.github.io/SWE-Duel
License: http://creativecommons.org/licenses/by/4.0/
The gist: Static coding benchmarks are fixed at release.
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.
Sources
- SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents
- SWE-CI: Evaluating Agent Capabilities in Maintaining Codebases via Continuous Integration
- Dynamic Benchmarking of Reasoning Capabilities in Code Large Language Models Under Data Contamination
- Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preference
- DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence
- SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?
- Is Your Benchmark Still Useful? Dynamic Benchmarking for Code Language Models
- SWE-Cycle: Benchmarking Code Agents across the Complete Issue Resolution Cycle
- SWE-bench: Can Language Models Resolve Real-World GitHub Issues?
- SWE-EVO: Benchmarking Coding Agents in Long-Horizon Software Evolution Scenarios
- RACE-Bench: A Reasoning-Augmented Benchmark for Repository-Level Code Agents on Feature Addition
- On Leakage of Code Generation Evaluation Datasets
- Nemotron 3 Ultra: Open, Efficient Mixture-of-Experts Hybrid Mamba-Transformer Model for Agentic Reasoning
- SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agents
- BugPilot: Complex Bug Generation for Efficient Learning of SWE Skills
- Automated Benchmark Generation for Repository-Level Coding Tasks
- SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolution
- SwingArena: Competitive Programming Arena for Long-context GitHub Issue Solving
- SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
- SWE-smith: Scaling Data for Software Engineering Agents
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering