Skip to main content

Module credit_registration_enrolment_check_outcomes

Module credit_registration_enrolment_check_outcomes 

Source
Expand description

The log of answered enrolment checks, which the check schedules are tuned from, and the dashboard’s reads over it.

Structs§

EnrolmentCheckFindings
What the checks of one group, step and source found.
EnrolmentCheckLateness
How late schedule checks of one group and step ran against their ladder time.
EnrolmentCheckPopulation
How many rows wait for an enrolment in one group and step.
NewEnrolmentCheckOutcome

Constants§

RETENTION_DAYS
Kept well past the call log’s 90 days: a check-requested row lives for 180, and the schedules are refitted from a year of outcomes.
VERY_LATE_SECS
A check lateness past this counts as very late on the dashboard.

Functions§

delete_older_than
Deletes up to limit outcomes checked before cutoff and returns how many went.
get_findings_since
What the checks answered since since found, per group, step and source.
get_lateness_since
Lateness of the schedule checks answered since since, per group and step. A check brought forward by anything else has no lateness and is left out.
get_population
The live rows waiting for an enrolment right now, per group and step.
insert
Logs one answered enrolment check.