Structs§
- Course
Exercise Metrics - Course
User Points - Course
User Points Inner - Database
User Course Chapter Exercise Progress - Ewus
Course - Ewus
Exam - Exam
User Points - Exam
User Points Inner - Exercise
User Counts - Exercise
With User State - Convenience struct that combines user state to the exercise.
- Exported
User Exercise State - User
Chapter Metrics - User
Course Chapter Exercise Progress - User
Course Metrics - User
Course Progress - User
Exercise State - User
Exercise State Update
Enums§
- Ewus
Context - Ewus
Course OrExam - Reviewing
Stage - Tells what stage of reviewing the user is currently in. Used for for peer review, self review, and manual review. If an exercise does not involve reviewing, the value of this stage will always be
NotStarted
.
Functions§
- get_
all_ for_ user_ and_ course_ or_ exam - get_
by_ id - get_
by_ ids - get_
course_ metrics - get_
course_ metrics_ indexed_ by_ module_ id - get_
course_ users_ counts_ by_ exercise - get_
or_ create_ user_ exercise_ state - get_
or_ create_ user_ exercise_ state_ for_ users - get_
single_ module_ metrics - Gets course metrics for a single module.
- get_
user_ course_ chapter_ exercises_ progress - get_
user_ course_ chapter_ metrics - get_
user_ course_ metrics - get_
user_ course_ metrics_ indexed_ by_ module_ id - get_
user_ course_ progress - get_
user_ exercise_ state_ if_ exists - get_
user_ total_ course_ points - get_
user_ total_ exam_ points - Gets the total amount of points that the user has received from an exam.
- get_
users_ current_ by_ exercise - merge_
modules_ 🔒with_ metrics - stream_
course_ points - stream_
exam_ points - stream_
user_ exercise_ states_ for_ course - update
- TODO: should be moved to the user_exercise_state_updater as a private module so that this cannot be called outside of that module
- update_
exercise_ progress - TODO: should be removed
- update_
reviewing_ stage - upsert_
selected_ exercise_ slide_ id