Knowledge Check Playbook
A Knowledge Check is a cumulative, book-level self-test — not a section. It is the one deliberate departure from section-page exercise patterns: quizzes have no hints.
Read and follow docs/authoring-playbook.md first. Its source-fidelity,
component, math, image, verification, and handoff rules all apply here.
Placement
- File:
content/<subject>/<book>/knowledge-check-XX-YY.md(book level, next to the chapter folders), whereXX-YYis the chapter range (e.g.knowledge-check-01-06.md). - Frontmatter:
title,description,source_chapters: "1-6", and aweightthat slots it between the right chapters in the sidebar/pager (e.g. after chapter 6 → weight one past chapter 6). Knowledge checks are exempt from the numeric-prefix rule; the validator knows this. - A book’s Knowledge Check ranges must not overlap. The filename, title,
source_chapters, chapter headings, and sidebar placement must describe the same range. If a published range is renamed, add a Hugoaliasesentry for the old URL.
Content rules
- Cumulative: questions cover every chapter in the range, grouped by the
section they come from, so a miss points the reader to the exact section.
Use one
## Chapter Nheading per chapter and one### N.Mheading per authored section; do not silently omit a section. - No hints. Never add a
hint=to a{{< fillin >}}or{{< multiplechoice >}}on a Knowledge Check — the lint rejects it. - Every question comes from the source textbook’s chapter Practice Tests (or Review Exercises), graded against the book’s official Answer Key. Use only an item whose answer is visibly present in the key. OpenStax often prints only odd-numbered answers, but parity can change by chapter—inspect the actual key pages rather than assuming.
- Same shortcodes as sections (
{{< fillin >}},{{< multiplechoice >}}), just without hints.answerLaTeX is single-backslash; the grader must self-grade each answercorrect(runnpm run verify-section). - Use
answerMode="unordered"when an item asks for a set of roots or solutions whose order is immaterial. Do not use it for ordered pairs/triples, sequences, or any prompt that prescribes an order. - The normal 2–3 consecutive-question limit is intentionally waived on a cumulative Knowledge Check. Still select for coverage rather than repetition.
- Remove print-only labels such as
Try It 7.31and standalone(a)markers from learner-facing component fields. Preserve every source item number in the source ledger. - Do not use static “Check answer” disclosures or file-backed textbook images. Questions must use the real components; required figures must be recreated semantically and checked against the PDF.
Source and answer audit
Build a ledger before authoring. For every selected item record:
- chapter and section;
- Practice Test or Review Exercise number;
- visually inspected question page and Answer Key page;
- exact printed prompt and official answer;
- independently computed answer;
- chosen component and any unavoidable response-mode adaptation.
Render the question and Answer Key pages from the PDF and inspect them visually. Text extraction is a locator only: it routinely drops mathematical notation, graph context, and part boundaries. Transcribe the prompt and key before solving it independently. If the printed prompt, official key, and calculation disagree, stop and document the discrepancy; do not silently change one to fit another.
Verify
- Reconcile the chapter/section headings against the authored book and the ledger. Every section in the range must be represented.
- Re-read each selected question and answer on the rendered PDF pages, then independently solve it. Self-grading proves parseability, not correctness.
- Run
npm run verify-section -- content/.../knowledge-check-XX-YY.md; it additionally fails on anyhint=. - Run
npm test; it validates the completecontent/tree, every Knowledge Check range and heading, real-grader parseability, and all authoring lints. For a new cumulative page, also runnpm run build && npm run check:build. - In the browser, confirm sidebar placement, chapter/section grouping, no hint controls, no print-source labels, correctly rendered math, and working right and wrong submissions from every chapter.
- Include the full source ledger, discrepancies, visual pages checked, and uncommitted files in the handoff.