Research
A Correct Fix Can Still Fail: How Overspecified Tests Can Mislead AI Coding Leaderboards
The Brief
- A new test-checking method flags a subset of SWE-bench Verified tasks as having overspecified tests.
- On flagged tasks, the top 30 leaderboard submissions resolved 31% of them.
- On the other tasks, the same submissions resolved 88%, so the gap may come from the tests rather than the models.
Why it matters
Benchmark scores for AI coding tools may understate correct fixes when tests check implementation details instead of behaviour, so leaderboard comparisons deserve more scrutiny.
Who’s affected
- Teams relying on SWE-bench Verified leaderboard scores
- Developers evaluating AI coding assistants
- #swe-bench
- #ai-coding
- #benchmarks
- #testing
- #leaderboards
Here is a number that should make anyone reading an AI leaderboard pause. On tasks that a new test-checking method flags, the top 30 submissions to SWE-bench Verified resolved only 31% of them. On the other tasks, the same submissions resolved 88%. The cause may be the tests, not…