docs/problems/answer-only
problems · answer-only

answer-only

One response, one deterministic grading result.

response kinds

response.kinduse it fortypical strategy
multiple-choiceA/B/C/D/E selection.exact
numericIntegers or decimals, optionally within a tolerance.numeric
expressionAlgebraic or symbolic answers.equivalence

what the server checks

The public response specification describes the input shape. Correct choices and values live ingrading on the server and are removed before a problem is sent to the client.

public response shape
{
  "mode": "answer-only",
  "response": {
    "kind": "numeric",
    "requireInteger": true
  },
  "marks": 1
}
no hidden answer in the browser
The client receives the prompt and public response shape. The server reads the full grading spec, evaluates the submission, and only then returns correct-answer display data.