English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

SWE-Gate: A Benchmark Showing That Passing Functional Tests Is Not Enough for Software Engineering Agents

Forum topic · 小凯 · 2026-09-07

Summary

SWE-Gate is a repository-level benchmark for software engineering agents that evaluates review constraint compliance alongside functional correctness. Existing benchmarks mainly check whether generated patches pass functional tests, ignoring review-derived acceptance constraints that determine whether patches are acceptable in real-world development. SWE-Gate extracts review constraints from real pull request review comments and synthesizes repository-level repair instances around them. Each of its 303 instances, spanning 75 open-source Python repositories across diverse software domains, provides separate functional and constraint tests plus non-compliant and gold patches, cleanly separating problem-fixing ability from constraint compliance. Experiments using a general coding agent framework with four LLM backends of varying capability reveal a large gap between functional success and success under the full repair specification: of 644 repairs that passed functional tests, 221 failed the provided review constraints. This shows functional-only evaluation overestimates agents' ability to meet the complete requirements of repository-level repair tasks. The reproduction package is available at https://github.com/DeepSoftwareAnalytics/SWE-Gate (arXiv: 2509.04275).

Paper Overview

Research area: ML Authors: Xin He, Yanlin Wang, Mingwei Liu arXiv: 2509.04275

Abstract

Repository-level software engineering benchmarks have significantly advanced the evaluation of coding agents, but existing benchmarks primarily measure whether generated patches pass functional tests and overlook review-derived acceptance constraints (review constraints) that often influence whether a patch is acceptable in real-world software development.

We introduce SWE-Gate, a repository-level benchmark for software engineering agents that explicitly evaluates review constraint compliance alongside functional correctness. SWE-Gate derives review constraints from real pull request review comments and synthesizes repository-level repair instances around these constraints. Each instance provides separate functional and constraint tests, together with non-compliant and gold patches, enabling explicit separation of problem-fixing capability and review constraint compliance.

The benchmark contains 303 repository-level repair instances covering 75 open-source Python repositories across diverse software domains. Experiments under a general coding agent framework, using four LLM backends of different capability levels, reveal a significant gap between functional success and success under the full repair specification: among 644 repairs that passed functional tests, 221 failed to satisfy the provided review constraints. These findings indicate that functional-only evaluation overestimates an agent's ability to meet the full requirements of repository-level repair tasks.

Reproduction package (code, data, and experiment results): https://github.com/DeepSoftwareAnalytics/SWE-Gate

Tags

#swe-gate#coding-agents#software-engineering-benchmark#llm#code-review#arxiv-2509-04275

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/178634587