If you got stuck in a section that was dominated by a particular group of students, you were screwed because the class had a hard curve and the group openly and blatantly cheated.
We had a faculty mentor from a different department sit in and witness what happened in an midterm, and escalated it to the administration, who made an accommodation for us.
I think this varies a lot by professor. Typically failing a student involves a lot of extra paperwork on the professor's part. Doubly so if it's for academic dishonesty.
If you got stuck in a section that was dominated by a particular group of students, you were screwed because the class had a hard curve and the group openly and blatantly cheated.
We had a faculty mentor from a different department sit in and witness what happened in an midterm, and escalated it to the administration, who made an accommodation for us.