SWE-Gate Benchmark: 34% of AI Fixes Passing Functional Tests Violate Code Review Constraints

The SWE-Gate paper posted on arXiv on September 3, 2026, introduces a new benchmark of 303 tasks covering 75 open-source Python repositories. Of 644 fixes that passed functional tests, 221 (34%) violated code review requirements, demonstrating that existing benchmarks systematically overestimate agent capabilities.

The SWE-Gate paper published on September 3, 2026, shows that of 644 AI software fixes that passed functional tests, 221 (34%) violated code review constraints.

The Facts

The benchmark comprises 303 repository-level repair instances from 75 open-source Python repositories, with experiments using four LLM backends. Each instance provides a functional test and a constraint test extracted from real PR review comments, along with compliant gold patches and non-compliant patches.

Mechanism Breakdown

Existing repository-level benchmarks only check whether functional tests pass, ignoring the additional constraints imposed by code review in real-world development. SWE-Gate explicitly converts review constraints into executable tests, thereby evaluating "problem-solving ability" and "satisfying the complete specification" separately. As a result, 221 cases previously deemed successful were judged non-compliant.

Industry Impact

This gap indicates that evaluations relying solely on functional correctness systematically overestimate the usability of software engineering agents in real-world repositories, potentially affecting enterprise adoption decisions and the direction of tool iteration.

Strategic Judgment

【Analysis】If review constraints are broadly incorporated into future benchmarks, existing training and evaluation pipelines that pursue only functional pass rates may need to be adjusted, to avoid wasting resources on solutions that cannot pass real-world review.