In `score_for_attempt()` if the `grader_type` is `ML` the score is calculated from the `rubric_scores`. Otherwise the value from the attempt dictionary is returned.