[Userscript]: Double-Check (Version 2.x)

I was doing reviews…

No additional buttons appeared. I only had the home button in the upper left as well.

2 Likes

In this case @rfindley intervention is required.

1 Like

The usual steps:

Press F12 and click on the Console tab to see if there are any errors.

2 Likes

Tagging @CDR-Strawberry because rfindley has responded.

Thanks! I’ll try it next time I’m on that computer.

@rfindley I do get an error message,
image
Tampermonkey is enabled though :confused:

Interesting that rfindley didn’t include a check for WKOF in this script.

Anyway you need to install WKOF

4 Likes

Ahh, thank you! I completely forgot it existed.

1 Like

Yeah, I probably should do that. I think, at the time, I was doing a speed-patch when WK changed how subject_ids worked.

2 Likes

Hi @rfindley

I observed an expected behavior with this script, that may need a fix.

In the case where the english meaning is a transcript of the japanese word (eg. ‘納豆’ ‘幕府’), it seems possible that the script will just shake and not error out when the japanese spelling is typed incorrectly.

In my particular case of today, I typed incorrectly ‘なっと’ for the reading, and it just shoke, and did not give an error. The correct spelling is ‘なっとう’.

1 Like

It’s because “natto” is also the accepted Meaning, and when you have “Allow typos” enabled, it warns when you’ve entered the Meaning instead of the Reading.

I’m not sure what settings you have, but I’m seeing the pop-up message “We’re looking for the reading, not the meaning”. Are you not seeing that?

2 Likes

Thanks, you mean that this symptom happens only because I typed ‘なっと’ which happens to be the correct spelling of the meaning answer, even if WK was asking for the reading. It makes sense.
My settings were as below:

2 Likes

Sorry if not entirely on topic but is there any place where wanikani typo detection is described?

I just can’t figure out why “police office” is not a typo for “police officer”, is it because it is a possible translation of another word from the vocabulary?

1 Like

They use the Levenshtein distance

But this is not the whole story. They also check the contents of an allow list of permissible answers and a block list of banned answers. If you want to consult the contents of the allow list and the block list it is available in Item Inspector. (Disclosure: I am the author of Item Inspector)

2 Likes

Thank you, will definitely check Item Inspector, I have some understanding of Levenshtein distance but allow and block list are news to me for sure!

Just a small thing, but since we don’t get a “Correct” notification in Lightning Mode, an optional satisfying ping sound would be nice! :smile:

Thanks for setting this up

Brilliant script. Is there any way to have “Show All Information” automatically expanded upon wrong answer? If not, would a hypothetical script that does that be able to coexist with Double-Check?

Is this what you’re looking for?
Settings -> Item Info -> Show Item Info -> After incorrect answer

(And, of course, the settings are accessible via the gear icon in the top left corner of the review screen)

I’m looking for something that will click the “Show All Information” button within the Item Info screen that that option already shows. I’m currently returning to WK, and therefore need to relearn a lot of the mnemonics, but the reading/meaning mnemonics are typically linked; this means that, when the randomness of the reviews presents the “second half” (the reading, I think) of the mnemonic first, I need to click through manually and read the “first half” to make any sense of it.

I suspect that this requires two clicks by default so that you don’t see the meaning when you get the reading wrong (and vice versa), but it’s my understanding that getting either the meaning or the reading wrong (or both) “punishes” you identically in terms of SRS level decrease. If this is the case, I’ll need to repeat the item anyway, so I don’t really mind spoiling the half I didn’t just get wrong. If I’m misinformed, then my request might not make sense.

1 Like