@openstax/ts-utils 1.5.6 → 1.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,9 @@ export const getScoreGrade = (score, completed, userId, maxScore) => {
33
33
  return {
34
34
  userId,
35
35
  activityProgress: completed ? 'Completed' : 'Started',
36
- gradingProgress: completed ? 'FullyGraded' : 'NotReady',
36
+ // canvas assumes that anything that isn't 'FullyGraded' requires manual grading and displays a "needs grading" icon.
37
+ // if you warp your mind you can consider the portion of the assignment which is completed to be fully graded.
38
+ gradingProgress: 'FullyGraded',
37
39
  scoreMaximum,
38
40
  scoreGiven: roundToPrecision(scoreGiven, -2),
39
41
  };