I personally find AI generated code to be pretty average. I might get AI to write a function, then rework it. I use it a lot for reviews, which helps. And also as a sounding board for research - this is by far the most valuable use case, saves a ton of time. Or get it to write tests similar to what you have, just tell it what you want tested, and get it to suggest.
I definitely don't trust the code it writes, especially for anything remotely complicated.
I definitely don't trust the code it writes, especially for anything remotely complicated.