AI/ML · Teaching tools · 3 min read

Turning Live-Class Transcripts into Practice

After a live class, each learner's own mistakes are pulled from the transcript and turned into targeted drills.

At Eklan, I built an LLM pipeline that pulls each learner's own mistakes out of a live-class transcript, groups and dedupes them, filters sensitive personal topics, and lets tutors edit the results into targeted drills.

My role
I built the extraction pipeline end to end: the LLM tool call with redaction and a length cap, the deterministic dedupe and sensitive-topic filter, the tutor editing workflow with conflict-safe saves, and the link into drill generation.
Context
Founding AI Engineer, Eklan
Period
Sep 2026 – present
Status
Eklan · Founding AI Engineer
Platform
Tutor tools in a Next.js web app

Eklan · Founding AI Engineer

  • 7 of 8tutor-found mistakes matched in the best runs
  • 0duplicates across groups after the dedupe fix
  • 4mistake groups per learner
  • TypeScript
  • LLM tool calling
  • Next.js
  • React
  • MongoDB

Roles: AI/ML Engineer · Software Engineer · TA / Instructor.

The problem

Eklan’s live classes are where learners speak the most, and where tutors hear the most errors. But a tutor can’t write down every slip for every learner while running a lesson, so most of that evidence was lost when the call ended. The transcript holds it all, buried in an hour of conversation between several people.

Who it was for

Tutors who want each learner’s next practice set to come from what that learner actually got wrong, and learners who get drills built around their own sentences instead of generic exercises.

My role

I built the extraction pipeline end to end: the LLM tool call with redaction and a length cap, the deterministic dedupe and sensitive-topic filter, the tutor editing workflow with conflict-safe saves, and the link into drill generation.

What I built

  • The learner's own mistakes

    One LLM tool call reads the transcript and pulls out only that learner's mistakes, in four groups (grammar, expressions, pronunciation, and answers under pressure), each tagged as roleplay or conversation and as already corrected during the lesson or not.

  • Deterministic clean-up

    Code, not the model, keeps one quote per group, drops edits that only change punctuation, and removes duplicates across groups.

  • A sensitive-topic backstop

    Items that touch immigration, citizenship, military service, religion or politics are blocked in any context, whatever the model returned.

  • A tutor stays in charge

    Tutors link the right class to the learner's week, run the analysis (up to three runs, with crashed runs detected), edit or delete items, and undo. Saves are compare-and-set, so two people editing never overwrite each other.

  • Straight into practice

    The tutor picks which groups to send, and drill generation builds practice around those exact mistakes for the same learner and week.

Before the transcript reaches the model it is redacted and capped in length, so the call never carries more personal detail or more text than it needs. The tags matter to tutors: a mistake made under pressure in a roleplay means something different from a slip in small talk, and a mistake the tutor already corrected in the lesson may not need a drill at all.

The workflow is built for real tutors’ days. A run that crashes is detected rather than left spinning, a tutor can re-run the analysis up to three times, and every edit can be undone. Two people can work on the same learner without one quietly overwriting the other.

How it works

A tutor links a transcript to a learner’s week. The transcript is redacted and capped, one LLM tool call pulls out that learner’s mistakes, and code dedupes and filters them. The tutor then edits the list and sends the chosen groups to drill generation.

A tutor links a class transcript to a learner's week; one LLM tool call pulls out that learner's mistakes, code dedupes and filters them, the tutor edits, and the chosen groups go to drill generation. Relationships: Class transcript to Prepare; Prepare to LLM tool call; LLM tool call to Post-processing in code; Post-processing in code to Tutor review; Tutor review to Drill generation.

The model’s job is narrow on purpose: find the candidate mistakes and say which group each belongs to. Everything that has to be guaranteed, such as one quote per group, no punctuation-only edits, no duplicates and no sensitive topics, happens afterwards in code.

Decisions that mattered

  • I chose a tutor reviews every result before it reaches a learner over sending extracted mistakes to learners automatically because a wrongly attributed mistake undermines trust in the whole tool, and tutors already know what happened in the room

  • I chose filtering and deduping in code after the model over asking the model to follow more rules because rules like one quote per group or never mention religion are cheap to enforce in code and unreliable to enforce in a prompt

  • I chose stop and show the numbers when the prompt outgrew my own limit over quietly trimming the prompt to fit because my brief said to stop if a prompt passed about 20,000 characters, and the worst case measured 37,249, so the owner chose between three options with the numbers in front of them

Hard problems I solved

  • ProblemLong classes produced far bigger prompts than a typical one.

    FixI measured the worst case (37,249 characters against about 17,500 typical) before shipping and kept the extra block outside the normal budget, so nothing the learner said was cut. A test now prints the size.

  • ProblemThe same mistake showed up in more than one group.

    FixA dedupe pass in code removes cross-group repeats; after the fix the evaluation found none.

  • ProblemTranscripts can drift into personal topics that have no place in practice material.

    FixThe sensitive-topic backstop blocks those items in any context, independent of how the model labelled them.

Tech stack

Extraction
App and data

Outcome

I evaluated the pipeline on a real recorded lesson against the mistakes a tutor had found by hand. The best runs matched 7 of the tutor’s 8, with no duplicates across groups after the dedupe fix.

What I learned

Let the model find candidates. Let code and a tutor decide what counts.

The model was good at spotting mistakes in a messy, multi-speaker transcript. It was not the right place to enforce rules about privacy, duplication or tone. Splitting the work that way made the tool something tutors could trust with their learners.

What I’d do next

Evaluate on more lessons and more tutors, so the 7 of 8 becomes a measured rate rather than a best run.