Radar

← digest 2026-11-08

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

minor signal 16

A preregistered study of 73 tasks covering 60 documented changes in CPython, Node.js and SQLite finds that LLM-repaired code after API migrations can run cleanly yet return wrong results. An all-assertions gate on typical inputs released 0.410 of wrong repairs; one edge input written from the release note cut this to 0.065, and to 0.061 on 15 unseen clusters. Hard distractors that match legacy output on typical inputs still let 0.168 and 0.153 of wrong programs pass.

Action: When using an LLM to repair code after a runtime or API migration, add at least one edge-case test derived from the release note rather than relying on typical-input assertions alone.

Migration effort: none

Cited

Accepted but Wrong: Silent Failures of LLM Code Repairs after API Migrations arxiv-ai · community · 2026-11-05

Report an error