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.

File envelope
{
  "format": "a_daptive.items",
  "version": 1,
  "items": [ /* one or more items below */ ]
}

Item settings

Required fields first; everything else is optional.

FieldRequiredMeaning
titleyesShort label in banks and lists
stemyesStudent-facing prompt (Markdown + LaTeX-like math)
answeryesScoring object: numeric, mcq, or short
keynoStable id — re-import updates the same item
explanationnoSolution notes (not shown as the stem)
domainPath / domainSlugnoLeaf domain, e.g. algebra/linear
difficultynoRasch difficulty (default 0; harder → higher)
timeLimitSecnoPer-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.
tagsnoLabels array, e.g. ["warmup","exam"]
activenoDefault 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).

numeric item
{
  "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+1y = 2x + 1. What is the slope?

2. Multiple choice (MCQ)

options is the list shown to the student; answer must match one option exactly.

mcq item
{
  "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=0x^2 - 5x + 6 = 0, the discriminant is:

3. Short text

Exact string match. Use ignoreCase: true for friendlier checking.

short item
{
  "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 ddx(x3)\frac{d}{dx}(x^3). 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.

graph + numeric
{
  "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=−12x+1y = -\frac{1}{2}x + 1:

y = −½x + 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