Since ChatGPT has been shown to be correct at understanding the problem but wrong in execution, its quite easy to detect where its been used. Additionally, you can ask the student to repeat the work while you watch them or ask ques