Nuke Reviews Command

Epicwhale said... what do u mean it wipes lessons? where do they go if you haven't learned them
 It marks everything as being learned/reviewed correctly on the first attempt.

also is there a way to use it just for reviews because I want to use it since I work like 50/h weeks and I wouldn't mind starting from 0 reviews again because im sitting on 1.5k and I can never get it down to carry on with WK
Easiest way to do that -- if you want to -- is to remove the '"lessons",' part from the array at the beginning. I'd definitely think twice before doing that, though.
rosyatrandom said...
Epicwhale said... what do u mean it wipes lessons? where do they go if you haven't learned them
 It marks everything as being learned/reviewed correctly on the first attempt.

also is there a way to use it just for reviews because I want to use it since I work like 50/h weeks and I wouldn't mind starting from 0 reviews again because im sitting on 1.5k and I can never get it down to carry on with WK
Easiest way to do that -- if you want to -- is to remove the '"lessons",' part from the array at the beginning. I'd definitely think twice before doing that, though.
 I've been thinking twice for a long time - it's been 60 days since I leveled up again and I just cant handle a queue this big so I can never actually make the queue smaller so I'm not learning anything
Epicwhale said... what do u mean it wipes lessons? where do they go if you haven't learned them

also is there a way to use it just for reviews because I want to use it since I work like 50/h weeks and I wouldn't mind starting from 0 reviews again because im sitting on 1.5k and I can never get it down to carry on with WK
It should work for both, but as has been brought to my attention , large reviews might not work because the request would be too long, they'll go back into your queue as if you got them all right (or all wrong if you change the zero to a 1)
Epicwhale said...
rosyatrandom said...
Epicwhale said... what do u mean it wipes lessons? where do they go if you haven't learned them
 It marks everything as being learned/reviewed correctly on the first attempt.

also is there a way to use it just for reviews because I want to use it since I work like 50/h weeks and I wouldn't mind starting from 0 reviews again because im sitting on 1.5k and I can never get it down to carry on with WK
Easiest way to do that -- if you want to -- is to remove the '"lessons",' part from the array at the beginning. I'd definitely think twice before doing that, though.
 I've been thinking twice for a long time - it's been 60 days since I leveled up again and I just cant handle a queue this big so I can never actually make the queue smaller so I'm not learning anything
