Toward automated verification of unreviewed AI-generated code
peterlavigne.com
Toward automated verification of unreviewed AI-generated code
1–10 of 100 posts
Re: Toward automated verification of unreviewed AI-generated code
#2Re: Toward automated verification of unreviewed AI-generated code
#3Re: Toward automated verification of unreviewed AI-generated code
#4Again, I'm not opposed to AI coding. I know a lot of people are. I have multiple open source projects that were 100% created with AI assistants, and wrote a blog post about it you can see in my post history. I'm not anti-ai, but I do think that developers have some responsibility for the code they create with those tools.
Re: Toward automated verification of unreviewed AI-generated code
#5Re: Toward automated verification of unreviewed AI-generated code
#6Re: Toward automated verification of unreviewed AI-generated code
#7Re: Toward automated verification of unreviewed AI-generated code
#8For those of us with decades of experience and who use coding agents for hours per-day, we learned that even with extended context engineering these models are not magically covering the testing space more than 50%.
If you asked your coding agent to develop a memory allocator, it would not also 'automatically verify' the memory allocator against all failure modes. It is your responsibility as an engineer to have long-term learning and regular contact with the world to inform the testing approach.
Re: Toward automated verification of unreviewed AI-generated code
#9Even with mutation testing doesn’t this still require review of the testing code?
We are simply shuffling cognitive and entropic complexity around and calling it intelligence. As you said, at the end of the day the engineer - like the pilot - is ultimately the responsible party at all stages of the journey.
Re: Toward automated verification of unreviewed AI-generated code
#10While I understand why people want to skip code reviews, I think it is an absolute mistake at this point in time. I think AI coding assistants are great, but I've seen them fail or go down the wrong path enough times (even with things like spec driven development) where I don't think it's reasonable to not review code. Everything from development paths in production code, improper implementations, security risks: all…
There are a subset of things that it would be ok to do this right now. Instances where the cost of utter failure is relatively low. For visual results the benchmark is often 'does it look right?' rather than 'Is it strictly accurate?"