Assignment model: Score
Description
Instead of storing a Double for an assignment's grade, store a Score object.
A Score has the following fields:
Type | Name | Comment |
---|---|---|
Long | id | |
Submission | submission | |
Integer | score | |
ScoreType | type | |
Boolean | scriptGraded | |
Person | grader | nullable |
LocalDateTime | gradedAt |
ScoreType
The ScoreType is the type of grade that will be received. This can be:
-
PASS_FAIL
: a pass (1) or a fail (0) -
GRADE
: a 'normal' grade from 0 (0) or 1 (10) to 10 (100) -
SCORE
: an integer score for courses with a gamified scoring system.
The numbers in parentheses correspond to the score
that would be stored.
Edited by Ruben Backx