5 0 Sign in to rate

Remove "study ahead" penalty (and sort by earliness) ×

<10kB. Updated 2016-04-16. Only supports Anki 2.0.x.

The author has shared 6 other item(s).

Description

This addon eliminates the penalty that Anki imposes by default if you study a card ahead of schedule. I think this penalty is a bug, because the manual states: "If the cards were almost due to be shown, they will be given a new delay similar to what they would have received if you had reviewed them on time." However, this is not the case in the Anki source, which clearly penalizes studying ahead by averaging the card's ease with 120%. A 250% ease card gets pushed ahead by 185% × Edays where Edays = the days since last study. The default formula: elapsed = card.ivl - (card.odue - self.today) factor = ((card.factor/1000)+1.2)/2 ivl = int(max(card.ivl, elapsed * factor, 1)) My formula (only applied to cards studied early): elapsed = card.ivl - (card.odue - self.today) factor = card.factor/1000 ivl = int(max(card.ivl, elapsed * factor, 1)) As a bonus, this also gives you the option of sorting your filtered deck by "relative earliness" by selecting "relative overdueness" from the sort list. It keeps Anki's default sorting of overdue cards in the filtered deck, then does the logical extension of this behavior: sorts the study-ahead cards by ascending ratio of (days early)/(current interval). For example, a card with an interval of 1 year due 18 days from now (5% early) will sort before a card with an interval of 20 days due 2 days from now (10% early). UPDATE: I agree with the comment below that "study ahead" should be more like a normal review, i.e., they should not be "new" cards with only 3 options but rather have the full 4 options, including fail, hard, good, and easy (with the associated ease increase/decrease). I plan on eventually working on an add-on to entirely modify how reviewing ahead works, but my time is very limited and I cannot give an ETA on this yet. UPDATE 2: I have actually started to develop the addon that re-does how study-aheads are handled. It works really well, however it is currently without options or configurations. It also buries all future siblings for a day, which I don't like because it messes with forecast graphs and may also interact with other addons I really like (e.g. load balancer). I'll spare you the details why I did this, but it was a temporary fix and I'm not thrilled with it. ... I will release the add-on once I have a few basic config options built in and fix the sibling problem.

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

This add-on previously supported Anki 2.0. You can download the last version supporting 2.0 here. As Anki 2.0 has been discontinued, no support is available for this version.

All Anki 2.1.x Add-Ons

Reviews

Is this still necessary for Anki 2.1? If so, I would really like to have it

Excellent



It's very helpful. I would kill for realization of your idea in "update". Kill, not pay or something like that, but I could pray for you D:

Important addon!



Thanks so much for taking the time to write the addon. I'm wondering if it is somehow impossible to make it so reviewing ahead gives more than the binary pass/fail button options. It'd be great if the usual 3 buttons were available instead of the 1 we currently get when reviewing ahead. Anki is such a customizable program that respects its users and their desire to configure it just how they want, so I really don't get why seemingly arbitrary restrictions are placed on certain aspects like reviewing ahead.



Anyway I had no clue that I was being penalized for reviewing ahead until now, and luckily I hadn't done it a lot, but thanks to this I'll feel a lot more comfortable about it when I do!