You seem to have a bunch of a-holes in your class. That sucks.
There is no reason for one classmate to rip another publicly. If one student has made a mistake that might jeopardize patient care the other students should act to remedy the situation, but in a non-embarrassing, non-confrontational way. Short of patients' well-being being in jeopardy, a student should not address the other students' performance.
When I'm a resident those types will definitely get negative comments on their evals in the context of being a poor team player and unpleasant to work with.