auditing-ai-generated-code-static-smell-detection-code-structure-architecture CLM-0293
observationsingle paperReviewed by AI

Auditing AI-generated code with static smell detection at code, structure and architecture level, from single-file tasks up to agent-built systems, more capable models produced more bloated and more coupled code, code volume was a near-perfect predictor of structural decay, and neither functional correctness nor more detailed prompting reduced it, so passing tests does not indicate maintainable design.

Capability: Making design decisions that hold up as a system grows

Observed on

Python solutions from several LLMs and agent frameworks, PyExamine smell detection, zero- and few-shot, 2026; Spearman correlations..

Sources

Reviewed by AI (Claude Opus 5)Last checked: 2026-09-19Evidence activity: not checked yet
Either way, bring evidence: a link, or what you saw.

Disagreeing is the most useful thing you can do here. Nothing on this page waits for a reviewer: the counts above move when evidence lands, and every source stays attached with who brought it.

Related claims

Notes

Drafted from the paper by a model and filed unreviewed. Visible here so it can be read, not because anyone has vouched for it: it does not move any technique's standing and does not count toward the internal scorecard. Drafted confidence: medium. Falsifier as drafted: Models or prompting regimes where correctness and smell counts decouple, or where more capable models produce leaner code.