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 review success rate (default 95%), fixing lapse detection and optionally applying changes silently.
AI-generated summary; may contain mistakes.

schedulingfork-or-reupload

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
9 (👍 8 · 👎 1)
Updated
2022-09-28
Anki versions
2.1.54~
License
GPL-3.0 (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
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

scheduler: Dynamic Lapse Interval (alpha)

Adjusts a failed card's interval by applying a percentage that scales linearly from 100% for short prior intervals down to 25% for long ones, with user-adjustable values.

schedulingbeta

7 votes 49% approval 👍 6 · 👎 1 Anki <=2.1.33 Updated 2020-08-14
Anki Cascade - Sibling Card Auto-Unlocker

Automatically unsuspends sibling cards once prerequisite cards meet interval or review-count thresholds, with leech protection, unseen-card-only safety, notifications, a rules configuration window, and manual catch-up unlocking.

schedulingreview-flowleech

1 votes 21% approval 👍 1 · 👎 0 Anki 2.1.66~ Updated 2026-09-20
Leech Coach

Detects cards trending toward leech status when you press Again, checks their review history, and shows a short tooltip or popup urging you to pause and relearn without altering scheduling.

review-flowmotivationleech

2 votes 34% approval 👍 2 · 👎 0 Anki 25.09.4~ Updated 2026-05-29
The Sticky Hat Addon

Resets repeatedly missed review cards to configurable learning intervals, optionally moves them to new cards, fully resets lapses, and tags affected cards.

schedulingreview-flowtaggingleech

1 votes 21% approval 👍 1 · 👎 0 Anki 2.1.1~ Updated 2026-10-13
Leech Balancer has 1 fork →

Reduces a card's lapse count—or resets it to zero—after configurable consecutive correct answers, helping rehabilitate potential leech cards, with an optional notification.

schedulingleechfork-or-reupload

3 votes 44% approval 👍 3 · 👎 0 ⭐ 1 Anki 26.08.1~ Updated 2026-08-26

Description

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.

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.