SWE-bench Verified is the number most coding-agent vendors put on the slide. Each task hands an agent a real GitHub issue and a repository, then grades its fix with tests the agent never sees. Those tests come from the pull request that originally fixed the issue, so they were written to confirm one particular fix. Nothing guarantees they accept every fix that works.
"When a test checks a detail the specification leaves open, such as the exact wording of an error message, a sentinel return value, or the behavior of a private helper, an agent can resolve the reported problem and still be graded as failing."
Two researchers at Purdue built a way to find those tests without an expert reading each one. Two AI models from different vendors read each task's issue text and its tests, and a task is flagged only when both agree that a competent developer could write a correct fix the tests would reject. Checked against tasks that earlier human audits had already sorted, the pair caught about nine in ten of the known-bad ones and wrongly flagged very few of the known-good ones.
Run across the whole benchmark, the judges flagged about a quarter of SWE-bench Verified's tasks, and a larger share of the harder SWE-bench Pro set. Verified was supposed to be the cleaned-up version.
"These tasks have already passed a human screening process intended to exclude problems of this kind, yet the panel still flags a substantial fraction of them."
The flagged tasks are where agents fail. The top 30 public submissions solve 31% of flagged tasks on average, against 88% of the rest, and the gap appears at every difficulty level, including the quickest fixes. In one example the issue asks for a crash to stop, and the test insists the widget return the exact string "0-0-0", which the issue never mentions.
To test the flags by running code, the researchers had a model loosen only the requirements the issue leaves open, checked that each loosened test still failed the unfixed code, and regraded patches agents had already submitted. Of the failed patches on flagged tasks, 61% passed once the tests were loosened. Forcing the same loosening onto unflagged tasks flipped far fewer. Counted as solved, those patches would reshuffle the leaderboard: 28 of the top 30 submissions change rank.
The authors treat this as a ceiling on the lost credit, and say so. They inspected only a handful of the patches that flipped, and a loosened test can also let a wrong fix through.
"A patch that passes the relaxed tests may be wrong in the part the relaxation removes, so the score changes in Section 7 are upper bounds."
They also point out that the model loosening the tests is the same model as one of the judges, so the confirmation partly repeats a verdict it already gave. And because no set of known-good Pro tasks exists, how often the judges wrongly flag a Pro task is unknown. Beyond those caveats, the reshuffled leaderboard is the figure most likely to be quoted without them, by whichever vendor climbs under the looser tests.
On flagged tasks, an agent that passes has matched a detail the issue never stated, and this study cannot tell whether it inferred that from the repository or remembered the original fix from training. The authors raise this as future work. If recall is part of the answer, the top of the leaderboard is partly measuring memory of these exact repositories, and the agents that score highest on flagged tasks are the ones whose results most need explaining.
For an engineering leader, the practical consequence is that a few points between two agents on SWE-bench Verified is, on this evidence, inside the noise the tests themselves create. A leaderboard where most of the top 30 swap places under a fairer grader is not a reliable tiebreaker for a procurement decision. Trial candidates on a sample of the team's own closed tickets, and have a reviewer judge whether each fix is correct rather than whether it matches the patch that shipped.
The same failure is likely sitting in internal evaluation. Any team grading agents with the tests from its historic pull requests is grading against one engineer's choices about wording, ordering and helper names. Those tests are good at catching regressions and bad at recognising an alternative that also works. Before trusting a pass rate from that kind of harness, read a sample of its failures and count how many are wrong answers and how many are the agent choosing a different, correct one.
Sources
- Aggarwal, A., Hu, Y., "Spec-Test Coverage Gap: Detecting Overspecified Tests in SWE-Bench-Style Benchmarks" — https://arxiv.org/abs/2611.31839
