'fix up generated code' but do you agree that finding a mistake (without even knowing if it's there) might be even harder than writing from scratch?
I played with ChatGPT and asked it interview questions, and I thought it was a pretty interesting exercise to find its mistakes and get it to fix them. Good tool for training interviewers, perhaps.