>>What should matter are not grades, but whether you can demonstrate mastery of the material.
Passing grades used to only be awarded upon demonstration of mastery of the material.
Oral exams are the best way.
It shouldn’t take too long to ask a few questions to assess if they understand the material.