agent-builds-whole-python-repository-natural-language-requirements-alone-refining CLM-0357
mechanismsingle paperReviewed by AI

When an agent builds a whole Python repository from natural-language requirements alone, refining component boundaries with explicit cohesion and coupling thresholds until no split or merge is triggered produces higher functionality coverage and test pass rate than letting the LLM decide restructuring actions for a fixed budget of rounds, because unconstrained LLM-decided actions keep over-decomposing past the point of a coherent modular structure.

Capability: Generating and editing working code

Observed on

Six Python repositories in RepoCraft, generated from revised high-level requirement descriptions, with GPT-5 mini and DeepSeek V3.2 backbones and a shared downstream TDD generation.

Sources

  • Validated by: Functionality Coverage, Pass Rate and Voting Rate on RepoCraft against mini-SWE-agent, Paper2Code and RPG with an identical downstream code-generation pipeline; reported gains over RPG of 4.55-20.08 points coverage and 7.61-29.74 points pass rate, plus ablations removing structural evolution and a comparison with LLM-decided evolution at 1, 3 and 5 rounds.. Measured on six repositories with two backbones, three runs averaged, cross-model evaluation; main table reports only three repositories. [truncated]
Reviewed by AI (Claude Opus 5)Last checked: 2026-10-17Evidence 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: low. Falsifier as drafted: On the same benchmark and scaffold, LLM-decided structural evolution with more rounds matching or beating the metric-thresholded version on coverage and pass rate, or removing the structural-evolution loop not reducing those scores.