Comments (6)
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
from incremental-reading.
@SijanC147, thanks so much for that. I've made the suggested change. Hopefully this resolves the main issue here.
from incremental-reading.
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
from incremental-reading.
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.
from incremental-reading.
New user here (a couple of days), Anki 2.0.41, ir cards always moved to 1 regardless of what I click.
from incremental-reading.
I tested the scheduler a bit. This is what happens:
Settings: percentage, randomize.
- Any percentage between 0 and 99 will return the card to position 1.
- If you set percentage to 100, cards will be moved to (or near) the bottom of the pile.
- If you set percentage to above 100 (either 150 or 1000) the cards will be moved to the bottom, while the tooltip will report a proportionate but non-existing index (for example: "card is moved to position 350", even though the deck has 50 cards so it is actually moved to 50)
I hope this information will be helpful for debugging.
from incremental-reading.
Related Issues (20)
- Can't use highlight,extract and so on in other kinds of cards HOT 1
- Error message
- Extracting clozes does not forward the highlighted text HOT 2
- Pocket doesn't seem to import articles
- After installing and restarting Anki, plug-in crashes HOT 1
- Autogenerated Hyperlinks not working - also spacing question
- Clash with image occlusion
- Problems with highlighting and text deletion HOT 1
- alt codes conflicting HOT 1
- Issue with making Cards from an article HOT 2
- Invalid HTML on card: SecurityError: Failed to execute 'insertRule' on 'CSSStyleSheet': Cannot access StyleSheet to insertRule HOT 6
- Caught exception: Traceback (most recent call last): HOT 2
- Pressing up, down, pageUp and pageDown arrows cause an error HOT 2
- ้่ฏฏerror HOT 1
- 'Show Answer' leads to error HOT 6
- Python 3.9 compatibilty issue : AttributeError: module 'base64' has no attribute 'decodestring'
- Hello, will there be a new version of this addon? HOT 3
- Reading queue stuck while trying open a pdf file HOT 2
- Plugin crashes on OSX during on boot-- fresh install HOT 1
- Rename a few options HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incremental-reading.