Some packages may send a cmi.core.lesson_status, cmi.success_status, or cmi.completion_status prior to ever recording a score or the final score. In this case, get_grade could be evaluated with a 0 or otherwise not up-to-date score, and this will be sent to the LMS. The set_value method should update the grade in the LMS even if already passed/failed/completed to avoid missing the updated score.
Some packages may send a
cmi.core.lesson_status
,cmi.success_status
, orcmi.completion_status
prior to ever recording a score or the final score. In this case,get_grade
could be evaluated with a 0 or otherwise not up-to-date score, and this will be sent to the LMS. Theset_value
method should update the grade in the LMS even if already passed/failed/completed to avoid missing the updated score.