@longsightgroup/qti3-fixtures
v0.7.2
Published
Public synthetic QTI 3 item fixtures and expected scoring outcomes for qti3.
Downloads
2,113
Maintainers
Readme
@longsightgroup/qti3-fixtures
Public synthetic QTI 3 fixtures for qti3.
This package provides canonical item XML and expected scoring outcomes for supported QTI 3 item interactions, response-processing patterns, template behavior, and adaptive feedback behavior.
Install
npm install @longsightgroup/qti3-fixturesUse
import { canonicalFixtures, getFixtureById } from "@longsightgroup/qti3-fixtures";
const choice = getFixtureById("choice-reference");
console.log(canonicalFixtures.length);
console.log(choice?.xml);
console.log(choice?.attempts);XML Files
The package also publishes standalone XML files under:
@longsightgroup/qti3-fixtures/xml/*.xmlThese files are useful for browser harnesses, external validators, and fixture-based conformance tests that need real files instead of in-memory fixture objects.
See the main repository README for the support matrix and release notes: https://github.com/LongsightGroup/qti3
