arxivcs.SEcs.AI2026-07-09
The Patchwork Problem in LLM-Generated Code
Viraaji Mothukuri, Reza M. Parizi
LLM-generated code often compiles, passes tests, and appears correct, yet breaks once deployed. The root cause is frequently structural rather than logical. A generated endpoint references configuration keys never declared in the project, an import targets a package that does not…