You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Refactor:RainbowGrades] Edit Moss Default Value (#58)
The current mossify function assumes average_letter_grade to be greater
than 0.
moss_penalty += -average_letter_grade * penalty;
s->getMossPenalty() < -0.01 is the threshold to check if student has
moss penalty.
However, if value of average_letter_grade or penalty is 0, it does not
pass the threshold and does not catch the student when displaying the
black outline or adding @ to final grade.
Hence, quick fix made by increasing the default moss_penalty from
-0.0000001 -> -0.0000002
0 commit comments