71 7
Contact Author Sign in to rate

Auto Ease Factor

0.15MB. Updated 2021-03-22.


# experimentalCardEaseFactor Dynamically adjusts ease factor on cards automatically after each rep, constantly seeking the right ease adjustment to hit a target success rate. See: eshapard's "Thoughts on a new algorithm for Anki for the original rationale. Important: **You must NOT/NOT use an interval modifier in your deck options**. Your interval modifier MUST be set to 100% (no change) for all decks. Otherwise this algorithm could be constantly chasing a moving target. Warning: Does not seem to work with versions older than 2.1.21. NEW WARNING (28 Sep 2021): Haven't had time for new development, worried this will break with the v3 scheduler. License is open, forks are welcome. #### Differences from eshapard's version Unlike eshapard's version, which requires four reviews before the algorithm kicks in, this version lets the algorithm adjust ease factors as early as possible, including using information from learning steps. Early data is less reliable, though, so we do two things: we limit how much the algorithm can change the ease factor at first, and we use a moving average to more heavily weight recent reps when calculating success rate. If it took you a long time to learn a card originally, but now you've really got it down, your ease will rebound very quickly. The 'leash' setting ties your ease factor down at first, which limits the initial swings of the algorithm until you've had many more reviews and better quality data. If you're used to ease factors very close to 250%, without a low leash, this algorithm can produce some alarmingly low (or high) ease factors. It will generally auto-adjust very quickly based on your performance though. My anecdotal experience is that it front loads the work a bit, causing more reviews with short intervals in the beginning for hard cards, but backing off quickly after I know a card well. ### Installation #### In Anki, Tools > Add-ons > Get Add-ons... Then use this code: 1672712021 #### Manual installation Create a new folder named *autoEaseFactor* in your Anki addons directory. Save `__init__.py`, `autoEaseFactor.py` and `YesOrNo.py` to this folder. If you don't want to use `YesOrNo.py`, you can simply disable 2-button mode in settings. ### Configuration There are a few options that can be configured by editing the addon: 1. 'target_ratio' is the success rate you want to aim for (e.g. 0.85 for an 85% success rate) 2. 'leash' controls how much the ease can change per review, so a small leash of 10 or 50 will not let the algorithm adjust things until it has much more data. 3. moving_average_weight indicates how much to focus on more recent results when determining success rate. Higher numbers will focus more on recent performance. (This is very sensitive, values between 0.07 and 0.3 are reasonable). 4. min_ and max_ ease set the bounds of how far the algorithm can set the ease. This is "per mille," so 5000 = 500%. 5. two_button_mode makes the system "pass/fail" -- you can disable that by setting this to false (though saving mental load on each review is the primary benefit of this add-on, so I would recommend you leave this true if you can). ## YesOrNo.py Hard and easy add more choices that delay reviews and make you responsible for determing your ideal ease rating. The ease factor algorithm adjusts ease for you, so you just need to choose either "Again" or "Good" on any given card. The YesOrNo.py addon changes your options to Pass/Fail to help streamline your self evaluation, similar to low-key Anki and ja dark's work that inspired it. I suggest that you use the YesOrNo addon and that you disable *Show next review time above answer buttons* in Tools > Preferences... Seeing the next review times will just distract you from studying. If you just want to try this out, but you're worried about losing all the ease factors you've built up so far, there's another add-on that lets you export a deck's current ease factors and re-import them later. You could use that to "save" your ease settings for a deck, try this add-on, then if you don't like it, reload your old ease settings later. Reset Ease Automatically: https://ankiweb.net/shared/info/12081346 (Import/Export Ease Factors is added to individual deck settings with that add-on.) ## Acknowledgments eshapard ja-dark cordone brownbat (me) (hat tip to the MIA crew for inspiration and to the AnKing for helping me figure out how all this works) I am not requesting support, but the original author, eshapard, can receive tips at this link: https://paypal.me/eshapard/1 Shout out to other devs working on similar issues: Straight Reward -- https://ankiweb.net/shared/info/957961234 ### Changes #### 2021-03-21 Per deck settings, only working in latest stable releases (>2.1.40) with v2 scheduler. (Pending. This caused an issue where the config became inaccessible, so reverting for now. Hopefully able to diagnose and push these options soon.) #### 2021-02-08 Bugfix for NoneType error when using reviews-only setting. #### 2021-01-23 Happy new year! Fixing a compatibility issue with ReMemorize and generally ensuring past "rescheduling" events are not mistakenly counted as reviews. Huge kudos to lovac42 for talking me through this one on GitHub. #### 2020-10-31 Improved consistency for setting ease through deck settings; clarified tooltip. #### 2020-10-18 Improved compatibility with other button add-ons. #### 2020-10-16 Improved version checking (bugfix, stability). #### 2020-10-13 Support for "reviews only" mode by popular request. I still worry this option will make the algorithm far less accurate, so I do not recommend it for 99% of situations. #### 2020-09-26 Big refactor that will mainly improve testing. (Tested on 2.1.26, 2.1.33, and 2.1.34). Added a standalone simulation utility to test how the algorithm works. simulator.py is added as a file in the addon's directory. Run it from the command-line in that directory with ``python simulator.py`` (or ``python3 simulator.py`` on Linux). You may need ``pip install PySide2`` first (``pip3...`` on Linux). #### 2020-09-11 Added deck options: import ease factors, export ease factors, and adjust ease factors using the algorithm outside review. The last one can be helpful to resynch your ease factors after reviewing on mobile. WARNING: This may be slow for very large decks (>5000 cards). UPDATE: This causes an error in earlier versions, so I've restricted it to only apply to Anki 2.1.26+ for now. Will work on a solution for lower versions soon. (More history on GitHub: https://github.com/brownbat/autoEaseFactor )


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

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:


