[Userscript] ConfusionGuesser

@Sinyaven Confusion Guesser is one of my favorite scripts, but has been broken by the recent WaniKani update. Is there an update in the works?

1 Like

I wanted to update it yesterday, but it took me until 2am to update Item Info Injector (which is used by several other scripts), so I postponed my work on ConfusionGuesser. I will try to release an update for ConfusionGuesser today, but I don’t know how long it will take.

9 Likes

Thanks so much. I don’t even mind if it takes a couple days or whatever, just wanted to make sure it was still something you keep up to date, because it is an amazing script that I have come to rely on a lot. Instead of just being told ā€œno, that’s wrongā€, I can find out that I was thinking of the wrong kanji, or that the reading I put is a valid one but not the right one for this word, or whatever and really helps correct gaps in my learning.

I really appreciate you writing this script. :slight_smile:

3 Likes

As an new wanikani user, I just wanted to drop by and say an well ment thanks for working on the update!
Much appreciated.

1 Like

@Corodon @danyramdas I have released version 1.16 of ConfusionGuesser. It’s not that well tested yet, but it should hopefully work again. The settings menu was provided by Open Framework which is not updated yet, so the settings menu is inaccessible for now until the release of the next Open Framework version.

9 Likes

Works great! Thanks for fixing it so quickly, ConfusionGuesser really enhances my WK experience.

One question though, there’s no gear icon at the top of the screen anymore, how do I check whether I have IDS mode enabled?

1 Like

The gear icon is the settings menu that I was talking about :wink:

The settings should be unaffected, so if you already had it enabled it should still be. But if you really want to check, you can open the browser console during reviews, paste the following code:

wkof.settings.confusionguesser.useIds

and see if it returns true. If it does, then IDS mode is still enabled.

2 Likes

This is one of my favourite scripts, thanks so much for fixing it so quickly. :raised_hands: Can’t wait for my next reviews to come up now that this works again.

3 Likes

Hmmm, I’ve updated the script but somehow I can’t get it to work anymore :frowning:

Can you go through the steps listed in this guide and report back with the details?

Okay, I just checked the list and tried it again with all other users scripts disabled (except for WaniKani Open Framework) - this resulted in no change while doing my reviews, nothing comes up when I get an answer incorrect.

My other scripts work well, but this one unfortunately does not. I’m on Safari, macOS Ventura 13.3. Here’s what I see in Tampermonkey:

And here’s what is running while doing my scripts:

Here’s what I see in the console though:

I tried switching off my VPN, but it made no difference either.

1 Like

I use Double Check, and one bug I have encountered recently (which I don’t know if it was there before or after the Wanikani changes) is where it tells me what I could be confusing it with, despite me not going onto the next answer.

If this is not a bug, I apologize.

1 Like

The script is working now, hurrah! :grinning:

1 Like

I’m glad to hear that it is working for you now! I would love to say that this was thanks to my valiant effort in fixing the bugs, but that would be a lie – I did not have the time to look into the reported problems yet. :sweat_smile: But I have to say that I like it when bugs are fixing themselves. :smiley:


I think I need this explained a bit more. The guesses should appear when an answer was marked wrong. What do you mean with ā€œgoing onto the next answerā€? And if this is a conflict with Double Check, can you tell me your Double Check settings so that I can try to reproduce it?

2 Likes

Sorry, I wrote that while I was pretty tired. Let me try to explain this better.
The ā€œpipelineā€ for answering a given question goes sort of like this (w/o any extensions):
Question → Answer → Next Question
With double check, it is:
Question → Answer → Decide Whether To Go Back To The Question (Step 1) → Next Question

Since you said this, what I said isn’t a bug but a feature. I guess what I’m asking for now is more compatibility with double check by adding an additional setting to only show the guesses when you go onto the next question.

Apologies for the confusion, and I hope this clear things up!

I consider ConfusionGuesser mostly feature complete and don’t really intend to continue adding new features, unless I see the feature as a huge benefit. In this case, I don’t see why it would be useful to have the guesses appear after already proceeding to the next question. If the problem is that ConfusionGuesser sometimes gives away the answer whereas you would like to challenge yourself to find the right answer at least on the second try, then you can change the ā€œWhen answer incorrectā€ setting to ā€œMinimized – show arrowā€. That causes the guesses to be initially hidden, and you can look at them by clicking the arrow or pressing the hotkey.

1 Like

my laptop broke last month and all of my userscripts had to be found from the api list and this makes dealing with really visually similiar kanji workable in my brain. So I wanted to stop by and say thanks for this script :slight_smile:

2 Likes

This helped me to understand what your script is doing, thanks! I noticed that although a lot of times the ā€œ+ā€ sign appears (top right), there are times that it doesn’t appear. What does the ā€œ+ā€ mean and what happens if I were to click it?

I am worried that if I did click it something might change that I don’t want.

The + button just expands/collapses the list of guesses.

The script compiles a list of guesses and assigns a rating to them for how likely it is that you confused them with the question. The guesses with the highest rating are shown first, but sometimes the actual source of your confusion is not the top rated guess. Then it can be useful to expand the list and look through the other guesses.

1 Like

Thanks! I didn’t want to click it and have something happen that I couldn’t undo and thank you so much for creating this script. It definitely helps to see where my confusion occurred.

1 Like