I have some quizes that award the students a grade based upon their maximum score, and others that are based upon their average score over their attempts.
A student pointed out to me that the student view of index.php shows a final column headed with translation string "$strbestgrade," which least in the Japanese translation $strbestgrade is the equivalent of "maximum grade."
The difference between "grade" and "score" is not apparent to students (or me in normal non-moodle parlance) so this leads students to believe that all quizes are marked based on the best score.
The column in the student (or now equiv role) contains a variable called $bestgrade
But despite the naming of these two variables, and the translation of the former, when the quiz is based upon average grade, then the variable "$bestgrade" contains the average grade (as it really should I think).
But $strbestgrade really does seem to be "bestgrade"
$strbestgrade = get_string("bestgrade", "quiz");
I am changing this line to
$strbestgrade = get_string("grade", "quiz");
Because it is not the "best" of anything.
And I think that the variable names should be changed too.
But perhaps I am getting the wrong end of the stick. Can a bug this elementary come to light now? Surely not.
Tim