In debicre, my bookkeeping study app, AI writes the first drafts of many lesson and practice questions. Instructors then proofread these drafts before they become final.
AI drafts always contain some mistakes, though.
- The answer key has the wrong amount
- The explanation describes a different transaction
- The question leaves out a condition you need to solve it
I wanted to cut these errors before the drafts reach the instructors, and to be able to tell whether a change to how questions are made actually helps. So I had AI check the drafts, and made that check measurable.
Don’t ask “is this correct?”
If you ask an AI “is this question correct?”, you get a plausible opinion, with no way to tell whether it is right.
Instead, I remove the answer key and explanation, and have the AI solve the question the way a learner would.
Step 1: the AI’s answer is graded by the same grading engine the app uses in production, and compared with the answer key. A program makes the call, so every run uses the same yardstick.
Step 2 is for explanations, since re-solving alone can’t catch their errors. The AI compares its own answer with the explanation and points out any mismatch. It still never sees the answer key, because I also want to catch cases where the key and the explanation share the same mistake.
Planting errors to measure misses
To measure the check, you need questions whose correct verdict you already know. I built three kinds of test data.
- Published questions: questions already proofread by instructors and published, treated as having no errors
- Planted errors: a program changes amounts, accounts, debit and credit sides, choices, or amounts in the explanation
- Real past errors: recreations of errors found in earlier reviews
From these I measure how often a question that is actually correct gets flagged (false alarm rate) and how often a broken question gets through (miss rate). A regression check fails the run if either gets 2 points worse than last time.
Taming step 2’s flags
Right after adding step 2, 15 of 38 published questions (39%) got flagged. All 15 were solved correctly in step 1; every flag came from step 2’s explanation check. Reading them one by one, they broke down like this.
Those 4 were not false alarms. Even proofread, published questions still had errors in their explanations. The real false alarms were the other 11: too-picky flags plus the one AI solving mistake.
So I added severity criteria and one line, “solve it the standard way”, to the instructions. Flags dropped to 6, and 5 of those were real errors still left in published questions, leaving just 1 real false alarm.
But I had tuned the instructions while looking at those same questions, so I couldn’t take that result at face value. Here are the results on questions never used for tuning.
| Check | Questions | Count | Rate |
|---|---|---|---|
| Accuracy: published questions solved correctly | 30 | 30 | 100% |
| False alarms: error-free questions flagged | 30 | 1 | 3.3% |
| Misses: planted errors missed | 90 | 0 | 0% |
| Misses: hard errors missed, such as missing conditions | 9 | 1 | 11% |
Not done yet
- There are still only 9 hard-error samples. The one miss was whether installment interest should be booked as prepaid interest or interest expense.
- The most common review comment on drafts, “too similar to an existing question”, isn’t measured yet.
Still, being able to compare changes with numbers has already helped. A possible next step is to build this check into the question-making flow so that it stops bad questions automatically before they’re published.