Skip to content
Keshav Raj
A teacher annotating a scanned handwritten essay in a browser and stamping a score.
LEARNER HEIGHTSIN-BROWSER
SHIPPED Teachers grade handwritten answers with PDF annotation.I OWNED Primary developerOUTCOME IN-BROWSER

Offline quiz & essay grader

Keshav RajPrimary developer · 2020 · ShippedContact meResume PDF

Context

In 2020 I built the offline quiz and essay grader in the admin console as my first feature at the company. I was the primary developer. Teachers use it to grade handwritten answers.

The problem

Schools needed teachers to grade handwritten and essay answers inside the platform. I was new to the admin codebase, and the grading needed an in-browser PDF viewer with annotation.

What I did

  1. I built evaluator assignment and answer-sheet lists by course, quiz and section.

  2. I added PDF annotation, edit and save, using a vendored PDF viewer, with the viewer libraries hosted on object storage.

  3. I built filters, pagination, pending counts and sub-admin roles.

  4. I shipped several hotfixes after launch. In 2022 annotations were temporarily disabled.

Key decision

I embedded a third-party PDF viewer instead of writing annotation myself. That let a new joiner ship in months.

The cost was dependence on a vendored library and its hosting.

Result

The grader shipped within about 3 months of my first admin commit. The first big pull request had 41 of 51 commits from me and about 7.3k lines. Teachers grade in the browser.

What I learned

I would again lean on a proven viewer rather than write annotation myself.

Stack

  • React
  • TypeScript
  • PDF.js Express
  • Object storage
Play the world →