Case studies / CopyEval
AI evaluation of handwritten UPSC Mains answers
A pipeline that reads a student's scanned handwritten answer, marks it the way an examiner would, and returns the original pages with margin notes, ticks and marks.
The problem
Mains preparation depends on writing answers and getting detailed feedback on them. Human evaluation of a handwritten answer copy is slow, costly and varies from one evaluator to the next.
Evaluator capacity also limited how many answers a student could submit, so the most useful practice was being rationed.
Who it serves
- UPSC Mains aspirants writing in English or Hindi.
- The evaluation and reviewer team, who set the marking standard and check edge cases.
- Several product lines: assignments, essays and test series.
My role
I started at VisionIAS as a Mains copy evaluator and later reviewed other evaluators, so I wrote the marking framework from that experience. I defined the pipeline stages, set the quality bar for release and ran model selection, working with the engineering team on delivery.
Hard calls
Choosing the subject to launch with
The first subject sets the marking standard for every later one and decides whether evaluators and students trust the system. I chose one subject to launch with and extended to others only once agreement with expert evaluators held.
Turning conflicting reviewer opinions into one standard
Senior reviewers disagreed on what good evaluation looks like: how strict the marks should be, what kind of comments help, and how deep the feedback should go. I worked through these differences and turned them into one written standard the AI follows, so the system marks consistently where human evaluators had varied.
How it works
- Scanned answer copy arrives from the admin system
- Pages split and handwriting read (OCR)
- Each sentence fact-checked
- Question analysed for what it demands
- Answer evaluated and marks awarded
- Comments rewritten for tone and clarity
- Notes, ticks and marks written onto the original pages
If more than half the text is in Devanagari, the copy switches to a Hindi set of prompts automatically.
Key decisions and trade-offs
Break one big judgement into small checked steps
Reading, fact-checking, question analysis and marking each run as a separate step with stored output. Any mark can be traced back to the step that produced it, and a weak step can be fixed without touching the rest.
Match the model to the job
A fast, low-cost model reads handwriting and checks facts; a stronger model makes the marking judgement. Models are a configuration setting, so switching provider does not need a rebuild.
Route Hindi answers to Hindi prompts
Hindi-medium students should not be judged by prompts written for English answers. Language detection after OCR decides the route.
Give feedback where students expect it
Students are used to examiner notes in the margin, so the output is the annotated original copy, not a separate report.
How quality is measured
- Agreement with expert evaluators measured with Quadratic Weighted Kappa (QWK), which suits ordered marks: 0.77 to 0.81.
- Human baseline scores are stored, so every new pipeline version is scored against human evaluators before release. 36 prompt versions were run this way.
- Candidate models are compared with the live pipeline in blinded expert reviews (Model A against Model B) and dropped on statistical evidence, so model changes rest on evidence rather than vendor claims.
- Running cost is part of the quality bar: about ₹1 of AI processing per script, against about ₹40 for human evaluation.
Outcome
- Cost per script down from about ₹40 to about ₹1, with about 4-hour batch turnaround.
- Capacity for 10,000+ scripts a day.
- The same evaluation engine now supports several VisionIAS products.
Beyond education
Scoring work against expert judgement at scale is the same problem as quality review in customer support, insurance claims, compliance checks and content moderation.