22 0
Sign in to rate

HoochieMama: Randomize Rev Queue

0.01MB. Updated 2019-08-24. 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. Latest change added unrestricted randomization. If you're a slacker with too many overdue cards from a single deck, you may find that this deck is card blocking your other reviews from randomizing properly due to the limited batch size. Unrestricted mode solves this at the cost of higher CPU usage. 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. Extra Shuffle: New in v0.3.0 is the added option for extra shuffling for each batch. As you know, Anki grabs 50 cards per batch. So if you have your reviews sorted by young first, the extra shuffle will look like: FROM: 1,1,2,2,2,3,4,4,5,5,5,5,8,10... TO: 8,1,2,1,5,5,1,4,3,10,4... Unfortunately, if you only have a small number of reviews, the young and matured cards would be mixed together per batch, and the extra shuffling can be too much: FROM: (1,2,5,5,10,12,15,21,22,35,42,54,69...) TO: (5,69,21,1,12,54,5,22,35,2...) This is where fine mode comes in handy. It divides each batch further into three piles and shuffles each pile separately then places them back together: FROM: (1,2,5,5,10,12,15,21,22,35,42,54,69...) TO: (2,5,1,5,10), (22,12,21,15), (54,35,69,42) These two modes will be labeled as fine and coarse mode. Sorting: 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. Q & A's: Is this compatible with V2? Yes, it was originally V2 backported to 2.0 with sorting added. If you leave the defaults settings with the check boxes, IT IS V2's queue builder. Can't you do the same thing with filtered decks? Do you enjoy micro managing your reviews? Most addons such as Load Balance Scheduler don't support filtered decks. Filter decks also use a different scheduler than regular reviews. Major Changes: v0.3.1 - 08/24/2019: Updated with latest changes made to Anki2.1.15. Added extra shuffle with fine and coarse mode. 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 1574002998
on 1572557852
Finally, the reviews won't be a predictable order.
on 1572084544
on 1571793403
Thank you
on 1567657244
Awesome for med students.
on 1567263949
Much thanks. Makes me think a bit harder on each card
on 1566561093
One of the reasons I haven't been doing my zanki like I should was because I HATED not randomizing between subdecks! This add on is amazing <3
on 1565444517
Is sort by: none (shuffled) vanilla anki's default behavior?

edit: Nevermind. the manual says it is random to a certain extent. But this add-on is even better.
Manual: "Review cards are always shown in random order. If you wish to see them in a different order, you can use a filtered deck. More specifically, Anki randomizes reviews by grabbing batches of 50 cards in the order that they exist in the database, randomizing each batch, then putting them together. This means that there is a slight bias towards older cards being shown first, but it prevents individual cards from showing up in a predictable order."
Comment from author
This is a known issue: https://github.com/lovac42/HoochieMama/issues/15
on 1564010914
Heaven sent!
on 1561197114
Great - stops all the contextual hints and forces you to think more clearly about the material being studied.
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).