Education

Api Learning Calibration Submit

Grade one calibration item and apply the mastery-calibration decision pipeline (events.py → v136/v167 state → v137 audit row).

Body: {"calibration_id": int, "selected_option": int}.

post/api/learning/calibration/submit

Request

  • Base URL: https://www.oxfordledge.com (the document declares no server; this is the origin it was published from)
  • URL: https://www.oxfordledge.com/api/learning/calibration/submit
  • Auth: none declared

Response

Successful Response

correctboolean required

True iff the submitted option matched correct_idx.

calibration_recordedboolean required

True iff this submission changed mastery-calibration state (pass counted, failure counted, or demotion applied).

correct_optioninteger nullable

The correct option index — disclosed post-submit (calibration items are teaching moments).

explanationstring nullable

The item's authored explanation — disclosed post-submit.

offer_remediationboolean nullable

True when events.py says the failure deserves the remediation surface (plan D2).

reasonstring nullable

Diagnostic decision label (events.py reason, or the no-op branch name).

mastery_transitionobject nullable

Layer crossing, when one fired: {concept_slug, concept_title, from_layer, to_layer, direction, message}.

regressionobject nullable

D2 diagnostic copy on demotion: {headline, items_detail, next_steps}.

errorstring nullable

Failure message on the 4xx branches.

Changes

No recorded changes to this operation across all 1 revision of this API.