I really appreciate you guys trying to fix my script! And I’m really sorry that I don’t have the time to maintain it anymore ![]()
If you want, I can offer this though: you can fork the repo for this userscript and connect it to greasyfork (or just directly upload your code to greasyfork) and I will update the main post with your version.
Don’t worry if that’s too much hassle for you, I totally get that! :))
@saraqael Hi! I took you up on your offer:
▎ you can fork the repo for this userscript and connect it to greasyfork (or just directly upload your code to greasyfork) and I will update the main post with your version.
I forked the repo, and an update is ready for you to review and merge: v1.0.0: works with the current WaniKani UI, more pages, cross-level difficulty, your own difficulty by pensiero · Pull Request #1 · saraqael-m/WKItemDifficulty · GitHub
I’d rather it go out through your Greasy Fork listing than as a separate copy, so everyone who already has the script gets it as a normal update. Your review setting carries over.
What’s new in v1.0.0
- Works with the current WaniKani UI. In lessons, the indicator was ending up in the bottom-right corner, half off-screen.
- More places: a badge in lessons and reviews (after you answer, by default), on item pages, and a Difficulty section in the item info. There’s a dot on every item in the lesson picker, on level pages, the dashboard and the kanji/vocab lists.
- Details on hover or click: how the item compares, how many learners named it their worst, whether they missed the meaning or the reading, and your own accuracy and leech status.
- Same 2022 data, compared differently. Items are compared with everything up to your level, not just their own level, after correcting for the fact that people mostly name something they just learned as their worst. Each item also gets a likely range, so items with too little data say “Not enough data” instead of looking easy.
- New settings dialog, plus colorblind-safe and monochrome palettes.
Lesson picker (https://raw.githubusercontent.com/pensiero/WKItemDifficulty/83da60df565e64488cab51457b413d291e73ac1d/docs/screenshots/lesson-picker.png)
Item info section (https://raw.githubusercontent.com/pensiero/WKItemDifficulty/83da60df565e64488cab51457b413d291e73ac1d/docs/screenshots/item-info-section.png)
The full method and reliability numbers are in the README and docs/data-report.md in the PR. After merging, main.js just needs uploading to Greasy Fork (or the listing can sync from GitHub). I’ve also drafted an update for the first post in docs/forum-post.md.
I’m happy to change anything you’d like: defaults, wording, the method. And thanks for collecting this dataset in the first place; it’s what makes the script possible!
Hey
Thank you for taking the time to fix this userscript. I’m really flattered that people are still interested in this project even to this day! And I do appreciate the time it took to look into the issue and file a merge request for improvements.
Sadly though, I do not have the time to review your whole merge request as it is quite big. Also, it seems like you heavily relied on LLM code generation for your improvements, which I don’t condemn; but I don’t want LLM generated code to get into a repo under my name. I’m sorry to have to disappoint you like this, I was not clear enough on this point in my previous comment.
If you want though, I can update the main post with a separate greasyfork link to your version and an LLM usage disclosure :)
Hi @saraqael, thanks for the clear answer, and no worries, I understand about the LLM code. I’ve published my version as a separate script on Greasy Fork, and if you offer of a link in the main post with an LLM usage disclosure, would be great ![]()
WaniKani Item Difficulty Indicator v2: WaniKani Item Difficulty Indicator v2
Suggested wording for the main post:
▎ v2 (separate script, maintained by pensiero): a rebuilt version of this script for the current WaniKani UI, using the same 2022 data. It changes how difficulty is calculated (compared across levels, four bands, likely ranges), adds item pages, the lesson picker and item grids, and shows your own difficulty. LLM disclosure: this version was written with substantial help from an LLM, then reviewed and tested by the maintainer. Source: GitHub - pensiero/WKItemDifficulty · GitHub
The v2 description and readme credit you and the original script. The script has a different name and namespace from yours, so it doesn’t touch your listing or its users. I won’t post about it in your thread unless you’d like me to. Thanks again for the script and the dataset, which this is all built on.
Thank you for the quick and understanding response!! ^^
I added your version to the main post. Do you think it’s adequate like this or should I change something about it?
Cheers
That works great, thank you!
