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.