Skip to main content

Module ids

Module ids 

Source
Expand description

Default identifier derivations for the simulated world. Every control upsert may pass an id verbatim instead, and the seed does for anything a spec asserts on.

derived never formats a student number into the id: these reach the audited call log and the event details, where the scrubber’s free-text scan only redacts bare digit runs.

Constants§

MOCK_NAMESPACE 🔒
Namespaces every derived id, so the same inputs reproduce the same id across restarts and CI runs.

Functions§

assessment_item_id
course_unit_id
derived 🔒
enrolment_id
Per (student, course, kind): one person may hold enrolments of the same kind on several courses.
final_attainment_id
person_id
pushed_attainment_id
realisation_id
Per (course, kind) rather than per student: a realisation is a shared teaching event whose roster list-by-course returns.
study_right_id
Suotar reads an enrolment’s kind off this id: avoin in it means open university.
submitted_attainment_id
Random like Suotar’s own, so a resubmission of the same completion gets a new id.