Anki add-on: autoLapseNewInterval – automatically adjust the new interval after a lapse

Changelog: - 2022-09-28 changed target success rate to 95% (you can change this in the add-on config); also, re-downloaded from github and re-uploaded to ankiweb in order to make sure it works - 2022-09-15 updated to current github state Reason for my change to the target success rate: - https://supermemo.guru/wiki/Post-lapse_stability - closer to default Anki behavior ---- Uploaded by courtesy of daedsidog and eshapard. https://github.com/daedsidog/Anki-autoLapseNewInterval/issues/1 This ankiweb version might not always be up to date. Get the latest updates here: https://github.com/daedsidog/Anki-autoLapseNewInterval/releases From daedsidog's github: Anki-autoLapseNewInterval An Anki2 addon by [eshapard]( https://github.com/eshapard ) which I made to work with Anki21. The addon automatically adjusts the new interval to target an 85% review success rate. A more in-depth description can be found on [eshapard's code blog.]( https://eshapard.github.io/anki/anki-auto-adjust-new-interval-after-a-lapse.html ) Changes While eshapard's code blog mentions that the addon might work with Anki21 if you comment out a particular line, I discovered that lapses are rarely registered as such, and so the addon only adjusted the new interval on the first time you run it, and *never again*, because even if I lapsed 50 cards, they would not be detected on Anki21. I don't know if this is due to the Anki21 migration, an original bug in the Anki2 addon, or the author's intention. From reading his post about how he intended it to work, it is very likely it is one of the first two. What I did was modify the SQLite queries to correctly detect lapsed cards and correctly calculate the success rate. I also added the option to allow the addon to work in the background without informing the user of the changes it made. Usage For more in-depth information on what the addon does, you should read [eshapard's original post]( https://eshapard.github.io/anki/anki-auto-adjust-new-interval-after-a-lapse.html ). You can adjust the `change_silently` variable in the code to allow the addon to make changes silently without prompting you.

GitHub repository: daedsidog/anki-autolapsenewinterval
Repository description: Anki 2.1 addon which automatically adjusts the new lapse interval
Languages: Python
Topics: addon, anki-addon, anki2-addon, anki21, python, sqlite