@openexam/match
v0.1.0
Published
Matching-pairs widget for OpenExam (spec 0.2).
Readme
@openexam/match
Matching-pairs widget. Author lists pairs as bullet items
separated by ->; the widget shuffles the right column at
presentation time and asks the student to re-match.
::: response match
- Paris -> France
- Madrid -> Spain
- Berlin -> Germany
:::The student response stores, for each left item, the original
source-order index of the right item they paired with it.
Grading: fraction of pairs where selected[i] === i.
Order-only questions (rearrange a list into the correct sequence) are a separate addon idea; this widget is just pairs.
License
Apache-2.0. See LICENSE and the canonical ../../LICENSE at the repository root.
