Accepted but Wrong: Silent Failures of LLM Code Repairs after API Migrations
Ranking
Overall
88
Content
100
Popularity
61
Observed public metrics from 1 member.
Merged summary
TL;DR - A preregistered study finds that LLM-generated code repairs after API migrations can pass typical tests while remaining semantically wrong. Release-note-derived edge cases sharply reduce these silent failures, but difficult distractors still evade testing.
- Typical-input assertion gates released 41.0% of wrong repairs across 73 tasks and three runtimes.
- One release-note-derived edge input reduced wrong releases to 6.5%, including 6.1% on unseen change clusters.
- Blind GPT-5.6-luna-generated tests achieved a comparable 7.0% wrong-release rate without seeing the repaired programs.
- Under 233 hard distractors, 16.8% passed the edge test and 15.3% passed the frontier-model test, exposing substantial residual risk.
Sources (1)
Accepted but Wrong: Silent Failures of LLM Code Repairs after API Migrations
Public signals
Hugging Face upvotes 1 · Semantic Scholar citations 0 · Semantic Scholar influential citations 0
TL;DR - A preregistered study finds that LLM-generated code repairs after API migrations can pass typical tests while remaining semantically wrong. Release-note-derived edge cases sharply reduce these silent failures, but difficult distractors still evade testing.
- Typical-input assertion gates released 41.0% of wrong repairs across 73 tasks and three runtimes.
- One release-note-derived edge input reduced wrong releases to 6.5%, including 6.1% on unseen change clusters.
- Blind GPT-5.6-luna-generated tests achieved a comparable 7.0% wrong-release rate without seeing the repaired programs.
- Under 233 hard distractors, 16.8% passed the edge test and 15.3% passed the frontier-model test, exposing substantial residual risk.