A wrong answer is not just wrong

When a child picks the wrong option, the option they picked tells you something. Maybe they forgot. Maybe they got halfway. Maybe they believe something that is not true, and believe it firmly. Maybe they used the right idea in the wrong place. Each of those needs different teaching.

ConfusionMapper is a set of free tools built around that one idea. I started it in Kanpur, for government schools in Kanpur Dehat.

For teachers

Maths worksheets with a diagnostic key

PISA-style questions about phone plans, the monsoon, the price of dal. The key says what each wrong answer probably means, and the class report tells you what to reteach first. English and Hindi. Works offline, nothing leaves your phone.

For researchers

Do your coders agree?

Paste two columns of labels and get Cohen's kappa, Gwet's AC1 and a confusion matrix, computed in your browser. Your data is not uploaded anywhere.

For people who write code

The Python package

Everything above and more: Krippendorff's alpha, the Alternative Annotator Test for replacing a human coder with an AI, item analysis, PISA-style units from the command line. The statistics use only Python's standard library and are tested against published values. Install with pip install confusion-mapper.

The four kinds of mistake

The labels come from the Confusion Fingerprint Index, a taxonomy I wrote for a preregistered study on whether naming the kind of mistake helps children remember the right answer two weeks later.

RF, Recall FailureLittle or nothing remembered. The answer is close to a guess.
PK, Partial KnowledgeThe right direction, with a step missing.
CF, ConfabulationA confident wrong belief. Practice alone will not shift it.
INT, InterferenceThe right answer to a different question.

The worksheet questions are original practice items written to follow the published PISA 2022 mathematics framework. They are not official PISA items and have not been field-tested yet. The Hindi is a first draft and says so on the page until a Hindi-medium maths teacher has checked it. If you are one, the review sheet puts every sentence side by side, and I would be grateful for your corrections.