And was the code better, cleaner and more readable?
I'm going to interject here. I've got family who does software development professionally, and has leaned heavily into AI to assist with coding, and the answer is 'yes', but there are some caveats. If you just tell an AI what to do and let it run hog-wild, you end up with shit. When you have an experienced programmer review and have the AI make targeted changes, it is extremely effective. Some of his projects are seeing 1000% improvements on resource usage and/or compute time.
Here is the rub though. You're not going to end up with experienced programmer to manage programming AI agents if they never get any actual experience programming because they've just been having an AI do all the coding for them.