Structural constraints in real codebases
Backend generation, enterprise migration, and architectural repair all show the same weak point: agents can produce runnable code that fails engineering constraints.
Constraint Decay fixes one OpenAPI contract across 80 backend tasks and varies architecture, database, and object-relational mapping requirements. Capable configurations lose about 30 percentage points in assertion pass rate under full constraints. Database choices cause the largest losses.
ScarfBench makes agents migrate Java applications among Spring, Jakarta EE, and Quarkus. Only 1 of 204 directed migrations reaches full behavioral equivalence. Even the strongest whole-application run reports 87% compile success, 40% deploy success, and 12% test success.
SmellBench adds a design-maintenance angle. Expert review finds 63.1% of hard static smell detections are false positives. The best agent resolves 47.7% of cases, and the most aggressive repair setting introduces 140 new smells.