Leech Detector

AnkiWeb addon 1406469667

Detects and classifies leeches using lapse metrics, adding Browse search filters, Card Info status, stats/plugin support, and a Tools summary with per-deck counts.
AI-generated summary; may contain mistakes.

statisticssearchleech

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
2 (πŸ‘ 2 Β· πŸ‘Ž 0)
Updated
2026-03-04
Anki versions
2.1.1~
License
Not found (this does not mean that the addon has no license)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JavaScript, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-08-05 (88 days before the snapshot).
  • Test files: 7.
  • Commits in the last year: 7.
  • Issues: 8 open, 3 closed.
  • Pull requests: 0 open, 0 merged.
  • Median first response: 3464 hours (2 answered issues and pull requests).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-03-04
History across monthly snapshots

Loading…

Similar addons

Anki Leech Manager - Saga

Adds browser columns for initial fail rate, card age, and average daily time spent, plus leech export and age/unique-day filtering tools for faster suspension.

exportstatisticssearchleech

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 2 Anki 25.07.5~ Updated 2025-10-26
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
Activity Rings

Adds configurable Apple Fitness-style progress ring widgets to Anki dashboards, tracking tags, decks, custom searches, or daily study progress, with visual editing and click-through to the Browser.

statisticsprogress-trackingsearchappearance

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 0 Anki 25.07~ Updated 2026-05-29

Description

Leech Detector

Introduction

This add-ons aims to offer new ways to understand how your card might not be leeches, based on more criteria than simply looking at lapses count

To understand better the algorithm, check my blog about this algorithm

Features

Card Info VIew

Added new field to see the Leech status of a card and the key metrics allowing to determine if it's a leech or not.

Card Info View, New Leech Metrics

Browse View

  • You can add to your queries new options to filters leeches :
    • leeches:all
    • leeches:active
    • leeches:recovering
    • leeches:recovered
    • leeches:healthy

Those flags combines as "OR", meaning the result will be all results merged.

You can also specify custom leech detection threshold, those are valid searches :

  • leeches:active[drop_count=5,drop_ratio=.5]
  • leeches:active[drop_count=5]
  • leeches:active[drop_ratio=.5]
  • leeches:recovered[drop_count=1,drop_ratio=.5] leeches:active[drop_count=5,drop_ratio=.5]

Note :

  • All custom filters are under the hood replaced by *, and then only the search is filtered. So, (A leeches:active) OR (B leeches:recovered) will be equal to (A *) OR (B *) AND (leeches:active OR leeches:recovered. If you want proper evaluation of such queries, you should populate a card field with the leech status and filter on it like you would do with any normal card fields.
  • If you specify more than once the same type of leeches filter, the last one will have priority. Example leeches:active[drop_count=1] leeches:active[drop_count=2] the drop_count=2 will replace the drop_count=1

Stats / Plugins Search

leeches:* filters are also supported in Stats screens and plugins doing card searches (for example Search Stats Extended).

  • This compatibility patch is enabled by default.
  • You can disable it in the addon config in Anki with "enable_stats_graphs_patch": false.
  • Restart after this change.

Tools Summary Window

From Tools, you can open Leech Detector Summary to quickly see:

  • Total leeches
  • Active / Recovering / Recovered counts
  • Per-deck split
  • Double-click any deck table cell to open Browser directly on the corresponding search
Tools Summary Window, Leech Counts by Deck and Status

Contact

Issues / Feedback

  • You can add the issues encountered or your feedback on this project : https://github.com/JSchoreels/anki-addon-leechdetector/issues
  • If you don't have a github account, or want to discuss privately about some behaviours, you can contact me on Anki's Discord : @soundjona

Release Notes :

2026/03/04

  • Support leeches:* in Stats / plugins searches
  • Add fallback safety and config toggle (enable_stats_graphs_patch)
  • Add leeches:healthy
  • Add Tools > Leech Detector Summary window (with by-deck breakdown)

2025/04/29

  • Add dynamic custom filters

2025/04/24

  • Fix sorting in Browse view when doing leeches:* searches like leeches:recovered[drop_count=1,drop_ratio=.5] leeches:active[drop_count=5,drop_ratio=.5]

README

Leech Detector

Introduction

This add-ons aims to offer new ways to understand how your card might not be leeches, based on more criteria than simply looking at lapses count

Features

Card Info VIew

Added new field to see the Leech status of a card and the key metrics allowing to determine if it's a leech or not.

Card Info View, New Leech Metrics

Browse View

  • You can add to your queries new options to filters leeches :
    • leeches:all
    • leeches:active
    • leeches:recovering
    • leeches:recovered
    • leeches:healthy

Those flags combines as "OR", meaning the result will be all results merged.

You can also specify custom leech detection threshold, those are valid searches :

  • leeches:active[drop_count=5,drop_ratio=.5]
  • leeches:active[drop_count=5]
  • leeches:active[drop_ratio=.5]
  • leeches:recovered[drop_count=1,drop_ratio=.5] leeches:active[drop_count=5,drop_ratio=.5]

Note :

  • All custom filters are under the hood replaced by *, and then only the search is filtered. So, (A leeches:active) OR (B leeches:recovered) will be equal to (A *) OR (B *) AND (leeches:active OR leeches:recovered. If you want proper evaluation of such queries, you should populate a card field with the leech status and filter on it like you would do with any normal card fields.
  • If you specify more than once the same type of leeches filter, the last one will have priority. Example leeches:active[drop_count=1] leeches:active[drop_count=2] the drop_count=2 will replace the drop_count=1

Stats / Plugins Search

leeches:* filters are also supported in Stats screens and plugins doing card searches (for example Search Stats Extended).

  • This compatibility patch is enabled by default.
  • You can disable it in the addon config in Anki with "enable_stats_graphs_patch": false.
  • Restart after this change.

Tools Summary Window

From Tools, you can open Leech Detector Summary to quickly see:

  • Total leeches
  • Active / Recovering / Recovered counts
  • Per-deck split
  • Double-click any deck table cell to open Browser directly on the corresponding search
Tools Summary Window, Leech Counts by Deck and Status

Contact

Issues / Feedback

  • You can add the issues encountered or your feedback on this project : https://github.com/JSchoreels/anki-addon-leechdetector/issues
  • If you don't have a github account, or want to discuss privately about some behaviours, you can contact me on Anki's Discord : @soundjona

Release Notes :

Unreleased

  • Load Card Info lapse history in the background so it cannot block Anki's UI while another collection operation is running.

2026/03/04

  • Support leeches:* in Stats / plugins searches
  • Add fallback safety and config toggle (enable_stats_graphs_patch)
  • Add leeches:healthy
  • Add Tools > Leech Detector Summary window (with by-deck breakdown)

2025/04/29

  • Add dynamic custom filters

2025/04/24

  • Fix sorting in Browse view when doing leeches:* searches like leeches:recovered[drop_count=1,drop_ratio=.5] leeches:active[drop_count=5,drop_ratio=.5]