I think I found it: quiz_calculate_best_attempt in locallib.php.
Jacob
Quiz
Where in the code is a quiz grade calculated?
This discussion has been locked so you can no longer reply to it.