12 0
Sign in to rate

HoochieMama: Randomize Rev Queue

<10kB. Updated 2019-01-26. Supports both Anki 2.0.x and 2.1.x.


Bug Reports: https://github.com/lovac42/HoochieMama Title is in reference to Seinfeld, no relations to the current slang term. This addon has been featured on AnKing, watch the video for how interleve/randomization works on Anki: https://www.youtube.com/watch?v=uyZWiaYxklE Configs: To prevent conflicts with other similar addons, this must be activated in preferences. Note: If you have serenityNow installed, please update to the latest version or disable it. If you have any other addons that also monkey patches _fillRev, disable them as well. (e.g. Change Order of Review Cards in Regular Decks) About: This is the back-ported _fillRev method from the V2 scheduler with some added features from serenityNow and works on both v1 and v2 scheduler. It allows randomization of subdecks on the v1 scheduler without switching to the V2 scheduler. "'Randomization of subdecks on the v1 scheduler' in an add-on for 2.0 means to have the best part of the V2 scheduler (imo) while you can sync with AnkiDroid and use all the add-ons that haven't been ported yet." -ijgnd Note1: V2 only randomizes review cards, not learning or new cards. Note2: V2 randomizes subdecks but uses max reviews limit from the parent deck. This creates an imbalance where users with large amount of over due low priority cards could potentially end up focusing on one subdeck. A typical example: say Leaves, Clouds, Knots, and Math with a max review of 5 each and a cap at 20 for the parent deck. If the user have a large amount of overdue, say 25 each, the V2 scheduler would grab 20 cards sorted by dues resulting in 13 Leaves, 4 Clouds, 2 Knots, and 1 Math. Enhancements (off by default): - Customize sorting by dues, intervals, reps, etc... - Focus on today's dues first. This will avoid round-robin scheduling of forgotten cards. It will also ensure a set number of today's due cards are taken from each subdeck. - Enforce subdeck limits. This uses a custom queue builder (not V2), a set number of cards are taken from each subdeck (up to max rev) then randomizes the review before displaying it to the user. If sorting, each deck is sorted individually, then 5+ cards are drawn at a time from each subdeck and shuffled before review. So three subdeck sorting by ABC: 1A,1B,1C, 2A,2B,2C, 3A,3B,3C could result in 2A,3A,1A, 3B,1B,2B, 3C,2C,1C during review. Permissions: Read Only Access: This is a read only addon that determines which cards should be reviewed. Small amounts of meta data are saved for preference settings. Related Family: HoochiePapa for randomizing new queue: https://ankiweb.net/shared/info/1173108619 HoochieBaby for randomizing others: https://ankiweb.net/shared/info/1847358755 Cousins: Knockout Deck: Subset Learning https://ankiweb.net/shared/info/899747926 Bugs/Features: In the event where subdecks have a large amount of overdues and both parent and child are capped at a small number, there is a mis-count issue with the V1 scheduler. The deck browser would report a review total calculated from each subdeck limit (V1), but in the overview and with the actual reviews, the numbers are based on the limit from the parent deck (V2). This discrepancy may cause some confusion, but it is only a cosmetic difference. Patching this will break compatibility with other popular addons, so I decided to leave this as it is. With the addon Enhanced Main Window or similar plugins, you should be able to get a ballpark of the actual review count making any fixes unnecessary. Major Changes: v0.2.1 - 01/25/2019: Fixed 5th deck not randomizing under specific conditions (for custom Q builder) v0.2.0 - 01/24/2019: Gui options and compatible with muffins v0.1.9 - 01/06/2019: Fixed variable name for v2 compatibility (for custom Q builder) v0.1.7 - 12/21/2018: Shuffle deck list before queue building (for custom Q builder) v0.1.4 - 12/07/2018: Fixed sort orders. Added custom queue builder. v0.0.9 - 12/04/2018: Fixed a sync error, fixed sync disabling revCount v0.0.5 - 12/02/2018: Fixed cosmetic count numbers. Added custom sort features.


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

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


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

Other Anki 2.0.x Add-Ons Other Anki 2.1.x Add-Ons Ask a Question


on 1557509610
All the benefits of the V2 scheduler + works with the original load balancer add-on
on 1554637223
This really helps to combat interference. A must install.
on 1553514605
the hoochie add-ons are my favorite add-ons.
on 1551643435
Awesome addon, does this work with the V2 scheduler as well?
Comment from author
Yes. Says right there in the readme. The code was originally taken from V2 with sorting added.
on 1548898490
REMOVE Change Order of Review Cards in Regular Decks addon. It's said right at the top, but still got me.

So glad this thing actually works
Fixes one of the biggest issues w/ anki
on 1547994519
Very good and important add-on. Fixes my issue of having to create decks upon decks to avoid clustering of information. Thumbs up!
on 1546822499
on 1546225954
Have been looking for a way to review my subdecks together without creating some temporary deck or making one big deck. This works exactly as described and exactly what I needed.
on 1545432788
Nice !!! Tanks
on 1544808894
Very useful, awesome that add-on lets you customize by ascending/descending intervals as well
on 1543725251
Finally I get to randomize sub-decks review in Anki 2.0! Thank you so much!
on 1543399906
very good add-on (though the name is terrible).