Skip to main content

Module logic

Module logic 

Source
Expand description

Per-item world-state resolution: pure functions over the working set, with now passed in.

The caller resolves faults ahead of this, so per item the order is first matching fault, then here.

Functionsยง

attained ๐Ÿ”’
attainment_reference ๐Ÿ”’
The bare {id, type} body that both registered answers carry.
attainment_summary ๐Ÿ”’
duplicate_outcome ๐Ÿ”’
enrolment_dto ๐Ÿ”’
enrolments_for ๐Ÿ”’
existing_attainments ๐Ÿ”’
import_item
list_by_course_item
product_access_token_item
record_submission
register
resolve_enrolments_item
resolve_person_item
ripen
Returns whether the submission moved to Registered in this call.
ripen_person_course
Moves every ripe submission of this person and course. Persisted wherever it is evaluated, or the next read contradicts this one.
serde_plain ๐Ÿ”’
Renders a wire-shaped enum through its serde spelling rather than duplicating the strings.
verify_item