Implement: SM-2 review engine — scheduling, due cards, and rating #16
Labels
No labels
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:prototype
wayfinder:research
wayfinder:research
wayfinder:task
wayfinder:task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gaetan/knowledgify#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Wayfinder map: #1
Dependencies: #13 (project scaffolding), #15 (database layer)
Description
Implement the SM-2 spaced repetition algorithm: query due cards, apply ratings, update scheduling. This is the core learning engine.
Tasks
internal/review/packagenew_interval = old_interval * ease_factor * adjustmentease_factor = ease_factor + (0.1 - (5 - rating) * (0.08 + (5 - rating) * 0.02))Again(0) — card not remembered, reset to 1 dayHard(1.2) — partial recallGood(2.5) — full recallEasy(4.0) — easy, increase interval moreWHERE next_review <= nowAcceptance criteria