Skip to content

Packs / education-public

spaced-repetition-schedule

schedule flashcard reviews with the SM-2 spaced-repetition algorithm

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-education-public

Install

logicpacks pack use education-public/spaced-repetition-schedule
get_pack education-public/spaced-repetition-schedule

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

None.

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: python-stdlib
  • Checks: 1 in outcome/checks.yaml
  • Code: sm2.py
  • Tools: python3

Usage, last 8 weeks

New: no recorded use yet.

Purpose (from spec/SPEC.md)

Goal

Schedule flashcard reviews with the SM-2 spaced-repetition algorithm.

Steps

  1. After each review, grade recall 0-5.
  2. Run sm2.py (or embed the function) to get the next review date.
  3. Review due cards daily.

Edge cases

  • Grades below 3 reset the repetition count, not the ease factor.
  • Very easy cards grow intervals fast; cap if exams are near.

Don'ts

  • Don't cram all due cards on one day after a break; spread them.

Routes (free first)

  1. python-stdlib: code/sm2.py (no install).