I understand cheating is shitty but it would make a lot more sense for the teacher to make this a teachable moment about cheating, and to promote collaborative solutions, but also checking work you get from others.
A huge part of development is copying code and reusing code from libraries. The important part is that you know how the code you copy works.
when a professor does this they're "based" and "brainpilled" but when I pretend to sell crack on the benches outside, all of a sudden the judge claims it's "entrapment" and "illegal" smh....
Cheating in academia is the name of the game. There is a survivor bias here assuming the other 78 students didn't cheat. They're Learning how to not get caught. Building a better trap may simply yield a better better cheater. The proof ends up being in the work.