Quiz Distractor Analysis

Summarize answer-choice selection rates, omitted responses and distractors that fail a minimum selection threshold.

Custom requests cost 0.04 USDC on Base.

Download example JSON · OpenAPI · Source and usage

Pay with a browser wallet · Open example in checkout

POST a JSON request to /quiz-distractor-analysis/v1/check with an x402 V2 client.

Worked example

Request

{
  "responses": 20,
  "correct": "b",
  "distractor_min_percent": 10,
  "choices": [
    {
      "option": "a",
      "selections": 1
    },
    {
      "option": "b",
      "selections": 14
    },
    {
      "option": "c",
      "selections": 3
    }
  ]
}

Result

{
  "omitted": 2,
  "correct_percent": 70,
  "choices": [
    {
      "option": "a",
      "percent": 5,
      "underselected": true
    },
    {
      "option": "b",
      "percent": 70,
      "underselected": false
    },
    {
      "option": "c",
      "percent": 15,
      "underselected": false
    }
  ]
}

Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter