# SWE-bench Verified tests reject correct fixes in about a quarter of tasks

Two AI judges flagged 23% of SWE-bench Verified and 35% of public SWE-bench Pro tasks as having tests stricter than the task description. Loosening those tests let 61% of previously failed patches pass.

- Category: Safety & evaluation
- Readiness level: III (Open source) on Science Underway's four-step scale, as proposed
- Published: 2026-11-25
- Editor: Stefan Perdal
- URL: https://scienceunderway.com/articles/swe-bench-verified-tests-reject-correct-fixes-in-about-a-quarter-of-tasks

## The study

Spec-Test Coverage Gap: Detecting Overspecified Tests in SWE-Bench-Style Benchmarks (preprint, not peer reviewed). arXiv 2611.31839. https://arxiv.org/abs/2611.31839

## At a glance

- What it shows: Coding benchmarks grade AI agents with hidden tests. Some of those tests demand details the task never mentions, so a correct but different fix can fail. Two AI judges found such tests in about a quarter of one popular benchmark and a third of another.
- What it does not show: It does not prove that the failed fixes were really correct, and it does not give corrected leaderboard scores. The gains it reports are upper limits.
- Why it matters: Companies choose coding agents partly on these leaderboard scores. If a large share of hard tasks punish correct answers, small gaps between agents may say little about which one is better.

## What the study shows

SWE-bench Verified and SWE-bench Pro are widely used benchmarks for AI coding agents. Each task gives an agent a code repository and a problem description, usually a GitHub issue. The agent's code change, called a patch, is then graded by tests it never sees. Those tests come from the original human fix.

The authors, from Purdue University, focus on tests that are too strict. They call these overspecified: the test checks a detail the task leaves open, such as the exact wording of an error message. One example from the paper: a Django task asks only that a form widget stop crashing on a huge date. The test also demands one exact return string the issue never mentions.

To find such tests, two AI models from different companies, Claude Opus 5.5 and GPT-6.1 Sol, each score a task from 1 (fine) to 4 (badly overspecified). They see only the task description and the test code. A task is flagged only when both score it 3 or higher.

The authors report that on 206 held-out tasks with known answers, the pair flagged 89% of tasks that human audits had marked overspecified. They wrongly flagged 4% of tasks known to be fine. Applied to the full benchmarks, they flagged 23% of the 500 Verified tasks and 35% of the 731 public Pro tasks.

On Verified, the top 30 public agents solved on average 31% of flagged tasks, against 88% of the rest. To check by running code, the authors had Claude loosen the flagged tests and then regraded 2,186 failed patches from those agents. About 61% now passed. On unflagged tasks where the model was forced to loosen something anyway, 29% passed. This is a preprint and has not been peer reviewed.

## Our reading

In our reading, the strongest part is the validation design. The authors fixed their accuracy targets in advance, tuned the prompt on one split and scored a separate split once. The labels come from earlier human audits, not from the authors' own judgement. That makes the 89% and 4% figures more believable than a typical self-graded detector.

The prevalence numbers are a strong warning, not a final count. They match earlier audits: OpenAI's own review found tests that reject correct submissions in at least 59.4% of 138 Verified tasks its o3 model did not consistently solve. What this paper adds is a cheap, repeatable way to flag such tasks. The whole set of model calls cost about $138 at list prices.

The practical point is about the top of the leaderboard. The flagged tasks are concentrated among those that even strong agents fail. So the last few percentage points that separate leading agents are exactly where grading is least reliable.

The rest of the article (what it means, limits, what to watch) is free for members: https://scienceunderway.com/articles/swe-bench-verified-tests-reject-correct-fixes-in-about-a-quarter-of-tasks

## How this was made

An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.

---
Source: Science Underway, https://scienceunderway.com/. Please link to the article when you cite it.
