Does code cleanliness affect coding agents? A controlled minimal-pair study
1–10 of 112 posts
Re: Does code cleanliness affect coding agents? A controlled minimal-pair study
#2Re: Does code cleanliness affect coding agents? A controlled minimal-pair study
#3Re: Does code cleanliness affect coding agents? A controlled minimal-pair study
#4This feels like a terrible approach, sufficient to condemn the entire study.
Apparently half of the "minimal pairs" in this work were constructed in this way. I simply am not going to trust any conclusion that requires assuming these AI "cleaned" repos are in any way representative of actually-good codebases.
Re: Does code cleanliness affect coding agents? A controlled minimal-pair study
#5Re: Does code cleanliness affect coding agents? A controlled minimal-pair study
#6Re: Does code cleanliness affect coding agents? A controlled minimal-pair study
#7Even if agents can learn to navigate all the stubs and WET crap they leave behind do we really want a code base that no human can follow what's actually going on?
So I personally at a minimum will want to talk “in code” about what code does.
Re: Does code cleanliness affect coding agents? A controlled minimal-pair study
#8In my experience, the delta in agent performance is substantial if the codebase is littered with dead code, redundant code, unreachable fallbacks, leaking abstractions and half-baked design patterns vs if the code is well-organized, with clear data flow, with good encapsulation and clean architecture. Like, I've seen all the frontier models have to do several rounds of code review / QA and fix when the code is bad vs…
The most useful discussion would be if we all read the paper and critique its methodology or results.
Re: Does code cleanliness affect coding agents? A controlled minimal-pair study
#9"agent pipelines that [...] clean a messy [repository]" This feels like a terrible approach, sufficient to condemn the entire study. Apparently half of the "minimal pairs" in this work were constructed in this way. I simply am not going to trust any conclusion that requires assuming these AI "cleaned" repos are in any way representative of actually-good codebases.
Re: Does code cleanliness affect coding agents? A controlled minimal-pair study
#10With coding agents, agents can produce code quicker. The same trade-off still applies.. but, the time it takes an LLM coding agent to write well organised code is still going to be quicker than the time it takes me to write scrappy code.