Study.Review — append-only review event log #27
Labels
No labels
area
auth
area
data
area
domain
area
infra
area
stats
area
study
area
tooling
area
ui
duplicate
future
kind
bug
kind
chore
kind
decision
kind
docs
kind
feature
kind
spike
kind
test
prio
blocker
risk
high
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nickkeers/first-thousand-words#27
Loading…
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?
Objective: Every answer the user gives, permanently, as the source of truth for all progress.
Files:
lib/first_thousand_words/study/review.exSteps:
rating(:again|:hard|:good|:easy),was_correct,answer_text(what the user typed, nullable),elapsed_ms,reviewed_at,interval_before,interval_after,ease_after.belongs_to :card,belongs_to :user.by
(user_id, reviewed_at).read :list_reviews_for_periodused by the stats layer.Verify: a review row is created per submission and cannot be edited through the code interface.
Note: storing
interval_before/aftermakes it possible to reconstruct exactly how a card gotto its current state — the thing that makes "why is this card due in 4 months?" answerable.