Work

class Work[source]

A submission in CodeGrade.

id: int

The id of the submission

user: NormalUser | GroupUser
origin: WorkOrigin

The way this submission was created.

created_at: datetime

The moment the submission was created.

manual_grading_status: WorkManualGradingUnknown | WorkManualGradingFinished | WorkManualGradingUnfinished

The status of the manual grading for this submission.

grade: float | None

The grade of the submission, or None if the submission hasn’t been graded of you cannot see the grade.

assignee: NormalUser | GroupUser | None

The user assigned to this submission. Or None if not assigned or if you may not see the assignee.

grade_overridden: bool

Does this submission have a rubric grade which has been overridden.

extra_info: Any

Some extra info that might be available. Currently only used for git submissions.

timeframe: TimeframeLike

The timeframe that was used to hand-in this submission. Note that this is a combined timeframe that might be more lenient than any timeframe that existed.

assignment_id: int

The assignment id of this submission.