Expand description
Given everything known once the lookup answered, what happens to the registration: settled as a duplicate of a credit already held, failed, or its payload frozen for import.
Structs§
- Competing
Credits 🔒 - The credits outside Sisu this attempt’s grade competes with for the module: what we registered from the student’s other attempts, which Suotar’s copy of Sisu may predate, and the credits our records hold.
Functions§
- freeze 🔒
- Only now does the row become claimable by
import: the payload is frozen and the event records when the enrolment was resolved. - freeze_
message 🔒 - The timeline line for a freeze: that it replaces another attempt’s registered grade, and that its credits were adjusted to fit the enrolment.
- resolve 🔒
- What the answer comes to once Sisu is known not to hold the credit: nothing sent when our own records hold a credit the grade would not beat, a failure when there is nothing to register against, and otherwise the payload frozen for import.
- unsent_
duplicate 🔒 - The row is not sent, because a credit it would not beat is already held, and moves to
duplicate. The grade we would have sent stays on the row as the one a later regrade has to beat.