ID:WORK-009Status:pending
Build quiz Rune
Priority:lowComplexity:unknownSource:SPEC-008
quiz RuneAssessment with multiple questions, answer options, and scoring. Supports multiple-choice, true/false, and fill-in-the-blank. Schema.org: Quiz.
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
title | String | — | No | Quiz title |
passingScore | Number | — | No | Minimum score to pass (percentage) |
shuffle | Boolean | false | No | Randomize question order |
## heading → a question[x] → correct answer(s)Quiz<form>title, passingScore, shufflequestions (ol), each containing prompt, options (ul of radio/checkbox inputs), explanation (blockquote)runes/learning/src/tags/quiz.tsrunes/learning/src/config.tspackages/lumina/styles/runes/quiz.csspackages/lumina/index.cssrunes/learning/test/tags/quiz.test.tsQuizThis is the most complex learning rune — significant JS for interactive form with score calculation, answer checking, and result display. Likely a web component or full behavior in @refrakt-md/behaviors.
The [x] checkbox syntax for correct answers needs custom parsing in the content model — similar to how GFM task lists work but repurposed for quiz answers.