Skip to main content

Module scenarios

Module scenarios 

Source
Expand description

Named scenarios: small compositions of the control primitives, exposed as one command.

A scenario earns its place only by composing something data alone cannot express β€” an armed fault β€” or by being a hands-free dev demo; per-spec fixtures come from the seed instead.

Each writes the course unit for its courseCode whole, so its caller has to own that course code, and returns the identifiers it minted plus the scope its rows are ticked with.

StructsΒ§

ScenarioArgs

ConstantsΒ§

PASS_FAIL_SCALE πŸ”’
SCENARIOS

FunctionsΒ§

apply
arm πŸ”’
arm_after_import πŸ”’
course_code πŸ”’
ensure_course πŸ”’
A five-credit pass/fail course Suotar carries: the scenarios differ in the fault they arm, not in their data.
merge πŸ”’
plain πŸ”’
put_enrolment πŸ”’
put_person πŸ”’
string_field πŸ”’
timeout πŸ”’
sisuTimeout after the write, with the written submission’s id in result: the case a client cannot resolve without verifying.
unanswered πŸ”’
The import lands but its item is missing from the response, so the client learns no id at all.