Seriously though.
This certainly won't help you learn.
There's an important difference between levelling and learning.
even with 2600 reviews I find that I get the same ones a lot (it might be my imagination but they seem to come off the end of the list, I haven't dug into that part of the code).

You could of course use the review order script that got me into this 2600 review mess in the first place if that's what you want to do.

With this command, I’ll be level 50 in no time!!!






… And have learned nihil.

MetallicaDutch said...
....... And have learned nihil.
Let's apply Tennis expressions here.

Love:50

oh well it times out for me, guess ill be stuck in limbo forever

Epicwhale said... oh well it times out for me, guess ill be stuck in limbo forever
Thats the problem with developing something so destructive, you don't really know how it will work until someone tests it 

I've updated it now to submit queries of 2000 characters or less
If it still doesn't work try changing the number 1980 (2000 - the max length of a new item) to something smaller. 

(it also seems I didn't know how the lessons were served back to me, so that's been fixed too, and while I was at it, touched up on the radical submissions)

["lesson","review"].map(function(Q){$.getJSON("/"+Q+"/queue?",function(data){if(Q=="lesson")data=data.queue; var i=data.length,str="";while(i--){str+=((t=data[i].rad?"r":data[i].kan?"k":"v")+data[i].id+"[]=0&").repeat(t=="r"?1:2);if(str.length>=1980||!i)if(str)$.getJSON("/json/progress?"+str),str="";}})})

 

Still doesn’t work.

Uncaught ReferenceError: getJSON is not defined

sigh


Epicwhale said...
rosyatrandom said...
Epicwhale said... what do u mean it wipes lessons? where do they go if you haven't learned them
 It marks everything as being learned/reviewed correctly on the first attempt.

also is there a way to use it just for reviews because I want to use it since I work like 50/h weeks and I wouldn't mind starting from 0 reviews again because im sitting on 1.5k and I can never get it down to carry on with WK
Easiest way to do that -- if you want to -- is to remove the '"lessons",' part from the array at the beginning. I'd definitely think twice before doing that, though.
 I've been thinking twice for a long time - it's been 60 days since I leveled up again and I just cant handle a queue this big so I can never actually make the queue smaller so I'm not learning anything
Listen, I didn't level up for 14 months and probably totalled fewer than 500 review attempts in that time (got many, many wrong too)... It was horrendous! Queue in the thousands and bloody Koichi and co. adding new lessons every now and then to increase my lesson burden even though I wasn't levelling up or getting reviews right! 。・゚゚・(>_<;)・゚゚・。

If you are not enjoying WK anymore and know in your heart that the 'magic weekend where I clear all my reviews' is never coming, ask to be downleveled. I went from 34 (reached in October 2013) to level 10 (January 2015) and I'm enjoying it all again! Also, all those levels I squeezed through during the time when things started going downhill were pointless anyway. I forgot all of it!
Obviously you don't have to drop as drastically as I did. Ask Viet to restore you to whatever level where you feel you will be comfortable.
Alternatively, use this script /t/Review-order-by-SRS-level-Extension-to-alucardecks-review-order/4431/1 to do all your burn reviews first. You will never see them again (assuming you get them right obviously...), so this can go a long way to properly reducing your review queue and you might feel better about trying to actually do them all afterwards.

Don't abandon WK any longer! The Crabigator forgives even the most prodigal of daughters, but you'll regret your actions later! Also, you're a Lifetime member, so much less pressure. がんばって!
Epicwhale said... Still doesn't work.

Uncaught ReferenceError: getJSON is not defined
 Should be fixed now, I was testing it with console log so as not to actually submit the strings, I forgot to put the $. In front of getJSON but only in the get it all wrong script. So it's good to see that you've at least opted for that one right?
Ethan said... I've been looking under the hood lately and I've come up with a rather insidious command that will make short work of your lessons and reviews.

You are only cheating yourself if you use this command!

if entered into the console, it should clear out all of your lessons and reviews.

["lesson","review"].map(function(Q){$.getJSON("/"+Q+"/queue?",function(data){if(Q=="lesson")data=data.queue; var i=data.length,str="";while(i--){str+=((t=data[i].rad?"r":data[i].kan?"k":"v")+data[i].id+"[]=0&").repeat(t=="r"?1:2);if(str.length>=1980||!i)if(str)$.getJSON("/json/progress?"+str),str="";}})})

If WaniKani had a big red button, this would be it!

If you want to get them all wrong, try this one:

["lesson","review"].map(function(Q){$.getJSON("/"+Q+"/queue?",function(data){if(Q=="lesson")data=data.queue; var i=data.length,str="";while(i--){str+=((t=data[i].rad?"r":data[i].kan?"k":"v")+data[i].id+"[]=1&").repeat(t=="r"?1:2);if(str.length>=1980||!i)if(str)$.getJSON("/json/progress?"+str),str="";}})})
 What console. Must be some kind of programmer thingy.

In Chrome, Right click:



Select last option (I’m not good enough to read that kanji yet, should say something like Inspect Element or something similar)

Then Console tab in the Developer Tools:





or you can use the keyboard shortcut(on mac) option-command-J

I just learned a dangerous thing.

You don’t even need the console, you can just stick “javascript:” in front of it and paste it into the address bar.

You could even make a bookmarklet for easy access to the destruction of your kanji learning.

These are indeed dark times.

1 Like

Because you know, the world isn’t dangerous enough as is

1 Like

Just what we need, another Necro to let us know you just figured out how Javascript works. 

Syphus said... Just what we need, another Necro to let us know you just figured out how Javascript works. 
 Yeah I just figured it out, and I have a lot more learning to do if I ever hope to write a bunch of userscripts... Oh wait,