Grade a drill answer
submit_drill_answerSubmit one option id for a ComputePrep drill. Returns whether it is right or wrong and how many attempts remain. A wrong guess does not name the correct option. When the round finishes, returns a Verified answer and the worked explanation. Today's shared drill also says whether this conversation solved in fewer attempts than other conversations that finished that same drill. That line is attempts used, not time; the ranking is anonymous and is not the public website leaderboard. Dev, staging, and test conversations are not in the count. A correct answer adds a link to practice the full timed set. Three attempts per conversation, not per person.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Optional. en (default) or hi. Hindi is the question's own Hindi text, served only while this server's language switch is on. | |
| drill | Yes | Which question. "daily" is today's shared drill. A practice id (practice-0, practice-1) is the one get_practice_drill returned. | |
| optionId | Yes | The option id shown with the question. Send the id, not the option text. | |
| attemptId | Yes | Conversation id returned by get_daily_drill on ComputePrep. Attempts are counted per conversation, not per person. Pass this same id on every later call in the conversation. |