This is the script for the summary page.
But just for this particular purpose, it’s not really needed as WK now has its own “Recent mistakes” section so one could note down the failed items from there to practice them separately.
Yes yes, they explain how the formula works in the script’s settings screen ![]()