If you were linked to this page from the internet, please open Anki on your computer, go to the Tools->Add-ons menu item, then click on Get Add-ons and paste in the code.

All Anki 2.1.x Add-Ons Contact Author


on 1678099359
very good, only bug is when you press the easy button, ease can go above your set max
on 1663235644
[edit 5: making people aware of https://github.com/brownbat/autoEaseFactor/discussions/43]

Thanks, I'll try it out.

I have erased YesNo from __init__.py because I want to continue using ReMemorize. ReMemorize is a big time saver.

I suggest adding a convenient config option to (dis-/re-en-)able YesNo.

edit: Thanks, it works for me.

edit 2: Having only two rating possibilities is a benefit nevertheless – it saves time and working memory.

edit 3: To answer another reviewer's question about ReMemorize (and "ReMemorize buttons"): There is not much difference compared to usage without Auto Ease. You could think that you get crazy high eases, but this is not the case: Even when you schedule a card by "36500" (36500 days into the future), this is treated like a normal "Easy (4)" grading as far as ease is concerned. To summarize, the add-ons don't change the relationship between next interval and ease.

edit 4: I use an upper ease limit of 400% and a lower limit of 160%. Even cards that I have been reviewing since 3 years ago usually don't go above 400. As said in the description, the upper limit reduces error. The lower limit keeps me out of ease hell and identifies bad cards as leeches earlier.

edit 5: Have changed lower ease limit to 100%. I still advise against a 500% uppper limit.
Comment from author before post was edited
There is now an option to do just that.

Try setting "two_button_mode" to false in the config. Let me know if that works for you!
on 1661466536
Absolutely brilliant. There's lots of research showing that an individual review is most effective (most improves recall) when its reviewed at the moment you're about to forget it. Anki seems to ignore that research in favor of a one-size-fits-all approach.

As a consequence, there are people complaining that they're forgetting these cards by the time they review them - which is great. You've not really forgotten the card, you're just unable to recall it. That's the perfect time to refresh those neural connections.

But psychologically, we're motivated by getting things right and getting that reward, and so we don't see failure as the good thing it is. So obviously not the add-on for everyone, but the 85% is actually quite generous. The ideal might actually be as much as 50%, but the margin of error between *actually* forgetting the information and simply being unable to recall it on demand might be too small for something like this.

Either way, I'm very happy with this.
on 1642545240
Love this addon and the idea behind it. If you're getting unexpected results like the reviewer below me, make sure your card doesn't have any old history that you don't know about (maybe the place you imported it from exported it with scheduling history, etc.), and make sure the deck doesn't have an interval modifier. History can be removed with https://ankiweb.net/shared/info/2089200096. With no history and no interval modifier my new cards go to 260% ease after being completed which is entirely reasonable.
on 1640963525
The add-on works, however, after close examination, I think this algorithm is not right.

Purpose of the add-on
The purpose of the add-on is basically do something about the way anki handles 'ease', that can only go down, but (practically) never can go up. In anki there is the again and good button (which are self explanatory). However, hitting hard or easy is not straightforward and many of us (if not all) never hit those. The result, however, is that you end up with a lot of cards, with very low ease that take a long time before they get a decent interval. (also known as ease hell). This add-on uses a different approach, by setting the ease in a such a way that it aims to have 85% of your reviews correct, and adjusting the ease depending on your past performance of this card.

The good
The good about this app is that it allows you to only hit again and good, while the algorithm makes sure that hard cards have a lower ease, and therefore come up more often, while when you start to learn a card, it's ease also goes up. And honestly, that is also why I still use it.

The bad
1. The assumption that aiming for 85% is the golden bullet is wrong.
2. The algorithm used doesn't do what is promised and has a lot of quirks.

1. Why is aiming for 85% of review rating wrong on a per card basis wrong? Imagine you have learned a card and you know it rather well. So you hit 100% good all the time. This means that this algorithm very quickly makes the interval very high, so high that you will have forgotten the card at some point, and then you lapse, and start over again. Therefore, this algorithm is not made to help you remember cards, but helps you to fail cards. And that is not our goal. The normal 250% ease is, in fact, pretty good, once you have learned a card. It simply means that you will review the card a little bit earlier on a moment that you can still recall the card and this is perfectly in line with current knowledge on remembering cards.

2. The algorithm is extremely clunky at best and doesn't do what it is supposed to do. Mainly:
- even though I hit 'right' on a card, the ease goes down (when it had a lot of 'fails' in the past)
- new cards basically always come out with an ease of 220% (far below ankis default 250%).
- the variable weighted average 'weight' is not intuitive and can't be related to. It is a variable without meaning and causing many of the issues described in this post.

In practice this means this add-on front-loads new cards and gives too big intervals for learned cards. Also, in the authors own research it doesn't come out as better compared to default anki settings: https://github.com/brownbat/autoEaseFactor/discussions/43#discussioncomment-412287

Does this add-on have a purpose. Yes! To escape ease hell, this is a decent solution, albeit a little rough around the edges. The good is that it allows you to escape ease hell with a algorithm. However, the approach done by another add-on might be more straightforward and has similar/better results: Straight Reward -- https://ankiweb.net/shared/info/957961234.

As it turned out, the algorithm would always behave in a strange and unpredictable way, however you tweak it. I have to give this ad-on a thumbs-down and recommend to use the other add-on istead

Hope this review helps.
on 1639240184
Should be built in to Anki.

Has one small issue: if you reset the ease on a deck according to past performance, it can and will set the ease beyond your configured limits. That is to say, I have a "max-ease" of 2500, but when I reset according to performance, there are many cards set to an ease of over 250%. You can ameliorate this with another plugin https://ankiweb.net/shared/info/947935257 that can reset the ease en masse. In my case, I configure that one to reset the ease of any card over 250%, to 250%. Luckily I don't have to do this very often.
on 1637926452
Good add-on.
on 1637749656
Windows 11, Dell XPS 13.

Generally I leave Anki on in the background while working and only occasionally pop over to create a card here, a card there. However `Auto Ease Factor` was coded, it seems to eat up laptop resources to the point that my flashcard creation and review began to noticeably lag. *That should never happen.*

Went away as soon as I uninstalled it. Sorry, it's a good idea in theory, but the annoyance far outweighs the benefits for me.
on 1634396018
Great add-on. However, I would suggest that users set reviews_only as true and ignore the warning in the configurations page. In my experience, some cards may be stuck in a perpetual loop of being remembered in re-learning, thus gaining a high ease factor, just to be forgotten right after re-learning because the interval is too long.

To explain this in theoretical terms, my remembering of cards in re-learning is not due to the ease but a result of my re-learning steps. Hence, it is unreasonable that the ease changes because of this. When the add-on judges the suitableness of the ease, only data from reviews (which are controlled by the ease) should be considered.
on 1631641229
I love this add-on. It makes reviewing much simpler. One suggestion for this add-on would be to include an option to "adjust to performance mode" on startup. I usually do my review on my iPad and tend to forgive to adjust the ease every so often. An option to automate this process would be great.
on 1631290326
For the love of god, people.

Go to Addons > Select Auto Ease Factor > Config > Change stats_enabled to "false" > Restart Anki

This will disable the stats pop-up.
on 1631284723
This is a very interesting add-on, and I've enjoyed using it very much.

Personally I'm not a big fan of the two button system because I like to have a bit more control over the interval of my cards, but it's good that the add-on allows you to customize that.

One question for the author: if I'm still using the traditional 4 button system, how does the add-on interpret hitting "Hard" or "Easy"? It basically adjusts accordingly to the add-on as if I hit "Good" and then add / subtract the usual 150 / 200 point of ease?

Also: I've been using the add-on "Cards Info During Review" to monitor the change of ease and noticed some odd behavior when I undo a review card. Real example: card is at ease 270%, hitting good it goes to 280%, if I undo it stays at 280% instead of going back to 270% but hitting good again makes it stay at 280% (what is good); by hitting again it goes to 200% and undoing that it goes to 220%, hitting good after that makes it go back to 280%. So it's not a major issue because it is still always mapping the right ease after clicking the button.

Suggestion: instead of having the stats as a pop-up, have then displayed in a fixed space like the corner, sort of in the way that "Cards Info During Review" add-on does. I think this would be less distracting and also solves the problem of the pop-up fading away while you were reading it.

Edit2: Not working after the 2.1.45 update
on 1629881103
This is the best improvement to Anki's algorithm. I think this functionality should be included in Anki itself.
A couple of tips from my own experience:
- The default settings are pretty good. I made moving_average_weight a bit more conservative by lowering it to 0.15. This is useful with a very large number of cards.
- You can change target_ratio depending on your goal and training material. However, don't make it higher than 0.9. The default 0.85 turned out to be the most optimal for me.
- An approach with only two Yes/No buttons is good, but I recommend making a choice not as "I remember"/"I don't remember", but as "I am satisfied with how I remember" / "I am not satisfied with how I remember."
- You can turn off the distracting popup at the bottom left by setting "stats_enabled": false. I think it would be more convenient for other users to make it a default.
Comment from author
I have it working on 2.1.47 with v3 scheduler disabled. You might give that a try for the time being, but the v3 scheduler will eventually break this, I'm trying to figure out workarounds or find someone to take on development.
on 1629601013
Good add-on but, as someone else has commented, it would be good to be able to block the very distracting pop-up bottom left.
on 1628140957
Definitely a must-have add-on! I tried with a max ease of 369% but that proved to be too long of an interval after just a few repetitions, so I reduced it to 269% which I'm way happier with (not forgetting the cards as much)
on 1626914120
EDIT: This add-on is amazing. Thanks to you and Eshapard for supporting the Anki community.

It would be fantastic if that same add-on automatically adjusted the lapses of the cards, as described in the Eshapard article. Ideally, it would be nice to be able to hide the pop-up that appears when we answers cards (it distracts).
on 1626910669
on 1626674706
I don't need to fiddle with setting to find the perfect combination, this does the heavy work for me. Wonderful.
on 1625742259
Great! 😋

I've been using it for ~3 months now, and my retention is starting to get pretty close to the target one. I guess I'll look at the results in one or more years, since that's what matters, I think :).
on 1623962774
Great addon, but what happened to the "adjust east factor to performance"? I'm using Version 2.1.26 (70784154) and when I click the deck cog button, I don't see that option anymore.

Since I do most reviews on phone and i can't update manually anymore, is this addon effectively disabled?
on 1620136711
The ease changes again undo a card if you wanna have another look at it. So you end up with wacky ease issues.
Otherwise I really love the idea, but my ease is now screwed up.
Comment from author
When I have tested it, the ease should be consistent after undos, but the predicted intervals above the buttons give incorrect predictions after undos, because they don't factor in the AEF algorithm.

This is an annoying inconsistency I haven't been able to fix, but the behavior under the hood is actually consistent, just the predicted intervals displayed above the buttons are wrong, so I recommend just turning them off.

(I think eshapard knew this too, he also recommended turning those off for his version.)
on 1620116637
seems to work well. it is hard to tell.. interested to see if my retention truly settles at 85% in the long term

concerned about how aggressive this is... i scrolled thru my browser and sorted by furthest due date / largest interval and i dont think im going to remember 85% of those cards scheduled for over a year from now.. i left all the settings at default. maybe i should turn the leash down ?
on 1620012453
I started using the auto ease factor addon a while ago as I felt like it would help me focus on the cards I suck at more and improve efficiency on the cards I'm good at.

I just noticed a pretty massive flaw: if you hit good on a card, it will apply the new ease to the card, and change the interval of (as it should). However, if you then hit undo you will notice that the ease added to the card doesn't get reversed, thereby causing the good interval on that card to be a lot different (like.. a card went from 3 -- > 4.4 months, which is a pretty massive difference).

Unless I am misunderstanding something, this is a pretty massive change in that card's interval.
Comment from author
I noticed this too, when I investigated, I think this is an artifact of how the predictions over the buttons are generated. The predicted intervals shown above the buttons are just based on Anki's built in algorithm, they don't understand how AEF is going to recalculate the intervals after the buttons are pressed. So they make it look like behavior is inconsistent, when really the algorithm behaves the same after an undo.

I recommend turning off the expected intervals for that exact reason. Sorry for the confusion these caused!
on 1618901043
I haven't spent enough time testing the add-on to see if it markedly improves my performance, what I have noticed though, is the distracting stat pop-up after every review. Could you add a config option to disable it?
on 1618835321
Thank you! Apparently, I was in terrible ease hell, and this addon helped me root out the problem.
Hopefully, you can add something that will auto adjust ease upon startup, or maybe even integration with mobile reviews.
on 1618691146
Pretty good add-on, seems to be working fine for the time that I've had it.
on 1618538272
Thanks for the addition!
on 1617732442
Works great, but I have a mild complaint: on the GitHub page it says "disable Show next review time above answer buttons in Tools > Preferences... The next review times are misleading, they don't take into account the adjustments from this add-on and can distract you from studying.". It would be great if this was fixed (as in - make it so that the displayed next review time is accurate and the adjustments from the add-on are taken into account) as I believe many people would prefer to see next review times rather than disabling them, myself included.
on 1616893095
I wish there was a way to only do the two-answer option on the reviews so I could still hit easy on new cards. (The easy button lets me delay those cards by a few days rather than seeing them again the next day).
on 1616790932
Add-on seems nice.
I am doing my reviews on both PC and mobile. I would say 50/50.
The author in comments advises using the "adjust east factor to performance" option after reviewing in mobile as a sort of "workaround" for AnkiDroid not having add-ons.
Has anyone tried such operation, when about half of my reviews are on mobile? Will it work or should I look for another way of adjusting the ease factor of cards?
on 1616773079
Great add-on! Would be even better with per-deck settings.
on 1616432983
Just downloaded this add-on about a week ago. Can't really speak as to how it's doing as I'm fairly new, but it updated yesterday and it's already broken? Can't access the config file, errors keep popping up left and right about it as I'm trying to go through my reviews. Just had to toggle it off for the moment. Hope the issue gets fixed soon.
on 1616070145
thank you
on 1615360278
Great addon idea. This is exactly what Anki needs internally. They can't punish you for misclicking or didn't remember something because you were tired or you were walking down the street to go to work.
Does this work if you review cards on the phone and you log on computer to fix the internvals?

Big thanks for the attempt though.
on 1614188051
Great addon, it makes the Anki experience so much better. Thank you so much for this. It would be perfect if:
1. The settings could be configured per deck, not only globally.
2. There was an option to automatically adjust the ease factors when Anki starts/closes. (like the "Reset Ease Automatically" addon does).
on 1614027335
love it
on 1613960800
Amazing add-on!!! Guys like you inspire me to continue learning Python
Would love it also if there was an option to "adjust east factor to performance" for ALL decks either as a hotkey or automatically whenever I sync.
Comment from author before post was edited
Great to hear it! I think you're right, will keep exploring options to make it even easier to adjust factors to performance.
on 1613553772
This is a life saver addon.
Anki tries to treat all cards in a same manner but we all know not all cards are created equal nor they have the same difficulty. You can of course try to manually manipulate your cards' interval and ease factor to circumvent this but it's such a hassle to do so.
This addon is made to solve this problem. Just give it a retention percent you want and it does all the hard work of automatically adjust the ease factor for you, depend on your performance of the cards! Easier cards are shown more often, harder cards are shown less often. Hard cards which you struggle at first but get answered "Good/Pass" more often as time goes by gradually become easy cards, which will get shown less often.
This can sound quite spooky (you don't know how much it will change the workload of your decks) but I have used this addon for more than two months now with 30+ new cards per day and have not noticed any abnormal surge in number of daily reviews so I'm very happy about it.
I want to confidently say that I know about 90% (the retention rate I aim for) of my decks, and I want the hard cards shown more often to ensure that I remember them. This addon delivers just that. Highly recommended!
Feedback: (as of 2021-02-17)
1) For now you can only set a global retention rate for all decks. It would be fantastic if we can set local deck-level retention rate.
2) Add option to automatically "adjust ease factors to performance" on Anki startup would be greatly appreciated. Right now you have to do this action manually.
Comment from author
Thanks for the feedback, really glad to hear it's helpful!

