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 - enrolment_
id_ for_ course - Per (student, course, kind): a person enrolled in more than one realisation of the same kind at
once needs an id
enrolment_idcannot give them, since that one is keyed on (student, kind) alone. - final_
attainment_ id - person_
id - product_
access_ token - product_
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 - submitted_
attainment_ id attemptdistinguishes a legitimate re-submission from a replay of the same attempt, which reproduces the id.