How to add spaced repetition to an online course
Published
To add spaced repetition to an online course, each learner has to get a short review of a topic just before they forget it, with the gap growing after each good review: 1 day, then 3, then 7, then 14. That needs a record of what each learner knows, so a fixed course of videos and one final quiz can't do it on its own. Graspful is an adaptive learning platform where AI agents like Claude Code build courses through a CLI and an MCP server, and it schedules these reviews for every learner automatically.
This post covers the three ways to add spaced repetition, the real schedule Graspful uses, the mastery rules that go with it, and the parts of the course you have to write so the reviews work.
Three ways to add spaced repetition
Most advice for course creators stops at "send review reminders." That works, but it has limits. Here are the options side by side.
| Option | How it works | Limit |
|---|---|---|
| Fixed review schedule | You send a review quiz or email to everyone on day 1, 3, 7 and 14 after a module. | Every learner gets the same schedule, whether they forgot the topic or not. |
| Flashcards for learners | You export key facts as cards and learners study them in a flashcard app. | Only learners who keep up the app get the benefit, and you can't see what they remember. |
| Adaptive course platform | The platform tracks memory per learner, per topic, and puts reviews into each study session. | You have to author the course in a structure the platform can schedule: topics, prerequisites and question banks. |
A fixed schedule is a good start if your platform is a list of modules. It needs no new tools. The cost is that a learner who already knows a topic gets the same reviews as one who is lost, and nobody gets moved back when a review goes badly. The rest of this post is about the third option.
The schedule Graspful uses
Graspful uses an algorithm called FIRe (fractional implicit repetition). For each learner and each concept it keeps a memory score from 0 to 1 and a review interval. The intervals come from a fixed ladder:
1, 3, 7, 14, 30, 60, 120, 240 daysMemory halves once per interval:
memory = memory × 0.5 ^ (days since last practice / interval)A concept is up for review when its memory drops under 0.5. Under 0.3 it is urgent. This table shows when that happens for a concept that starts at full memory:
| Interval | Review due (memory under 0.5) | Urgent (memory under 0.3) |
|---|---|---|
| 1 day | 1 day | 1.7 days |
| 3 days | 3 days | 5.2 days |
| 7 days | 7 days | 12.2 days |
| 14 days | 14 days | 24.3 days |
| 30 days | 30 days | 52.1 days |
Three rules make the schedule fit each learner:
Early reviews count for less. The credit a review earns is scaled by how much the learner had forgotten (1 minus memory). A review at memory 0.9 earns a tenth of what a review at memory 0 would. Cramming a topic you still remember doesn't push the next review out much.
Failing costs more when you forgot more. A failed review moves the concept down the ladder, and the drop grows with how much the learner had forgotten. One bad day close to schedule doesn't erase months of progress.
Urgent reviews come first. When a learner starts a session, Graspful picks the next task in a fixed order. Urgent reviews come before new lessons. Reviews that are only just due come after new lessons, so learners keep moving forward while the memory is still fair.
The spaced repetition docs go deeper into the model.
Spaced repetition needs mastery gating
Reviews keep a topic from fading. They don't help a learner who never understood it. That is the job of mastery learning: a learner moves on only when the current material is solid. Graspful uses three rules for this:
Concepts unlock in order. A concept shows up only when every prerequisite is mastered. The prerequisites come from the course graph you write.
Two correct in a row. Each concept is split into knowledge points, small steps of one idea each. A learner passes a knowledge point with two correct answers in a row, so one lucky guess doesn't count.
Stuck learners go back a step. After two failed attempts at a concept, the next task is a review of its weakest prerequisite. A quiz comes up once a learner earns 150 XP since the last one, and a concept missed on a quiz is marked for review.
See mastery learning for how Graspful estimates what each learner knows.
What you write so the reviews work
The platform does the scheduling. The course file has to give it something to schedule. In a Graspful course YAML file, four things matter most:
1. Small concepts. The schedule runs per concept. A concept that covers a whole chapter gets one memory score for the whole chapter. Split it until each concept is one thing a learner can remember or forget.
2. Prerequisites. List what each concept needs first. This decides the order of lessons and where a stuck learner goes back to.
3. Encompassing edges. Some concepts use others. When a learner practices search and rescue, they also use their breathing apparatus skills. An encompassing edge says so, with a weight from 0 to 1 for how much of the basic skill the advanced one uses. This is from a real firefighter course in the Graspful repo (trimmed):
- id: search-rescue-techniques
name: Search and Rescue Techniques
prerequisites:
- scba-donning-doffing-breathing
- ppe-donning-doffing
- forcible-entry
encompassing:
- concept: scba-donning-doffing-breathing
weight: 0.5
- concept: forcible-entry
weight: 0.3
- concept: emergency-egress
weight: 0.4When a learner practices search and rescue, half of that credit goes to their breathing apparatus review, and the credit carries on down the chain. Graspful only passes this credit to concepts the learner already handles well. The result: advanced learners spend less time on separate drills of the basics they use every day.
4. More than one question per step. A review that shows the same question every time tests recall of that question. Graspful's review checks fail any knowledge point with fewer than 3 problems and any concept with only one difficulty level.
The course schema lists every field.
Have an agent add it to your course
If you build the course with Claude Code, Cursor or Codex, the agent can write the graph and the edges. A prompt like this works on an existing course file:
Read course.yaml. For each concept, list which other concepts a
learner has to use to do it. Add those as encompassing edges with a
weight from 0 to 1 for how much of the other concept it uses. Don't
add an edge unless the lesson or the problems actually use that skill.
Then run graspful validate and graspful review and fix any failures.Then check the edges yourself, the same way you check the facts. An agent can add an edge that sounds right but isn't, and a wrong edge gives credit for a skill the learner didn't use. The AI-generated course quality checklist covers the rest of what to check before you publish.
Starting from your own docs instead of an existing course? The docs-to-course walkthrough goes from a folder of docs to a reviewed course, and the quickstart has every command in one place.