Skip to main content

Module config_validation

Module config_validation 

Source
Expand description

Deciding whether one module’s credit-registration configuration is usable.

Pure: the facts are gathered by crate::course_module_suotar_configurations::get_config_facts_for_enabled_modules, the course code verdict comes from Suotar’s course-codes/validate, and the result is stamped back by crate::course_module_suotar_configurations::record_config_check.

Enums§

CourseCodeVerdict
What Suotar’s course-codes/validate said about a course code.

Constants§

COURSE_CODE_NOT_ALLOWED 🔒
NO_COURSE_CODE 🔒
The problems the check reports, in the order they block a registration. English on purpose: this is operator diagnostics stored on the row, not student-facing copy.
NO_ECTS 🔒

Functions§

check_module_config
Checks one module’s configuration.