Individual deck options has been a target of mine for a while, just haven't been able to make it happen between work and studying. I'll take another look. I added the idea for automatically adjusting on startup to GitHub too.
on 1613211428
I don't want to be a spoil sport but I'd be very cautious with adopting this add-on without more data on it's effects. This changes Anki's scheduling in a large way, and there isn't a lot of modeling to back up that it's better and not worse than ideas like MIA's suggestion to fix ease at 250% and manage your leeches.

The general idea that it aims to get a certain success rate is cool, and the add-on will likely do exactly that. However the effect on your total review load is also important and that's not super well understood. As the author mentions it tends to increase your review load early before it narrows in on the ideal ease.

Ideally this should be tried in an A/B fashion across two similar decks to see which one does better over an extended time.
Comment from author
These are really great points. People (even me) probably jump way too quickly into new algorithms without fully understanding all the effects.

I've done a mix of personal simulation and testing, but my specific data might not be widely applicable. I'd especially like to know more about how AEF impacts other learners in the community; that would be the only way to build real confidence in and quantify its impact.

I opened a discussion on GitHub to solicit ideas on the best way to study this more. Would welcome any thoughts you (or other reviewers) have there, if you have time for a longer conversation on this:

(I have a lot of other thoughts on verification and certainty of the performance impact, but they're kind of sprawling, so I moved them to the GitHub discussion).

Really important point, I definitely commit to studying this more over the coming months.
on 1613053159
Just started using so can't really comment on the effectiveness but definitely think this has massive potential. My only question is what's the best way to use this if you're on PC and mobile? Should I just use the "Adjust Ease Factor to Performance" option every time I start a session on PC? Would be awesome if it could automatically adjust ease factors when logging into PC the way the "Straight Rewards" add-on does.
on 1612552251
Great idea! I've been trying this add-on, and so far, so good
on 1612071471
Saved me ease hell and shifted my ease factor graph to right, reducing workload. My retention rate has stayed above 90 proves that it works!
on 1611599888
This is awesome and just answers my questions of "Why cant Anki just figure out how good I am with certain cards?"
I like the method behind but execution is important as well and so far everything works good. Given I use AnkiDroid I mostly use the mass adjustment on a nearly daily base on my desktop.
I am really looking forward to other smart plugins like this.
Thanks very much!
on 1611493756
I'm not sure why but if I press good on a card and the next schedule is 2021-06-03 and then press ctrl + z and good for the same card, it schedules to 2021-05-27. Doing it again, it schedules to 2021-05-23 and then to 2021-05-25.

So for some reason the due date isn't constant, and it definitely should be.

Edit: I take everything back. It's because Anki has a "Fuzz_Modifier".
Edit2: Yeah it's definitely from Anki and not this Add-on. Anki does this to make sure that cards don't get stuck to each other.
Comment from author before post was edited
Hmm, interesting. The add-on only affects ease, tries to let Anki itself control scheduling based off that, and that's caused some glitches like this in the past. I'll keep an eye on this sort of thing just to make sure. Thanks!
on 1611457090
I never write reviews , but this ... it literally changed my life.

I never had so much fun reviewing anki cards. It literally feels so much better and now it feels like i do the cards with purpose its insane.

i cant thank the author enough seriously

EDIT: i've got a question , i've put the ease factor on 3000 at max but one of my cards just got 310% is this a bug or intentional?
EDIT2: I fixed it about 2 weeks ago. It was my fault, i literally tried to change the txt in the Appdata Folder, but i just had to change the values within Anki in the addon settings. Not it works like a charm and never goes above 300%
Comment from author
Wow, really touched this little random side project had a positive impact on your life, really glad to hear that!

(Glad to hear everything worked out with the 310%, I was really stumped on that one!)
on 1611272194
Will this addon work correctly if I have historically used a different interval modifier? Or will it interfere with the algorithm?
Comment from author
As long as the interval modifier is set to 100% while using this algorithm, it should work fine.
on 1611112404
Really helped with ease issues I was having
Comment from author
Thanks for the feedback!
on 1610478476
I'm using Anki on two seperate desktop computers.

Am I right with my assumption that using your addon with both Anki installations won't work for me, because both instances of the addon would collect data independently? :(
Comment from author
If you are using the same Ankiweb account to connect both computers, then they'll have the same review history, so the add-on will work just like it would for anybody else.

If you have completely disconnected computers, the algorithm will do its best guess to match it to your existing performance on that particular machine. Couple odd things could happen, but not that terrible. 1) You might get better at cards faster than anyone would expect (because you're reviewing off the machine). That's... great? The algorithm will adapt to that and quickly escalate your ease to higher values. It might take a few more reps than if you were doing it on just one account. 2) You might, through random chance, have a card you perform worse on one machine than the other. You're going to drill it a bit more when you're on machine A than when you're on machine B, until the algorithm is satisfied you know it. Then it will quickly raise your ease up on that machine too.

