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-coursereturns. - study_
right_ id - Suotar reads an enrolment’s kind off this id:
avoinin it means open university. - submitted_
attainment_ id - Random like Suotar’s own, so a resubmission of the same completion gets a new id.