top | item 46313326

(no title)

Rperry2174 | 2 months ago

LOC is a bad quality metric, but its a reasonable proxy in practice..

Teams generally don't keep merging code that "doesn't work" for long... prod will brake, users will push back fast. So unless the "wrongness" of the AI-generated code is buried so deeply that it only shows up way later, higher merged LOC probably does mean more real output.

Its just not directly correlated there is some bloat associated too.

So that caveat applies to human-written code too, which we tend to forget. There's bloat and noise in the metric, but its not meaningless

discuss

order

catoc|2 months ago

Agreed, there is some correlation between productivity and LoC. That said the correlation it’s weak; and does not say anything about quality (if anything quality might be inversely correlated; which too would be a very weak signal)

frizlab|2 months ago

For instance if I push 10kloc that are in a lib I would have used if I were not using AI, yes, I have pushed much more code, but I was not more productive.