Case study

Tutoring platform

A local, offline tutor built for home use. It covers math from kindergarten through NC Math 1 and Grade 8 science, and it was built from written requirements and checked by automated tests.

Status
Built: runs offline
My role
Requirements, learning design, and validation
Built with
HTML, CSS, and JavaScript; Node test runner; headless browser tests
Timeline
Jun–Nov 2026 · 32 commits

What it is

The tutor runs entirely in the browser. There's no server, and a content security policy blocks every network call, so nothing leaves the computer. Progress is saved in the browser.

  • Math: 11 programs from kindergarten–first grade through NC Math 1, aligned to North Carolina standards. The project's own docs note that part of that alignment is still unverified.
  • Grade 8 science: 10 units covering all 23 state objectives, with guided labs, simulations, unit tests, and three practice forms in the style of the end-of-grade test.

How a lesson works

  1. Six stages with gates. A student has to pass a skill check (2 of 3) and a quiz (8 of 10) before moving on. Four learning pathways set the route.
  2. Mastery from recent work. Mastery is based on the last 10 answers, with at least 4 needed. Answers given after a hint count half, and the top levels require a passed quiz.
  3. Practice that comes back. Spaced-repetition flash cards, plus named misconceptions that trigger targeted practice when a student makes a known mistake.
  4. A parent view. A dashboard shows progress against the standards.

Screens

Real screenshots, using a generic student profile.

Interactive lesson on word problems, with a short explanation of why it matters and buttons to learn it four ways: See it, Say it, Do it, and Write it.
A lesson: one concept, four ways to learn it
Practice screen for equivalent fractions: the question Simplify 9/6 with four answer choices, a hint button, and the student’s points and streak.
Practice, with hints on request
Initial diagnostic question asking what helps most when a problem is confusing, with options for a picture, hearing it out loud, drawing, or written steps.
The opening diagnostic sets the learning pathway
Student dashboard with points, streak, lessons completed, a suggested next skill, and a list of skills with their practice status.
Dashboard: what to work on next
Science review game where the student clicks the falling star with the right answer to: What do producers use to make their own food?
A Grade 8 science review game

Requirements first

Each phase started with a written build spec. Before the science expansion, I had the existing code audited, and the audit found real defects: a bug that could overwrite saved progress and a module that crashed when opened. Both were fixed before new work began.

The science curriculum was checked against the official state documents. That check caught a counting error: the standard has 23 objectives, not the 26 in the original plan.

Automated validation

  • Unit and content tests on Node's built-in test runner, including checks that every lesson's data is valid.
  • Click-through tests in a headless browser that open and use every program.
  • A release check that visits about 2,000 screens at phone size and plays through using only the keyboard.
  • Single-file copies of each program are generated by a build script from the shared source, so the copies can't drift out of date.