For item authors
Item bank format
Build and share tasks as an a_daptive.items JSON pack. Stems use Markdown and LaTeX-like math. Below are the main question types and optional settings, with live previews.
Pack wrapper
Every file starts with format and version, then an items array.
{
"format": "a_daptive.items",
"version": 1,
"items": [ /* one or more items below */ ]
}Item settings
Required fields first; everything else is optional.
| Field | Required | Meaning |
|---|---|---|
title | yes | Short label in banks and lists |
stem | yes | Student-facing prompt (Markdown + LaTeX-like math) |
answer | yes | Scoring object: numeric, mcq, or short |
key | no | Stable id — re-import updates the same item |
explanation | no | Solution notes (not shown as the stem) |
domainPath / domainSlug | no | Leaf domain, e.g. algebra/linear |
difficulty | no | Rasch difficulty (default 0; harder → higher) |
timeLimitSec | no | Per-item time limit in seconds (player countdown; late answers count as incorrect). Tests can also set an overall attempt limit in the Content → Tests form. |
tags | no | Labels array, e.g. ["warmup","exam"] |
active | no | Default true — inactive items stay out of new picks |
LaTeX-like math in stems
- Inline:
$y = 2x + 1$ - Display:
$$\int_0^1 x\,dx$$ - Bold / lists / code via normal Markdown
1. Numeric
Number answers with optional tolerance (absolute).
{
"key": "alg-linear-slope-1",
"title": "Slope of a line",
"stem": "The line $y = 2x + 1$. What is the **slope**?",
"answer": {
"type": "numeric",
"answer": 2,
"tolerance": 0
},
"explanation": "The coefficient of $x$ is the slope.",
"domainPath": "algebra/linear",
"difficulty": -0.5,
"timeLimitSec": 90,
"tags": [
"algebra",
"warmup"
],
"active": true
}Student preview
The line y=2x+1. What is the slope?
2. Multiple choice (MCQ)
options is the list shown to the student; answer must match one option exactly.
{
"key": "alg-quad-disc-1",
"title": "Discriminant",
"stem": "For $x^2 - 5x + 6 = 0$, the discriminant is:",
"answer": {
"type": "mcq",
"options": [
"1",
"13",
"25",
"36"
],
"answer": "1"
},
"domainSlug": "quadratic",
"difficulty": 0.7,
"tags": [
"algebra",
"quadratic"
]
}Student preview
For x2−5x+6=0, the discriminant is:
3. Short text
Exact string match. Use ignoreCase: true for friendlier checking.
{
"key": "calc-power-rule-1",
"title": "Power rule",
"stem": "Find $\\frac{d}{dx}(x^3)$. Enter your answer like `3x^2`.",
"answer": {
"type": "short",
"answer": "3x^2",
"ignoreCase": true
},
"domainPath": "calculus/derivatives",
"difficulty": -0.3,
"timeLimitSec": 120,
"tags": [
"calculus"
]
}Student preview
Find dxd(x3). Enter your answer like 3x^2.
4. Stem with a graph
Embed a :::graph block in the stem (JSON with fn and axis bounds). Pair it with any answer type.
{
"key": "alg-graph-intercept-1",
"title": "Y-intercept from a graph",
"stem": "Graph of $y = -\\frac{1}{2}x + 1$:\n\n:::graph\n{\"fn\":\"-0.5*x+1\",\"xMin\":-4,\"xMax\":4,\"yMin\":-2,\"yMax\":4,\"label\":\"y = −½x + 1\"}\n:::\n\nWhat is the **y-intercept**?",
"answer": {
"type": "numeric",
"answer": 1,
"tolerance": 0
},
"domainPath": "algebra/linear",
"difficulty": 0.2,
"tags": [
"graph",
"linear"
]
}Student preview
Graph of y=−21x+1:
What is the y-intercept?
Next steps
- Full field reference:
docs/ITEM_EXCHANGE.md - Sample pack file:
examples/items.sample.json - Import a pack in the Content cabinet → Import / export