autoLapseNewInterval – automatically adjust the new interval after a lapse

AnkiWeb addon 372281481 GitHub repository archived

Automatically adjusts the new interval after a lapse to target a configurable success rate (95% by default), fixing lapse detection for Anki21 and allowing silent changes.
AI-generated summary; may contain mistakes.

schedulingfork-or-reupload

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
9 (πŸ‘ 8 Β· πŸ‘Ž 1)
Updated
2022-09-28
Anki versions
2.1.54~
Description language
en

Maintenance

abandoned

  • The GitHub repository is archived.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.232020-09-17
2.1.272.1.54+2022-09-28
History across monthly snapshots

Loading…

Similar addons

Auto Ease Factor

Dynamically adjusts card ease factors after each review to target a chosen success rate, with configurable leash, bounds, and optional pass/fail two-button mode.

schedulingreview-flowbeta

Rating 78 πŸ‘ 72 Β· πŸ‘Ž 6 ⭐ 36 Anki 2.1.42~ Updated 2021-03-21
scheduler: Dynamic Lapse Interval (alpha)

Adjusts intervals for cards rated Again, setting lapse interval to 100% for short intervals and 25% for long ones, linearly between, with user-adjustable values.

schedulingbeta

Rating 7 πŸ‘ 6 Β· πŸ‘Ž 1 ⭐ 0 Anki <=2.1.33 Updated 2020-08-14
Leech Coach

Warns during review with a tooltip or optional popup when pressing Again on a card with repeated lapses and low success, prompting relearning without altering scheduling.

review-flowmotivationleech

Rating 2 πŸ‘ 2 Β· πŸ‘Ž 0 Anki 25.09.4~ Updated 2026-05-29

README

Anki-autoLapseNewInterval

An Anki2 addon by 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.

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.

Installation

Create a folder called autoLapseNewInterval inside Anki2/addons21 (usually located in C:\Users\Username\AppData\Roaming on Windows) and place __init__.py inside that folder. If you're using older version of Anki, make sure to use one of the legacy releases appropriate for your version instead.

Usage

For more in-depth information on what the addon does, you should read eshapard's original post (backup). You can adjust the change_silently variable in the code settings to allow the addon to make changes silently without prompting you.