This script tracks incorrect responses and displays them and their respective counts in item info during reviews. The data is saved in the respective item’s notes. This is so that the responses and their counts are persistent across all clients with the additional benefit of being able to view them without the script. The script currently does not work for radicals (since I haven’t figured out a way to get a radical’s name on the review page for use with the API). The data is currently stored in the notes in JSON format for ease of parsing and rendering of page elements.
I am considering adding diagnoses for incorrect responses such as rendaku, glottal stop, visually similar kanji, etc. in the future.
The intention of the script is to leave existing notes intact by appending data to the end of notes, but the script may have bugs which overwrite your existing notes. Use at your own risk!
Update: Add sections for incorrect responses in item info