Closed aleksejrs closed 5 years ago
Also, unlike with v4, scheduling is recorded in the card's history:
Date Type Rating Interval Ease Time
2017-12-10 @ 23:19 Learn 3 3d 250% 3.2s
2017-12-10 @ 23:18 Learn 2 1d 250% 1.2s
2017-12-10 @ 23:16 Learn 1 1m 250% 1.7s
2017-12-10 @ 23:16 Learn 2 1d 250% 1.7s
2017-12-10 @ 23:15 Learn 2 1d 250% 1.6s
2017-12-10 @ 23:14 Learn 2 1d 250% 4.5s
2017-12-10 @ 23:12 Learn 2 1d 250% 15.6s
I do remember fixing a lot of issues with scheduling in v4. I'll see how much of that I can backport to v3. I understand that Anki 2.0 isn't going anywhere any time soon.
Thanks.
New user here (a couple of days), Anki 2.0.41, ir cards always moved to 1 regardless of what I click.
I tested the scheduler a bit. This is what happens:
Settings: percentage, randomize.
I hope this information will be helpful for debugging.
I'm not sure if there are any other issues with the scheduler, but the problem that @Smingvin mentions, in particular, is due to the way that python 2 deals with the division of integer values, which are not automatically cast to float, this can be solved one of two ways, both in scheduler.py,
Either change the following line, (which was resulting in 0 every time due to loss of precision):
newPos = totalCards * (value / 100)
to
newPos = totalCards * (float(value) / 100)
or, my preferred way is to import the more robust division, by changing the very first line to
from __future__ import unicode_literals, division
@SijanC147, thanks so much for that. I've made the suggested change. Hopefully this resolves the main issue here.
Anki 2.0.47 (v4 on Anki 2.1.0 beta 26 seems to work, and the first card is different). I have 3453 cards in my IR deck. The Scheduling settings are 10 and 50 %. The card is always moved to 1. The Organizer is too manual and not convenient (certainly not for 10 and 50 %).