Constraint Decay: The Fragility of LLM Agents in Backend Code Generation
Summary
A research paper examining how LLM agents struggle to maintain structural constraints in multi-file backend code generation. The study finds a decay in performance as non-functional requirements accumulate across frameworks, with notable differences between minimal frameworks like Flask and more convention-heavy ones like FastAPI and Django. Root causes are often data-layer defects and ORM/runtime violations, highlighting challenges in aligning automated code generation with real-world architectures.