Wrong number of burns

I just saw in my reviews summary that during the last session I burned 3 items. However the dashboard shows an increase of only 1 for the burned. items (from 2219 to 2220). I have verified that the status of the three newly burned items is really burned.

1 Like

Hmmm, the only thing I can think of is that maybe your review summary showed you the summary of your review and the previous one together? (I’ve noticed that it sometimes does that if the reviews are somewhat close together or something…) So that would mean you burned two items in the first session and then checked the dashboard and then burned the third item.

If that cannot be the case, then it might be worthwhile taking a screenshot of the review and asking the WK team about it?

1 Like

I am sure that the three items were in the review of this morning. Could it be that there has been a change in the contents (removed items?)

I wanted to check my review history with the pystats python script (not sure if this is the original name). It is no more working. It loads 100% of the subjects, then says that it is not correct and loads again in an infinite loop. The generated csv file of subjects looks correct to me.

$ head subjects.csv
subject_id;subject_level;subject_type;characters
1;1;radical;一
2;1;radical;ハ
3;1;radical;丶
4;1;radical;七
5;1;radical;丿
6;1;radical;亅
7;1;radical;二
8;1;radical;亠
9;1;radical;人

tail subjects.csv
8916;40;vocabulary;妖しい
8917;35;vocabulary;喋る
8918;36;vocabulary;鮭
8919;39;vocabulary;宛名
8920;49;vocabulary;蹴る
8921;49;vocabulary;一蹴する
8922;41;kanji;喧
8923;41;kanji;嘩
8924;41;vocabulary;喧嘩
8925;41;vocabulary;喧しい

1 Like

I don’t know that script so I have no idea why it is behaving this way. (Maybe it is choking on the recent API changes?)
If you want to look at your reviews of a given day, you can also use the WaniKani Heatmap. Hovering over a day shows you the items you reviewed. (But as far as I can see it’s all items of all reviews together for that day, not separated by individual reviews.) Maybe that helps you investigate the mystery?

The script is this one: [STATS] Wanikani PyStats - Generate a Spreadsheet from your review history
I have now posted my problem with the subjects file there, too.

The heatmap shows 3 burns for today, but 15 for yesterday - where I noted 17. So it seems you are correct with your first suggestion that some reviews have been counted on the wrong day.

1 Like

If you put this in the console it will give you a list of all the items you have burned in the last 2 days

wkof.Apiv2.fetch_endpoint('reviews', {filters: {updated_after: new Date(Date.now()-2*24*60*60*1000).toISOString()}}).then(data=>{
    burns = data.data.filter(a=>a.data.ending_srs_stage===9).map(a=>[a.data.created_at, a.data.subject_id]);
    wkof.ItemData.get_items().then(items=>wkof.ItemData.get_index(items, 'subject_id')).then(items=>{
        for ([date, id] of burns) {
            item = items[id];
            console.log(item.data.characters, date);
        }
    });
});
2 Likes

In what console?

Meanwhile I have solved my problem. My (personal) count for yesterday was wrong, as I could verify with the python script after I got a tip from @wenasi to correct it (see [STATS] Wanikani PyStats - Generate a Spreadsheet from your review history):

1 Like

The browser’s developer console. You press F12 and click on the console tab

2 Likes

Nice.
That confirms that yesterday I had only 15 and not 17 burns. Sorry for the inconveniences I caused.

$ grep 09-10 2daysburns
政策 2020-09-10T06:14:25.701909Z builder.js:783:39
理性 2020-09-10T06:16:40.017598Z builder.js:783:39
坊 2020-09-10T06:17:22.209135Z builder.js:783:39
注文する 2020-09-10T06:26:33.842628Z builder.js:783:39
値札 2020-09-10T06:28:07.221954Z builder.js:783:39
口 2020-09-10T06:30:44.991503Z builder.js:783:39
藤 2020-09-10T06:31:57.557859Z builder.js:783:39
履歴書 2020-09-10T06:40:51.864017Z builder.js:783:39
値 2020-09-10T06:41:26.214977Z builder.js:783:39
意外 2020-09-10T06:53:09.970695Z builder.js:783:39
要点 2020-09-10T06:57:12.724995Z builder.js:783:39
価値 2020-09-10T06:57:47.652722Z builder.js:783:39
若者 2020-09-10T06:58:20.304925Z builder.js:783:39
夜 2020-09-10T07:09:20.119129Z builder.js:783:39
応じる 2020-09-10T14:05:58.432857Z builder.js:783:39

2 Likes