Damien Elmes
f246cf1062
strictly enforce maxIvl
...
https://anki.tenderapp.com/discussions/ankidesktop/29904-bug-in-v2-scheduler-that-allows-exceeding-the-maximum-review-interval
2018-09-25 09:55:46 +10:00
Damien Elmes
afe81347cd
recover from decks with blank sections (eg '::deck')
2018-09-22 16:04:26 +10:00
Damien Elmes
ee5675ef5b
days since creation needs to be calculated relative to rollover
...
https://anki.tenderapp.com/discussions/ankidesktop/29502-next-day-starts-experimental-v2-scheduler-bug
2018-09-05 20:21:30 +10:00
Damien Elmes
65f6ddf8d9
v2: limit learn delay fuzz to 5 minutes and sub-day
2018-07-28 13:56:56 +10:00
Damien Elmes
a728595c1d
use scheduled ivl in lapse calculation
...
reverting to 2.0 behaviour
https://anki.tenderapp.com/discussions/effective-learning/1300-lapse-duration-not-being-honored-for-lapses-of-multi-stepday-relearn-cards
2018-07-27 15:02:41 +10:00
Damien Elmes
4af6aa8584
better handle invalid deck list
...
deleting will fail if the problem deck is the default deck - better to
rename instead
fixes infinite recursion errors
2018-07-26 11:34:10 +10:00
Damien Elmes
1ac83b7998
fix invalid cards when moving from v2->v1 sched
...
type needs to be reset from 3->2 when relearning cards removed from
learning
https://anki.tenderapp.com/discussions/beta-testing/1210-scheduling-error
2018-07-16 16:29:53 +10:00
Damien Elmes
9e8648bed7
differentiate easy button more when reviewing early
...
apply half the easy bonus post ivl calculation, or else very early
reviews with longer intervals appear to have the same intervals as
answering 'good'
2018-07-11 22:18:46 +10:00
Damien Elmes
1a617e6d60
support customizing hard factor
2018-07-11 21:23:22 +10:00
Damien Elmes
6bd1eed9b6
remove study card count cap in v2 sched
...
- cap kept for the deck list, as we need to calculate it for multiple
decks
- v2 sched can calculate review limit faster, as it doesn't have to
check each deck separately
- filtered deck cap is same as in interface
- as this will be deployed on ankiweb, beta clients will need to update
or risk getting sanity check errors when syncing with high due counts
2018-07-11 20:03:36 +10:00
Damien Elmes
c0c33a2b58
make sure we don't put suspended leeches back in the learning queue
...
fixes
https://anki.tenderapp.com/discussions/beta-testing/1119-anki-210-beta-38#comment_45555453
2018-06-25 20:27:26 +10:00
Damien Elmes
01c58cfd85
ignore delay in hard case
...
https://anki.tenderapp.com/discussions/ankidesktop/27627-request-allow-setting-maximum-delay-for-interval-calculation-in-overdue-cards
2018-06-01 12:24:11 +10:00
Damien Elmes
c207c9bc8c
speed up v2 deckDueList() in many decks case
2018-05-31 16:21:33 +10:00
Damien Elmes
fd6d02bf6a
fix regular reviews being treated as relearning in v2 sched
2018-05-31 12:44:23 +10:00
Damien Elmes
9c7c52b99c
cache deck name->obj map to improve many decks case
2018-05-29 19:30:13 +10:00
Damien Elmes
730d444164
give hard a 1.5x interval when there's only one (re)learning step
...
otherwise we end up with two buttons that do the same thing
2018-02-06 15:41:56 +10:00
Damien Elmes
cc26d32431
misleading spacing
2018-02-06 11:47:28 +10:00
Damien Elmes
1dccd7c8d7
rename _restoreFromFiltered
...
and use same logic as restoreQueueSnippet
2018-02-02 19:10:35 +10:00
Damien Elmes
3b0c5b2fe9
remove _cidsByDid()
...
no longer necessary
2018-02-02 16:55:53 +10:00
Damien Elmes
264e7c8ce9
simplify rev card answering
2018-02-02 15:19:41 +10:00
Damien Elmes
0b42787ffc
fix no relearn steps case in v2 sched
2018-02-02 14:30:53 +10:00
Damien Elmes
ebe420b440
v2 sched cleanups
2018-02-02 12:44:56 +10:00
Damien Elmes
8e0b009173
experiment with counting learning cards instead of learning steps
...
When studying, the learning count now indicates the number of
learning cards due within the learn ahead limit, instead of the total
number of learning steps required to complete that day.
Also fix the ineffective limit clauses in the learning counts.
2018-01-31 14:50:17 +10:00
Damien Elmes
2564dd75ee
fix error on final step of lapsed card
...
https://anki.tenderapp.com/discussions/beta-testing/968-experimental-scheduler-in-anki-210beta31#comment_44552449
2018-01-22 12:10:39 +10:00
Damien Elmes
d3d61ce93f
add option to show day learn cards before reviews
2018-01-20 16:07:57 +10:00
Damien Elmes
651b107b18
make preview delay customizable
2018-01-20 15:26:11 +10:00
Damien Elmes
1343101add
fix counts in preview mode
...
We can't preserve the original queues when in preview mode, as
otherwise the due counts report the remaining steps of cards in
the learning queue, instead of just 1.
Rather than the rather complicated approach of making the learning and
deck list code aware of the current mode we're in, preview mode moves
all cards to the review queue when the filtered deck is built - just as
cards are moved to the new queue in Anki 2.0.x. The reason for the
review queue is that users were frequently confused when cards appeared
as new - hopefully this is slightly less confusing.
2018-01-20 14:22:57 +10:00
Damien Elmes
63d06946a8
extra newline
2018-01-14 17:01:39 +10:00
Damien Elmes
2ebd75ffe7
code in new scheduler to move between versions
2018-01-14 16:57:40 +10:00
Damien Elmes
c56760802c
rename new sched code to schedv2.py
2018-01-14 16:54:48 +10:00