People have already been caught, the way I understand how current AI is being taught, the material they'd come out with would likely get flagged up on Turnitin for plagiarism. ChatGPT still has massive flaws in it's ability to create new code