End of the day, if you have two completely independent machines, you will be doing a few more reps than you would if you just had one review log. But you'll also get things right more often so that will cut down the number of reviews per machine, so it won't be the end of the world. I think in that situation, AEF is still one of the best add-ons to help, because it will at least adjust your ease upwards rapidly to match your knowledge on each machine, more quickly than Anki's built in algorithm.

(I am pretty sure they'll converge in the long run, but it would be really interesting to compare the ease factors on the two machines and see how much variation there is after 5, 10, 20 reps!)
on 1606102430
This should be part of the Anki application
Comment from author
Thank you!
on 1605499641
Seems to be working great as intended. Would love it if there was an option to "adjust east factor to performance" for ALL decks either as a hotkey or automatically whenever I sync.
on 1605155133
This is so great. Saved me a lot of time.

Curious how would the add-on perform in custom study decks?
Will the reviews in the custom study deck influence the calculation that this add-on does?
on 1604309343
MUST HAVE! simple as that! SAVES YOU TIME with no impact on recall!

It ADJUSTS the INTERVAL of EACH card = Each card hardness is stimulated in UNIQUE INTERVALS for Ultimate Performance!!

If you don't quite adjust your intervals by hand this is a very useful AUTOMATED way to do it.

on 1603318477
This is immensely useful. 10/10.

I just wish they would make it easier to port this to Anki mobile, as I do at least half of my reviews there... I will pray.
on 1602660347
awesome function!
on 1601930094
Love this. 2 things:

(1) It seems ctrl-Z to undo, might not undo the effects of this? For example, a card had 1.5 year jump (I thought) if I said yes, I accidentally hit no, ctrl-z to undo and go back and noticed the yes interval was now 1.6 years. Apologies if I just saw it wrong.

(2) Does setting a New Interval matter? I have it set to 80% because I don't want to completely start over on a card if I get it wrong. Should New Interval be set to something specific and/or will it affect this addon's worth and effect?

Thank you!
Comment from author
Thanks for the feedback!

(1) There was some odd behavior with undo in an earlier version, but after an update last month and focused testing, it should behave consistently. If you see something like this again, please let me know, raise an issue on GitHub, especially if you can find a way to duplicate it. (Even when there was a bug, the differences were pretty small percentages, so any adjustments should become really minor over time.)
(2) I've played with a few different new intervals, 4% to 80%, and haven't come up with a perfect number. I think 80% is reasonable though. Sometimes you miss a card that's on the tip of your tongue, and really a 100% interval would be fine. Sometimes you completely forget it, and really need to go back to learning from scratch. There's not a perfect way to handle both cases, but small numbers can really up your workload. So long as you don't find a bunch of cards perpetually stuck in relearning, >50% might be the right approach.
on 1601654642
Very interesting! If i use it for a while and then i revert to the normal scheduler, will it mess up my reviews or it'll be fine?

1) if i use to reschedule my cards, the addon will work fine ? for example if i add some cards that i already know well just because i want to have them in my collection, and i reschedule them to be reviewed in a few months, how will the addon behave?
2) if i use an addon that add more buttons (rememorize buttons) that add for example easier, easiest ecc. with intervals up to 10x the easy interval (that i often use for situation such as above) will the addon go crazy or it will be fine?
3) should i change my deck options to match the addon functioning (aside interval modifier)? for example are long learning steps still needed? Right now i have 15 60 1440 for new cards and 25 1440, would it be better to avoid learning steps bigger than a day (that as far as i know have the only meaning of avoiding ease hell) or is it ok?
4) if i deactivate yesorno and keep 4 buttons, would i defeat the meaning of the addon? Or is it still fine? in this case what would be the difference compared to not having the addon?

