I don't claim the AI code is good or bad. It generated me a tool I needed in a short time in a domain where I don't have enough knowledge. I have other high value work to do. I got the tool I wanted and moved on. I didn't even bother code reviewing it. It's like you ask an intern to knock you up a tool to do a job and instead of two days waiting you get it in a few hours.