45 0
Sign in to rate

HoochieMama: Randomize Rev Queue

0.02MB. Updated 2020-06-03.
The author has shared 30 other item(s).


Bug Reports: https://github.com/lovac42/HoochieMama Title is in reference to Seinfeld, no relations to the current slang term. Development Cycle This addon follows a six month development cycle to avoid problems introduced to addons due to the constant fluctuations made to the Anki API. Current Target and Cycle Details: Anki Version: 2.1.22 (Windows and Linux), 2.1.23 (macOS) Start Date: April 2020 Next Cycle Start Date: October 2020 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. License: This addon is a labor of love and licensed under the GPL. If you find it useful, consider paying something forward by supporting some charitable endeavors. Suggestions: https://iccf-holland.org/ https://www.vim.org/sponsor/index.php Derivative works or forks published with no added values should also include the above statement. Major Changes: v0.4.3 - 06/03/2020: Fix minor warning popup on new profiles. v0.4.2 - 04/24/2020: Added self-testing, changed update message to version warning. v0.3.5 - 04/14/2020: Added update checker message v0.3.4 - 04/11/2020: Improved UI, compatibility with 2.1.24beta4


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

Supported Anki versions:

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


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.

This add-on previously supported Anki 2.0. You can download the last version supporting 2.0 here. As Anki 2.0 has been discontinued, no support is available for this version.

All Anki 2.1.x Add-Ons


on 1600192495
Great addon, it allowed me to make my decks and anki collection a lot more compact in how they're organised.
on 1600119285
Great add-on, but not working with 2.1.33. Looking forward to next development cycle.

Very useful for shuffling specific decks, easy as clicking a button without the hassle of 2.1 beta scheduler messing with my learning cards.
on 1599640847
This addon helps me not enable V2 scheduler(which would mess with MorphMan)
on 1599598913
The addon is very sexy and i appreciate it. I wanted to try the text to speech update from 1.29 but unfortunately it's not supported yet. Works for 1.26 though.
on 1599091448
Awesome add-on. Could you make it so that it is compatible for Anki 2.1.33?
on 1598960510
i updated anki without knowing this add on isn't supported and i tried going back to the old anki and i can't figure it out. i wanna cry cause this add on was so freaking great for my decks. ughh
Comment from author
Learn to leave well enough alone. Otherwise you will spend more time fixing Anki then doing actual reviews. I am still using anki 2.0.5 beta, and I can tell you there hasn't been any meaningful updates made. It is still using the same bootleg implementation of SM-2 invented 69 years ago.
on 1597335198
Amazing add-ons, Thank you, waiting for the support to new version.
on 1596948537
Love this add-on but it's not supported by latest Anki version 2.1.30.

Please update
Comment from author
Sorry I don't have that kind of time ATM, but since you asked nicely, no extra sauce for you...
on 1591953823
Took me a while to understand the explanations above. I think I get it now.
on 1591376259
work great
on 1590463113
Getting error like this.Help me

An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.22 (0ecc189a) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-05-25 08:55:12

Caught exception:
Traceback (most recent call last):
File "C:\Users\G******n\AppData\Roaming\Anki2\addons21\1460733408\prefmenu.py", line 86, in <lambda>
File "C:\Users\G******n\AppData\Roaming\Anki2\addons21\1460733408\prefmenu.py", line 140, in onClickEx
idx = mw.col.conf["hoochieMamaSort"]
KeyError: 'hoochieMamaSort'
on 1586840849
Message made me run right back to 2.1.23
on 1586795782
All hoochie add ons won't work with Anki 2.4
Comment from author before post was edited
Just my luck, write a few addons to help dig my way out of ease hell and ends up stuck in upgrade hell. Serenity Now!

btw you can help test this: https://github.com/lovac42/HoochieMama/issues/19#issuecomment-581750177
on 1586558292
on 1585913466
thank you
on 1585532300
on 1585267787
Great for putting language learning cards among other serious cards. Makes anki more fun for me!
on 1583869893
Perfect if you have a large number of overdue cards and want to avoid having to go over all of them before being able to see today's reviews.
on 1582029558
Must have add-on. Thank you for sharing it.
on 1581864448
Edit: thanks for the quick update, works seamlessly, incredible add on

(The hoochie family is a necessity for Anki, I will not update to 2.1.20 until the hoochiefamily is ready for that update)
on 1579478595
Great, but wish it randomized new cards as well as reviews
Comment from author
on 1578176218
Amazing! Thank you so much for making this for us. Studying right now and was SUPER frustrated that I couldn't randomize my cards (I do about 500+ reviews/day) for the past few months and this is my SAVING GRACE. Thank you to the developers and grateful for your time to make my studying more efficient. :)
on 1575772690
***I don't want to give this a thumbs down because I'm sure it's a great add on. But it just makes me feel so dumb (like most of Anki's settings). I'm so frustrated because I don't know why my decks refuse to shuffle. I downloaded this and even tried changing some settings but it didn't seem to do anything. I don't have time to figure out what all the settings mean so I can get it to work. Maybe it doesn't change the cards already in the queue but that means I'll need to get through over a hundred cards before I know if this add on did anything. Ugh Anki and I have such a love hate relationship.
Comment from author
You can just switch over to V2 in preferences and the decks will shuffle. There's no need to use this addon. These addons give you more control, but requires that you understand how Anki works or at least spend some time reading the manual.
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).