Thank you very much!
Comment from author
> 1) If i use it for a while and then i revert to the normal scheduler, will it mess up my reviews or it'll be fine?

The review stats are untouched, just the ease factor, so the only risk is that some cards might end up in ease hell because of that. You could either export your current ease factors using deck options, or use an add on like Rising Orange's Reset-Ease-Automatically to bring all your ease values back into a more normal range:

> 2) rememorize... I've heard some people say the YesOrNo add on doesn't play nice with ReMemorize, so you'd disable that. I think ReMemorize scheduling will work when you say 10x, but then next time you review if you hit a more normal button, my add-on will calculate the ease based on the performance and the average intervals... the combo is not really well tested, so I'm not 100% sure how it ends up, but I think they could be compatible.

> 3) deck options

People will have different opinions here. I just put learning and relearning steps for the first day, then let the algorithm take over right away. (ejs originally wrote the algorithm, and he had learning steps out to like a month). I just want as much performance-based feedback as early as possible. The advantage of shorter cycles is that the algorithm gets more feedback really quickly and helps the intervals climb faster. But if they work for you, and you don't feel like cards are constantly bouncing back to relearning after waiting a week, they might be completely fine.

4) if i deactivate yesorno and keep 4 buttons, would i defeat the meaning of the addon?

As I see it, the primary benefit of the add on is that performance based feedback means you don't have to think about the difference between hard/good/easy. You just know it or you don't. If you use those buttons perfectly consistently, the add-on won't have that much advantage, they'll both find the right ease factor after a while.

