WaniKani Lesson Balance script

But why? I just don’t see an practical benefit to this without the exception of clumping similar items together for people who are interested in that sort of thing.

Most levels can be done in around a week at 20-30 items per day. Given that after level 14 there’s usually <10 radicals and 30 to 40 kanji it’s usually around 2 days to clear out the dependencies then just filling the rest of the time to level with vocab.

Even if you’re leveling slowly the default ordering just makes it so that dependencies are a borderline non-issue and the penalty for missing something is only like a 2 day delay which shouldn’t matter at all for lower pace individuals.

I think it’s cool visualizing the dependencies like this, I just don’t see an actual reason to go out of your way to further optimize WK ordering.

In my case I find I have bandwidth for 0, 3, or sometimes 6 items a day.

1 Like

I have a reorder script working for me (at least, I think I do - I still have to use it a bunch first). It is certainly not for everyone. What it does:

  • Orders vocab towards the top, then kanji, then radicals.
  • Will always try to keep the percentages of started subjects balanced (e.g. 65% of radicals, 65% of kanji, 65% of vocab) - unless it can’t because not enough is unlocked.
  • Picks subjects that unlock the biggest “tree” of remaining subjects for that level.

To explain that last point some more with an example from my level (6):

  • kan/直 unlocks voc/直す, voc/直る, voc/正直, voc/直行
  • kan/安 unlocks voc/安全, voc/安い, voc/安心, voc/不安, voc/平安

So it will order kan/安 ahead of kan/直 in order to unlock the most vocab the soonest. The same applies to the order of radicals, except for radicals it’s considering the whole tree of unlocks (rad through to kan through to voc).

For me right now on level 6, this is my current started percentage across the types is:

vocabulary @ 0%, kanji @ 35%, radical @ 100%

My progress bars look like this:


I’ll report back in while to show you how that percentage is altered by this script.

Illustrating how my progress went with this script:

Oops. I had a bug that prioritized radicals over all else:

It’s rebalancing things:

There’s a bug in my script. When I continue for more lessons it doesn’t alter the lesson order (so I did a bunch more radicals again):

To illustrate how the (as yet unpublished) script works:

I wonder if this would look good with the ‘locked’ background image for the locked portion of the bar:

I wanted to use that image. I believe that the URL will change with every new deploy of WK. Any thoughts as to how to reuse it?

I don’t think the url changes unless the asset itself changes. But you could either draw your own and host it somewhere, or data-encode it and paste it in the script itself (online data uri encoder)

1 Like

Oh! Data url encoding is a great idea. Thanks! :slight_smile:

I’m sorry, but what is the script for these level bars? Or it’s private?

its this one.

Oh, thank you!

Can’t wait to trial this script… I made a comment in a “wishlist” thread asking for something like this. What usually happens with me is that I get hit with 30+ lessons from the previous level when entering the new level and would prefer just to deal with the items from the new level. A bunch of Kanji in each level have only one or two vocab words attached to them at respective levels and it would be great if I can study them last. This is not about speed of levelling, more about managing my time and expectations and have a constant level of apprentice items to deal with at all times. I am bookmarking this thread.


Ok! I’ve published the script and updated the OP. Enjoy folks!

1 Like

Is it fair to assume that all other reordering scripts should be disabled?

Ah, yes. That’s correct.

Ahem. This is what it looks like when two gurued radicals from the previous level come up for review and you fail them. It shows all of the previous level to you:

I just published a fix for the Continue button (which was previously messing up the reordering). Enjoy!

@hitechbunny! Where art thou? We miss you!

I personally think this is the most underrated script in the wanikani universe! It has really helped me from burning out! Thanks for writing it!