Anki is a smart spaced repetition flashcard program
Find a file
Damien Elmes 7502fba5ce change failed card handling
The old delay1 behaviour isn't easy to achieve with the queue code, as we only
refresh the queue when it's emptied, and if the user has delay1 set to say 9
hours, failed mature cards sitting in the queue could prevent subsequent young
failures from being displayed. Instead we convert delay1 to a count in days in
which to offset failed mature cards. 0 means the same time as delay0, 1 means
show the card a day later, and so on. This means users will lose the ability
to delay mature cards for x number of minutes more than young cards, but a
scan of AnkiOnline decks indicates that's not often done.

We also need to use a separate cutoff for failed cards, since we need to be
able to display them as they expire if the user has disabled per-day
scheduling.

And instead of marking cards as due in the future, we set their due time to
the current time, and move the delay0 calculation to getCardId(). This means
that if the user changes their failed card settings from say 1 hour to 10
minutes, the changes apply to the currently failed cards and not just cards
failed in the future.
2010-11-13 21:15:41 +09:00
anki change failed card handling 2010-11-13 21:15:41 +09:00
tests start work on scheduling refactor 2010-10-18 14:35:11 +09:00
tools Remove call to iterate over removed dir (features) 2009-06-15 20:02:38 +02:00
.gitignore auto-detect '=' as import delimiter, strip fields 2010-03-14 11:40:31 +01:00
ChangeLog.old initial commit from hg 2008-09-27 23:50:03 +09:00
COPYING allow bsd license rather than requiring people to sign over copyright 2010-08-11 14:40:34 +09:00
ez_setup.py initial commit from hg 2008-09-27 23:50:03 +09:00
setup.cfg initial commit from hg 2008-09-27 23:50:03 +09:00
setup.py strip samples & unihan from dist 2009-06-12 22:22:10 +09:00