However if you ever hit Again too many times and have a really hard time judging when to hit Easy to climb out of Ease hell... this algorithm does prevent that by automatically scaling your ease factor to recent streaks. It will crash your ease factor when you get some errors, but every success will pull it back up, so you don't have to worry about getting stuck in short cycles forever.

So if you wanted to keep lots of buttons, the addon can still help you guard against ease hell. It will also still accelerate your super easy cards to have really long intervals so they don't bog down your deck. But it's not going to be quite as useful as taking the plunge and just ditching the mental load of multiple buttons completely. It's a judgment call, play around with it, but there's a high temptation to over-optimize Anki. If you get a process that pretty much works for you, go with it for a while, the most important thing is just doing your reps.

Thanks for the feedback and interesting questions! Best of luck!
on 1601647069
EDIT2: provvisory FAQ that anyone can edit if you are interested https://docs.google.com/spreadsheets/d/1GPN9WkEhdG0ZprQ3a7quKU5fnaFe965CfjzqdwQ1sG4/edit?usp=sharing

Super promising! Is it possibile to know how the addon behave when you split your reviews between mobile and pc? Or if you have two different pc where you do anki (both with the addon)? Would it break it?

EDIT: thank you very much for the answer! I suggest you to make a FAQ with this kind of answers :)
Comment from author
Great question. If you have two different PCs with the add-on, you shouldn't see any changes.

