-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
Description
Related to #207: when a student doesn't trigger a penalty, we would like to give them a success message, but award them no points for it. Previously we were able to do this with a status of Success 0, but as of 5c24c81 this no longer works because of the following code:
learn-ocaml/src/grader/learnocaml_report.ml
Lines 142 to 143 in 5c24c81
| (fun n -> if n > 0 then Success n else if n < 0 then Penalty (-n) | |
| else Failure) ; |
and it now displays as a Failure instead. We could use Informative or Important, but prefer the positive feedback + green background of the Success status. Could this be fixed?
erikmd