We tried a lot of things. What eventually worked was ending grades. You mastered the material or you did not; perhaps a couple of students mastered it with high marks.
Obvs this takes an administration that is OK with that, which most aren't.
Obvs this takes an administration that is OK with that, which most aren't.