Anki/rslib/src/sched
Damien Elmes b3b40933c2 switch 'set due date' to leaving the interval alone for now
The previous approach worked when the user pushes their due date back,
or moves it forward a little bit, but breaks down if they reschedule
shortly after the previous answer - a card that was only just answered
will have had an effective delay of 0, causing the interval to be
reset, which is not great.

I thought about limiting interval reductions, but that means the
behaviour is inconsistent when sending a card forward and moving it
back again.

We could apply a cap to the amount of interval we'll reduce, but that
will either doing something like dividing by 2 (which breaks down when
the action is performed repeatedly), or or looking up the review log
to try and determine the previous interval we should not go below.

One other option we might want to consider in the future is using
the revlog to calculate the actual elapsed time at answer time instead
of reschedule time, falling back to existing behaviour when the revlog
doesn't match or is missing.
2021-02-12 11:19:58 +10:00
..
bury_and_suspend.rs Rework reschedule tool 2021-02-07 21:57:51 +10:00
congrats.rs render deck description with markdown; strip images 2021-02-06 15:02:40 +10:00
cutoff.rs tidy up UTC offset handling/timing calculations 2021-01-12 21:32:56 +10:00
learning.rs update schema to fix default initial ease in deck configs 2020-09-22 08:16:39 +10:00
mod.rs Rework reschedule tool 2021-02-07 21:57:51 +10:00
new.rs Rework reschedule tool 2021-02-07 21:57:51 +10:00
reviews.rs switch 'set due date' to leaving the interval alone for now 2021-02-12 11:19:58 +10:00
timespan.rs log manual reschedule, but ignore the log entry in the stats 2020-09-02 17:56:23 +10:00