CASE STUDY 01

Huy9cham — Turning an expert teaching workflow into reusable software

A production learning platform developed from recurring problems in my own IELTS teaching practice.

Context

IELTS preparation repeatedly required the same categories of work: preparing passages, questions, vocabulary, homework, answer explanations, classroom activities and student follow-up.

Individual documents and slide decks solved each task separately, but the underlying workflow remained fragmented and heavily dependent on the teacher.

Product hypothesis

If the lesson itself becomes a structured, reusable software object, preparation can be performed once and reused across students, classes and eventually other teachers.

Existing system

Huy9cham already runs in production. Factually, it includes:

  • reusable lesson and assignment content
  • student assignments and submissions
  • teaching resources
  • teacher workflows
  • structured imports
  • student-facing practice
  • production deployment

Current engineering problem

Native Reading Live Lesson

The current workstream is designed to let a teacher choose a published Reading lesson, start a session, let students join on their own devices, collect independent responses, reveal evidence progressively, run guided retries, and restore accepted student work after reconnects.

  • The lesson is independent of homework/assignment entities.
  • A published lesson revision is immutable.
  • Running sessions pin a specific revision.
  • Teacher, projector and learner surfaces receive different authorized views.

Architecture

Huy9cham live lesson architecture Authoring Markdown flows through a normalization and compiler stage into a lesson draft, which passes fidelity review and becomes an immutable lesson revision. The live session runtime pins that revision and projects authorized views to teacher, projector and learner frames. Learner frames produce versioned responses. Authoring / Markdown Normalization + compiler Lesson draft fidelity review Immutable LessonRevision Live Session Runtime Teacher frame Projector frame Learner frame Versioned responses
  1. Authoring / Markdown
  2. Normalization + compiler
  3. Lesson draft fidelity review
  4. Immutable LessonRevision
  5. Live Session Runtime
  6. Teacher / Projector / Learner frames authorized views
  7. Versioned responses
A published lesson revision is immutable. A running session pins one revision and projects different authorized views to teacher, projector and learner surfaces.

Hard engineering problems

Three problems in this workstream matter more than feature coverage, because each one is a place where a plausible implementation would be silently wrong.

Answer leakage

Unreleased answers, future evidence, teacher notes and other students’ responses must not merely be hidden in the UI.

They must be absent from unauthorized serialized payloads. A surface that never receives the data cannot leak it.

Independent-attempt integrity

When targeted answer-bearing assistance is revealed, the independent response round must already be locked.

Concurrent submission versus lock/reveal behavior therefore requires deterministic server-side transition rules.

Reconnect and stale writes

Learners reconnect mid-session. The runtime resolves their state without letting a late write overwrite accepted work.

  • server-authoritative state
  • monotonic state version
  • idempotent commands
  • learner request IDs
  • response versions
  • stale writes rejected
  • refresh restores accepted own response

Engineering workflow

This workstream is built with the same workflow described on the AI engineering page: a repository-grounded spec, bounded implementation packets, fresh implementation workers, deterministic tests, browser captures and independent senior review.

See my AI engineering workflow →

Business experiment

Current experiment

The next validation step is not adding more lesson types. It is testing whether another instructor can deliver a real Huy-created Reading lesson with low preparation time and little intervention from me.

Teacher preparation time
collecting
Huy support time / lesson
collecting
External-teacher sessions
collecting
Student satisfaction
collecting

What this project demonstrates

  • product/domain modelling
  • real-user software development
  • authorization/security thinking
  • stateful web application design
  • concurrency and idempotency
  • deterministic testing
  • practical AI-assisted engineering
  • converting domain expertise into reusable software