I had a prof checking file modified time in a multi-file programming homework to determine if you just copied everything from mates. Guess what, I refactored my code before submitting. Only knew it when confronting him after a shockingly low score.
teachers requiring you to submit your assignments as google docs so they can look through the edit history and tell you didn't use ai is killing the "do it at the last minute" crowd.