Anki/rslib/src/scheduler
Aleksa Sarai d7caafe91c
scheduler: use deck config's initial ease in set_due_date
Previously we would just use 250% ease for any new card that had no
pre-configured ease, but this will result in decks that have
non-standard ease values to have "set due date" cards in them that don't
match. In order to make this somewhat more efficient, we cache
deckid->ease lookups during this operation.

Ref: <https://forums.ankiweb.net/t/set-due-date-doesnt-obey-default-ease-factor/9184>
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2021-07-16 12:33:15 +10:00
..
answering update most rust deps; skip rusqlite 2021-06-25 15:35:25 +10:00
filtered Adjust search syntax for filtered deck presets 2021-05-17 12:14:02 +02:00
queue PEP8 cards.py 2021-06-27 12:12:23 +10:00
states update most rust deps; skip rusqlite 2021-06-25 15:35:25 +10:00
bury_and_suspend.rs in/out -> request/response 2021-06-20 15:49:20 +10:00
congrats.rs in/out -> request/response 2021-06-20 15:49:20 +10:00
learning.rs deckconf -> deckconfig 2021-04-20 21:54:24 +10:00
mod.rs cache scheduling info 2021-04-05 17:09:53 +10:00
new.rs add a separate DeckId search for decks with children 2021-05-20 11:44:37 +10:00
reviews.rs scheduler: use deck config's initial ease in set_due_date 2021-07-16 12:33:15 +10:00
timespan.rs tidy up Rust imports 2021-04-18 18:38:54 +10:00
timing.rs suppress some tests around the daily rollover 2021-05-24 14:18:07 +10:00
upgrade.rs DeckConfId -> DeckConfigId 2021-04-28 21:09:26 +10:00