Not the person you're replying to, but I've had some courses in which you received your graded exams and had an opportunity to regain some points by choosing some number of incorrect responses and redoing the work to obtain a correct answer.
This was pre-LLM, but you could cheat back then too. LLMs make it a bit easier by showing you the work to "show" on your corrections.