Measuring the sloppiness of code
earendil.com
Measuring the sloppiness of code
1–10 of 246 posts
Re: Measuring the sloppiness of code
#2I like how this captures with a metric (lines of code and cyclomatic complexity, some other basically tractable measures) in an automated way, something we all by now intuitively know.
Re: Measuring the sloppiness of code
#3I believe that the era of “ai writes tons of slop code” will be a stepping stone in the longer story, and is simply a current gap in the reward functions.
Per the author - if we can get strong measurements of what good code is, we can train against it and close the gap fast. Excited to see more thinking in this area
Re: Measuring the sloppiness of code
#4Re: Measuring the sloppiness of code
#5I love this train of thought. Code quality is critical, but I don’t think we’re correctly evaling it at the moment. If we could get solid benchmarks measuring the quality of generated code, we might see the models climb those benches fast. I believe that the era of “ai writes tons of slop code” will be a stepping stone in the longer story, and is simply a current gap in the reward functions. Per the author - if we ca…
Re: Measuring the sloppiness of code
#6Re: Measuring the sloppiness of code
#7I love this train of thought. Code quality is critical, but I don’t think we’re correctly evaling it at the moment. If we could get solid benchmarks measuring the quality of generated code, we might see the models climb those benches fast. I believe that the era of “ai writes tons of slop code” will be a stepping stone in the longer story, and is simply a current gap in the reward functions. Per the author - if we ca…
Totally agreed that we're not looking at the correct metric right now. Increasingly, code quality will be determined by outcomes.
Re: Measuring the sloppiness of code
#8Which is more important to you: Velocity to a solution? Or velocity to understanding?
Re: Measuring the sloppiness of code
#9I love this train of thought. Code quality is critical, but I don’t think we’re correctly evaling it at the moment. If we could get solid benchmarks measuring the quality of generated code, we might see the models climb those benches fast. I believe that the era of “ai writes tons of slop code” will be a stepping stone in the longer story, and is simply a current gap in the reward functions. Per the author - if we ca…
If you could easily benchmark the quality of code then models would be trained on these benchmarks/metrics.
However it is more likely to be something which can be detached..
Re: Measuring the sloppiness of code
#10Well... Coding was never the most part of work I spent time.