Study.Card resource with SRS state #25
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#25
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: The unit of study: one concept, in one direction, for one deck, with its schedule.
Files:
lib/first_thousand_words/study/card.exSteps:
direction(:recognise | :produce | :listen, default:recognise),state(:new | :learning | :review | :suspended),interval_days,ease,reps,lapses,due_at,last_reviewed_at,suspended_at.belongs_to :deck,belongs_to :concept.(deck_id, concept_id, direction), so deck regeneration is safe.(deck_id, state, due_at)— this is the hot query.Verify: in IEx, build a card, apply
Scheduler.review/3, confirm fields advance.Note: keep scheduling state on the card and the history in
Study.Review. Storing only acounter loses the ability to recompute or to change algorithms later.