Nuke Reviews Command

Helix said... This feels like reading "hey guys, I built an atomic weapon in my basement"
 ...and here are the schematics.
1 Like
meneldal said... I'm not sure it was a good idea to make this in the first place. Giving such great power to people shouldn't be this easy.
 ![](upload://n1ZFEDAvuyWKySBQPx98fSmNQqc.gif)

Did you get the 2600 reviews while doing and testing this script?

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

emin said... Did you get the 2600 reviews while doing and testing this script?
 Not this one. The self study script mostly. If I spent as much time on reviews as I did writing scripts, I'd have nothing to worry about.
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: