From lesson to proof: how Pro Path Prep turns learning into real work

Dibesh Raj Subedi


Share

Pro Path Prep (PPP) is a learning platform where a course ends with a real task instead of a quiz. Students build something like a budget spreadsheet in Word, Excel or PowerPoint, upload it, get scored feedback against a rubric, and can revise and resubmit. Handling real documents caused four problems: Messy uploads: Files are checked immediately, so bad ones are rejected with a clear reason. Slow, foolable grading: It runs in the background, uses structured rubric scoring, and treats uploaded content as data, never instructions. Fairness across attempts: Only the latest attempt counts, and each score records the rubric version used. The "green tick that lied": Conflicting progress rules marked some modules complete when they weren't. The fix was to write the rule in plain English first, keep it only in the API, and repair accounts with a safe, reversible script.

Imagine someone preparing for their first job. They watch a course on personal finance, pass the quiz, and get a certificate. Two months later, they still can't build a household budget.

Pro Path Prep (PPP) exists to close that gap. Instead of ending at a quiz, a learning Path ends with a real task: build a budget spreadsheet, draft a career action plan. The student does it in the tools they will use at work, uploads it, and gets specific feedback they can act on.

That one change, from answering questions to producing real work, is also where all the engineering difficulty came from. This case study follows that thread: what the product does, how it is put together, and what broke when real documents entered the picture.

What it isA guided-learning platform: Paths made of modules, lessons, quizzes and real-world assignments
Who uses itAdmins design Paths, students walk them, teachers follow a class
StackDjango REST API, Next.js web app, LangGraph AI service, background workers
The hard partGrading real documents fairly, quickly and safely, with AI that keeps changing

1. A Path, in real life

Here is what a student does:

A student's way through a Path
  1. Pre-test. They already know some things. If they prove it, they skip ahead instead of sitting through it again.
  2. Lessons, with a coach. Stuck on a page? The AI coach answers using the lesson they are on, not a generic essay.
  3. Quizzes. Quick checks, graded instantly. Some are required before a module counts as done.
  4. The real task. They download a starter file (Word, Excel or PowerPoint), work on it offline in their own tool, and upload the finished file.
  5. Feedback. Each criterion gets a score and a plain-language note, saved in a personal vault of their work.
  6. Revise. If attempts remain, they improve and resubmit.

Steps 1 to 3 are familiar e-learning. Step 4 is the new part. It decides how the whole system is shaped, so we'll come back to it. First, the other two people who rely on this flow.

2. Three people, one product

An admin builds the Path beforehand: the lessons, the assignment, the rubric that says what good work looks like. A teacher watches the class: who is moving, who is stuck, which submissions need a human look.

One platform, three views

We did not build three products. All three roles read the same data, so an admin's edit is the lesson and a student's progress is exactly what the teacher sees. There is no second copy to go stale. We built the views in that order, Admin, then Student, then Teacher, because each depends on the one before: teachers can't review work students can't yet submit.

Sharing one set of data keeps the views consistent. It also means every rule has to live somewhere definite, which leads to the architecture.

3. How it fits together

The system at a glance

A Next.js web app serves every role. A Django REST API owns the rules: access, progress, unlocking. The browser only shows things and asks for things; it never decides. The AI coach and the grading engine are separate services, because models and prompts change monthly while student records must not. Slow work runs in background workers.

On paper that is tidy. Now put a real student's real file through it, and four problems appear in order.

4. Four problems, in the order they appeared

Problem 1: real files are messy

Students upload whatever they made, from any device. We need each file to be safe and readable before anything else touches it.

Fix: the file goes straight to cloud storage, then the server checks it immediately: real file type, size, nothing locked or hidden inside. A bad file is rejected on the spot with a clear reason, instead of failing hours later during grading.

That gets a clean file to the grader. Which raises the next problem: grading is slow, and the file is still not fully trustworthy.

Problem 2: grading takes time, and AI can be fooled

A document can run long, and a request that quietly waits fails in confusing ways. Worse, the file is untrusted input and could contain text that tries to steer the AI.

Fix: grading runs in background workers while the student sees honest status. The engine scores against a rubric of factual checks (is the section there, does the formula work) and returns structured scores instead of free text. Uploaded content is only ever data, never instructions. Every score keeps a reason a teacher can read and override.

Scores now exist and can be trusted. But students resubmit and rubrics get edited, so the next question is: which version counts?

Problem 3: fairness across attempts

Fix: a simple, written rule. A student's earlier attempts are marked superseded, only the latest one is graded, and each score records which rubric version it was graded against. A teacher looking at a score later can always see what it was measured by.

Rules like this must also behave the same on every screen, which is where the most surprising bug came from.

Problem 4: the green tick that lied

Progress rules interact. Skip what you already know and require what is essential disagreed at the edges, and a few students saw a module marked complete when it wasn't. Nothing errored. A wrong green tick looks exactly like a right one.

Fix: the rule was written in plain English first and encoded second, and it lives only in the API. Affected accounts were repaired with a script built to be safe: a dry run, a backup, an undo, safe to run twice, aimed at one account before all of them.

From submission to feedback

5. One decision that made all of this buildable

The grading engine was being designed in parallel, and the product couldn't wait. So we built a stand-in grader with the same contract as the real one. Every screen, upload and edge case was built and tested before the real engine existed. When it arrived, it was selected through a single setting, and nothing around it changed.

That only worked because of earlier choices: rules in the API, AI behind a boundary, scores in a structured shape. The stand-in was cheap because the boundaries were already clean.

6. What we took away

Each lesson maps to a problem above:

  1. Validate early, fail loudly (problem 1). A clear rejection at upload beats a mystery at grading time.
  2. Treat user content as data, never instructions (problem 2). And make every score explain itself.
  3. Write the rule down before you code it (problems 3 and 4). Fairness and progress are product decisions first.
  4. Give each rule one home (problem 4). If two components both decide "is this complete?", one of them is wrong.
  5. Put fast-moving parts, like AI, behind a boundary, and build the stand-in first (section 5). Everyone keeps moving while the hard part matures.

And the thread that ties them together: for a learner, a Path no longer ends at "you passed". It ends with something they made, scored and explained, saved where they can point to it.

A course can tell you what you know. A Path shows what you can do.