Exactly.
AI can produce mediocre or outright bad code no problem.
It was trained on the average, not just on Carmack level code...
It needs to be checked by a professional.
This won't ever change with LLMs or gen AI like it is now