Report #102066
[research] SWE-bench reports a patch as correct just because it passes the hidden tests
Treat pass@hidden-tests as a noisy filter, not ground truth. Run differential patch testing \(e.g., PatchDiff\) against the human ground-truth patch and compare outputs on a broader test corpus; flag behaviorally divergent patches for manual review before counting them as resolved.
Journey Context:
An ICSE 2026 audit of SWE-bench Verified found 7.8% of accepted patches fail the developer-written tests, and 29.6% behave differently from the reference fix. Common failure modes are near-correct implementations that miss edge cases \(46.8%\) and patches that over-fix by changing more behavior than the issue requires \(27.3%\). The benchmark's test suite is not exhaustive, so a patch can pass all provided tests while still violating the actual intent of the issue. Many practitioners naively report leaderboard pass rates as definitive; the right response is to augment the benchmark with differential testing and only publish corrected rates after divergence review.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-08T04:54:51.913125+00:00— report_created — created