Skip to main content

Module guide_review

Module guide_review 

Source
Expand description

The Syntax Guide’s SM-2 deck: recap self-marks and graded exercise results feed the same spaced-repetition engine as Learn, under a guide/ key namespace so the two decks coexist in one UserProgress without collision. Due guide cards surface on the Review page beside Learn cards.

Enums§

GuideCard
A due card in the guide deck. Content is looked up from SECTIONS at render time; the card carries the ids and its home section for the deep-link back into the guide.

Constants§

GUIDE_EX_PREFIX
GUIDE_RECALL_PREFIX

Functions§

due_guide_cards
Every guide card that is seeded (the reader has touched it) AND due. Untouched cards never appear — the deck reviews what you practiced, it does not nag about what you skipped.
exercise_key
The progress-map key for a guide exercise’s SRS entry.
recall_key
The progress-map key for a recap question’s SRS entry.
record_exercise_result
A graded exercise result: quality comes from the grader’s verdict (fail = 1, passed with hints ≈ 3–4, clean pass = 5).
record_recall_mark
A recap reveal + self-mark: quality is the reader’s own 0–5 judgment (the reveal keeps it honest — control of error, not surveillance).