If you use mobile, there's a risk -- it's like the algorithm will be frozen the whole time you're on mobile, but will fix itself next time you review on PC.

Most times that won't make a huge difference, but the worst case scenario is if you suddenly failed a card a couple times on PC, then only reviewed on mobile after that for a long time. The algorithm normally drops your ease really low, then rubberbands it back up as you succeed. If you transition from PC to mobile, you could get in a version of mobile ease hell because the algorithm isn't there to tell it to recover.

There's a workaround -- if you just log in on PC and use the new deck menu option to "Adjust Ease Factors to Performance." It will put everything back on track, so you don't even have to necessarily review on PC at all anymore, so long as you run the algorithm across the deck periodically. (More often would be better, of course, but even if you only do this once every few days, you might still be fine.)

EDIT: Nice FAQ. Maybe I'll pull something like this together on GitHub, but until then, I added a couple answers. Thanks!
on 1601632919
Really great execution and concept. Feels like it should be native functionality tbh.

Like others, from a theoretical perspective I wish I could exclude (or underweight) the card learning process relative to reviews, but I'm not actually sure how much difference this would make in practice. To clarify this, for example, assume I don't care if I fail cards 50% of the time in the learning phase, as long as I pass cards 85% of the time in the review phase. Having the algorithm aim for an average of 85% pass rate across both learning and reviews means that I will (in this example) be reviewing cards too often, with >85% review pass rates compensating for <85% learning pass rates. My apologies if I've misunderstood how the algorithm works, this just appears to be the case from my stats after a few weeks of use.

