Expand description
Mirroring our successes into the legacy study-registry ledger. The mirror row makes the
registry’s own ?exclude_already_registered=true skip the completion, keeps the teacher views’
existing registered flag working, and gives support the real student number.
The row’s study_registry_registrar_id is null, which is what marks it as ours: we registered the
attainment ourselves rather than handing it to a third party holding an API key.
Structs§
- Legacy
Ledger Divergence - One ledger row whose standing in the legacy ledger disagrees with ours.
Constants§
- LEGACY_
MIRROR_ LIMIT - How many rows one iteration may mirror.
Functions§
- get_
legacy_ ledger_ divergences - Ledger rows the legacy ledger contradicts, in either direction.
- mirror_
successes_ to_ legacy_ ledger - Writes a legacy ledger row for every successful registration that has none; returns the count.