Students deliberately induce and then identify subtle logical errors or 'hallucinations' in AI-generated code. The lesson teaches the critical skill of skepticism and verification, ensuring the final output matches the original intent.

Similar Lessons