AI produces better code than humans, faster, and checks it more thoroughly. Even the best of us are realizing that it's now time to close the fucking editor.
It most definitely checks it more thoroughly if you test. Most engineers pre-AI barely tested their code. The results was that most code was buggy and did not work.
Now, LLMs generate a ton of testing code. Integration tests, fuzzing, differential tests, you name it. The code is higher quality and works better.
And we know it works better, because I can read the tests and say “okay the algorithm is outputting what it should for the scenarios we’ll use it for”. As opposed to just reading the algorithm, in which I have to say “well this looks fine”.