Skip to content

Practice progress

app.progress

Longitudinal practice progress per specialty track, and the evidence-banded session debrief.

The practice score is a transparent, formative summary of the nine domain states (ADR 0001): evidenced 1, partly 0.5, not yet 0, safety concern 0 and capped below the pass line; suspended domains are left out. Attempts with hints are drawn but never enter the rolling mean, because supported performance is not independent performance. Learners are compared only with their own earlier attempts.

OPERATIONS = frozenset({'progress_series'}) module-attribute

CREDIT = {'evidenced': 1.0, 'partially_evidenced': 0.5, 'not_yet_evidenced': 0.0, 'safety_concern': 0.0} module-attribute

MIN_JUDGED = 5 module-attribute

ROLLING = 5 module-attribute

RETEST_GAP = timedelta(days=7) module-attribute

KINDS = ('unassisted', 'with_hints', 'retest') module-attribute

BANDS = (('strong', 'Already strong', ('evidenced',)), ('developing', 'Getting there', ('partially_evidenced',)), ('work_on_next', 'Work on next', ('safety_concern', 'not_yet_evidenced')), ('not_judged', 'Not judged', ('suspended',))) module-attribute

FORMULA = 'Evidenced 1, partly 0.5, not yet 0 over the judged domains, x100. Suspended domains are left out; a safety concern caps the score below the pass line.' module-attribute

pass_line()

practice_score(dimensions, line=None)

language_of(encounter)

attempt_kinds(encounters)

unassisted | with_hints | retest per encounter id; a re-test is an unassisted return to a case first tried 7+ days earlier.

rolling_mean(attempts)

recent_vs_earlier(attempts)

Per domain: evidenced counts in the latest five independent attempts against the five before them.

weekly(attempts)

Skill map by ISO week, rated on the latest attempt in each week.

series(encounters, filters=None, line=None)

debrief(encounter, review_)

Domains banded by state, each citing up to two learner turns with the reply they drew.

run(store, db, actor, op, d)