Curated summary
Why we no longer evaluate SWE-bench Verified
OpenaiPythonLlm EvaluationSwe BenchBenchmark ContaminationTest DesignFrontier ModelsAutonomous Software Engineering
SWE-bench Verified Is Contaminated and No Longer Measures Frontier Coding Ability
OpenAI argues that SWE-bench Verified, once a standard metric in frontier model releases, no longer reliably measures real progress in autonomous software engineering. Its audit found that many unsolved tasks have flawed tests and that frontier models have seen the benchmark's problems and solutions during training. OpenAI has stopped reporting Verified scores and recommends SWE-bench Pro until uncontaminated evaluations are available.
Background of the Benchmark
- The original SWE-bench (2023) draws each task from a resolved GitHub issue in one of 12 open-source Python repositories, paired with its pull request.
- Each task has fail-to-pass tests, which must pass after a correct fix, and pass-to-pass regression tests, which must keep passing. The model sees only the issue text and the pre-fix repository, not the tests.
- SWE-bench Verified, released in 2024, is a curated set of 500 problems. Three expert reviewers independently screened each of 1,699 original problems.
Flawed Tests Reject Correct Solutions
- OpenAI audited 138 Verified problems that o3 failed to consistently solve across 64 runs. Each was reviewed by at least six experienced engineers.
- 59.4% of the audited problems had material test or description problems that made them extremely hard or impossible to solve.
- 35.5% had narrow tests that enforce specific implementation details, rejecting functionally correct solutions.
- 18.8% had wide tests that check behavior the problem description never specified.
- 5.1% had miscellaneous issues.
- Example of a narrow test: in pylint-dev__pylint-4551, the tests import a function
get_annotationthat the issue never mentions, so many valid fixes fail with import errors. - Example of a wide test: in sympy__sympy-18199, the PR fixed three issues, but the task description covers only one. Models often implement the described fix and still fail tests for the other two.
Training Exposure and Contamination
- Because SWE-bench draws from popular open-source repositories, frontier models have likely trained on these problems and solutions.
- All frontier models tested could reproduce the original human-written gold patch or verbatim problem details for some tasks.
- Models that had seen a problem were more likely to pass its underspecified tests, since they carried the extra information needed.
- GPT-5.2 showed contamination in django__django-14725. Its reasoning referenced Django release notes and correctly identified that the
edit_onlyparameter arrived in Django 4.1. - OpenAI built an automated red-teaming setup in which GPT-5 probed GPT-5.2-Chat, Claude Opus 4.5, and Gemini 3 Flash Preview over 15 turns. The strongest cases were manually reviewed.
- Examples of strong contamination:
- GPT-5.2 reproduced the exact gold patch for django__django-11451, including the early-return guard
if username is None or password is None. - Claude Opus 4.5 recalled the file path, the removed conditional, and an inline comment verbatim for astropy__astropy-13236.
- Gemini 3 Flash reproduced the task text and the regex change
\Zin the gold patch for django__django-11099, given only the task ID.
- GPT-5.2 reproduced the exact gold patch for django__django-11451, including the early-return guard
Recommendations
- Benchmarks built from public material carry contamination risk. Developers should run additional contamination checks, and dataset maintainers should guard releases with password protection and canary strings.
- Automated tests must verify correct behavior without depending on incidental implementation details and without allowing shortcut solutions. Getting this right took extensive human labeling.
- OpenAI now reports SWE-bench Pro's public split, which showed far less contamination and no verbatim gold-patch reproduction.
- OpenAI plans to keep building privately authored benchmarks. Its GDPVal benchmark uses tasks written by domain experts and grades solutions holistically with trained reviewers.
Related reading
Continue with another curated summary.