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.

6 min readIIIOpen sourcePreprint, not peer reviewed
Save
A studio still life shows a wooden puzzle board with a key-shaped cutout and several natural wooden keys beside it, with one small deep blue key sitting rejected just outside the slot.AI illustration
Illustration: AI generated

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.

Free membership

Read the rest of this story

Membership is free. You get every article in full, and can save stories and follow topics.

We send a sign-in link, no password needed. Already a member? Sign in

Readiness assessment

III
Open source
LevelStatusEvidence
I  Lab onlyMetThe method was built and tested in a research setting on existing benchmark data.
II  BenchmarkedMetTested on public benchmarks (SWE-bench Verified and Pro) with a held-out validation split: 89% recall and 4% false flags on 206 tasks, plus prevalence and regrading results. No other auditor was compared.
III  Open sourceMetThe abstract states code and data are available on GitHub at https://github.com/ObviAvi/Spec-Test-Coverage-Gap. We could not inspect the repository, so its completeness and licence are unchecked.
IV  In productionNot yetNo documented use by a named organisation, benchmark maintainer or leaderboard. The paper only compares its flags with existing public submissions.

What would move it up
Adoption by a benchmark maintainer or leaderboard to audit or repair tasks, with documented results, would support level 4. Stronger evidence at the current level would include manual review of a larger sample of flipped patches, a false-flag estimate for Pro, and a head-to-head comparison with other auditors such as SPICE.

The study

Avi Aggarwal, Yiran Hu. Spec-Test Coverage Gap: Detecting Overspecified Tests in SWE-Bench-Style Benchmarks. arXiv, 24 November 2026. Read the paper

Preprint, not peer reviewed · Licence CC BY 4.0 · Purdue University West Lafayette, West Lafayette

Notes

  1. Aggarwal and Hu, Spec-Test Coverage Gap: Detecting Overspecified Tests in SWE-Bench-Style Benchmarks. arXiv preprint, November 2026, not peer reviewed. CC BY 4.0. Source
  2. Code and data, as stated by the authors. We have not inspected the repository's contents or licence. Source
  3. Held-out test split, 206 tasks: the panel flagged 100 of 112 known-overspecified tasks (89%, 95% CI 82 to 94%) and 4 of 94 known-fine tasks (4%, CI 2 to 10%). Recall was 97% (65/67) on tasks OpenAI left out of Verified and 78% (35/45) on original versions of repaired Pro tasks. GPT alone: 94% recall, 18% false flags.
  4. Prevalence: 117 of 500 Verified tasks flagged (78 at score 3, 39 at score 4); 258 of 731 public Pro tasks (143 at score 3, 115 at score 4). Excluding the 75 Pro validation tasks, 201 of 656 (31%).
  5. Regrading: 1,331 of 2,186 candidate patches (61%, CI 52 to 69%) passed relaxed tests on 108 flagged Verified tasks; 49% without the judges' findings. Forced control: 120 of 417 (29%, CI 13 to 45%) on 79 unflagged tasks, 96 of them from five tasks. Gains per top-30 submission: 33 to 60 tasks, median 45; 28 of 30 change rank, by up to 10 places.
  6. Total API cost of all model calls reported by the authors: about $138 at standard list prices (Table 14).

Edited and signed by

Stefan PerdalEditor and publisher140 stories edited

Stefan read the study, set the readiness level and approved this story. An AI system found the paper and wrote the first draft.

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.

More on Safety & evaluation