Expand description
The Reconciliation tab: the failures defined by an absence, which no error count can catch.
Structsยง
- Credit
Registration Reconciliation - Legacy
Ledger Divergence Row - A ledger row the legacy study-registry ledger contradicts.
- Never
Entered Completion - A completion that satisfies the materialise predicate and has no ledger row.
- Reconciliation
Registration - One ledger row, flattened to what every reconciliation list needs to name a student and link onwards.
Enumsยง
- Live
State ๐Detector - A detector that is just โrows currently in this one live stateโ. The single definition of which
states these are and which detector each belongs to โ
rows_in_statesiterates it instead of hand-writing the state list once for the query and again per detectorโs filter.
Constantsยง
- DETECTOR_
LIMIT ๐ - Rows per detector. These are heavy queries and every list here is meant to be worked through, not scrolled.
- NEVER_
ENTERED_ ๐MIN_ AGE_ SECS - A completion younger than this is simply waiting for the next
materializetick.
Functionsยง
- _add_
routes - get_
credit_ registration_ reconciliation - GET
/api/v0/main-frontend/credit-registration-admin/reconciliation- The drift detectors: work the ledger should be doing and is not, and outcomes the study registry and the ledger disagree about. - rows_
by_ ๐ids - Reads the same admin projection the explorer uses, so a name, a course and a student number are spelled identically wherever the dashboard shows them.
- rows_
in_ ๐states - The two detectors that each just read one live state, in one
IN-list query and one admin-projection lookup shared across both. - to_
legacy_ ๐divergence - to_
never_ ๐entered - to_
reconciliation_ ๐row