Thanks so much for making this. It is, but for a purely ideological difference, perfect.
on 1601375055
amazing :)
Comment from author
Thanks for the feedback!
on 1601350774
Really love the add-on and the simplicity of the 2 button mode! This add-on really feels like it is making a difference in my studies. I would really like if the author could update the 2 button mode to be compatible with the Advanced Review Bottom Bar add-on, just so I maintain my fully customized interface.
Comment from author
I submitted a patch to the main Anki devs to make it easier for add-ons to change review buttons, I'll flag it for the ARBB's author. If we're all using that same interface, then everything should get much more compatible.

In the meantime, I found the button styling from AnKing works really well with my add on. Not really the same, I know, but worth checking out in its own right:

Another option -- you can disable the two button mode in my add on in config. My add-on will treat both "Good" and "Easy" the same if you do that, that might let you use both for now, just with a few redundant buttons.
on 1601289680
One of the best add-ons there are. It feels like the scheduling as improved immensely.
Comment from author
Thanks! Really great to hear it helps!
on 1600067348
Makes way more sense than the standard algorithm, I wouldn't go back to using anki without this.
I don't really agree with learning steps mattering for ease factor determination though. What is even the reason for having learning steps if they act like normal reviews in all but name? I wish that part was at least optional.
Comment from author
Thanks for the feedback, I've definitely been thinking about that issue a lot recently based on yours and other comments.

The original rationale for considering learning steps is that it's really hard for the algorithm to get enough data to make smart decisions from reviews alone.

You're right, that does reduce the distinction between learning and review. I've basically just accepted that, and I just have one or two learning steps now and then hand it over to the algorithm to take it from there. But ejs, the original author, used more like a full month of learning steps, so his version didn't use the algorithm until very late in a card's life. Very different philosophy! It's not my path, but I respect that approach.

So... even though I worry about the limited data you'd get, requests to limit it to reviews only are pretty common, so hopefully I can add that feature soon. (It's a little complex, and I want to get it right, so bear with me, but I am prioritizing it.)

It will be a little bit dangerous for people to limit the data that much, so I might put up a big warning, but I'm all for people playing around with different options to find the path that works best for them.
on 1599571304
Greate addon! I just would like to disable it for filtered decks, because some times I just want to review some cards without changing anything..
Comment from author
Thanks for the feedback!

There's been some discussion on GitHub about only applying this to certain modes. I'm not sure how quickly I'll be able to implement that, but I bumped it up to priority, it's a popular request.
on 1599174445
How is this different than ANKI 2.1 SCHEDULER? Thanks!

Also should I tick enable the scheduler while i have this on?
Comment from author
As I understand it, the new scheduler mainly changes how cards are scheduled when leaving custom decks. AnKing has a more thorough overview:

This add-on is more about making sure the intervals are correct during normal reviews, so after any individual rep the ease factor is adjusted so that the next review will be spaced appropriately--sooner if you missed the rep, later if you passed. I've tested with both the v2 scheduler and the older scheduler, so either should work with this add-on.
on 1598258038
Really love this addon!!!
on 1598122000
Great add on... I wonder if this also changes the lapse interval to the previous one just as eshapard pointed out...
on 1597294145
Good job and thank you for porting this addon. I hope you will continue to support this addon in the foreseeable future. Are you considering a special setting for each deck since the learning steps are varied to different decks?
on 1596977619
Amazing addon, thank you for continously working on it
on 1596400683
It's too early for me to say whether I feel like it's an improvement over the default algorithm, but I like the idea of it, and not needing to think about how well I remember each review that I got right makes individual reviews go by a little faster. I also appreciate being able to change many of the ways that the scheduling works in the config. I think a target ratio of 85% is a little too strict, so I'm glad that I can lower it to a more modest 80%.
Comment from author
Welcome any additional feedback, thanks for the comment!

(The original comment also pointed out an issue, and noted that Issues weren't enabled on GitHub. Issues are enabled there now, thank you for catching that!)

For other commenters, there's some additional discussion over on GitHub now, welcome any feedback here or there.
on 1596103265
Very nice addon! I wonder if it's compatible with "Induction Booster". So far, I haven't seen issues.
on 1596013552
I got some problem with the version 2.1.15 but after updating it went great
on 1595887060
After the avgEase addon has fallen out of date, this should get me back up and running. Thank you very much for putting this together.
on 1594257467
Thank you very much for your work much appreciated. Great it works with 2.1 !
on 1594076496
This is working really well. My True Retention rate is increasing steadily since using this plug-in, while my review time has not significantly increased.
Excellent idea from the original author, and thanks to the current one for keeping it up-to-date and therefore useable!
on 1593097837
Great addon
Is it possible to set different desired succes rates for different decks?
on 1592049633
You're a beast! Thanks for all your contributions to the SRS community, buddy.
on 1591902118
Have been using this add on for a long time. Glad to see it updated!
on 1591780280
Really cool to finally see my favorite Add-On on ankiweb. I've used the original for ages and it helped me immensely to get to my yes-answers to a reliable average.