Skip to main content

Module records

Structs§

ExerciseDeadline
What decides an exercise’s deadline, held for every exercise of a course’s pages so that risk sees deadlines without the ExerciseRecords loaded.
ExerciseRecord
What agents may edit of an exercise, and what identifies its tasks and review settings. The exercise itself is stored in the full PageSnapshot of its page.
ExerciseTaskRecord
One task of an ExerciseRecord.
PageRecord
A page’s structure fields and blocks; exercises stay in the full PageSnapshot.

Enums§

ExerciseEditError
Why an ExerciseRecord couldn’t be applied.
ExerciseReviewConfig
Which peer and self review settings an exercise uses.
ReviewConfigKind
Which review settings an exercise uses.

Functions§

copy_course_default_review_config 🔒
Gives the exercise review settings of its own, copied from course_default with its questions: config config_id with review_instructions, questions with ids from new_id.
review_instructions_for_storage
Review instructions as the CMS stores them: None for no blocks or only empty paragraphs.