🛰️ Daily AI Frontier
‹ back to 2026-11-08

Accepted but Wrong: Silent Failures of LLM Code Repairs after API Migrations

arXiv cs.SE AI Code Repair Xiaobo Chen, Genliang Zhu, Ziyuan Wang, Chu Wang 2026-11-05

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.

view merged work →