glutanimate / review-heatmap

Anki add-on to help you keep track of your review activity
https://ankiweb.net/shared/info/1771074083
Other
1.2k stars 89 forks source link

When you import a deck, Anki will manually reschedule the imported cards as new. Review Heatmap erroneously counts these "reschedulings" as reviews #108

Closed failingtolearn closed 2 years ago

failingtolearn commented 3 years ago

Problem description

Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?

When you import a deck, Anki will manually reschedule the imported cards as new. Review Heatmap erroneously counts these "reschedulings" as reviews. Anki Desktop made a change that additional activities now go into the "review history" database, and the heatmap is picking up on these.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

Information about your Anki set-up

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

losthero15 commented 3 years ago

I believe I have the same problem. Lately, I'm rebuilding my decks. So I'm importing a lot of premade decks. Didn't have an issue until yesterday. Review Heatmap addon shows my yesterday's review count over 16k. While it was actually 730. In Anki's stats section, for yesterday, the card count is normal. It would be nice to be able to set an upper limit for a day because of this or any similar error in the future.

Checklist

[x] I've restarted Anki to see if it helps
[x] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
[x] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
[x] I've tried to disable other add-ons to see if there are any interactions present
    My issue disappears when I hold shift while starting Anki.
[x] I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about my Anki set-up

Anki 2.1.41 (312fa278) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-03-20 22:38:21

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
'' ['memrise2anki', 0, 'None', '']
Advanced Browser ['874215009', 2021-02-21T17:38, 'None', '']
Anki IPA ['799647424', 2021-01-10T14:15, 'None', mod]
Anki Simulator ['817108664', 2021-02-21T18:44, 'None', '']
AwesomeTTS - Add speech to your flashcards ['1436550454', 2021-03-17T03:36, 'None', '']
Batch Download Pictures From Google Images ['561924305', 2020-07-09T15:51, 'None', mod]
Google Translate ['1536291224', 2021-03-18T21:18, 'None', mod]
Review Heatmap ['review_heatmap', 2020-04-30T16:23, 'None', '']
The KING of Button Add-ons ['374005964', 2020-04-18T01:33, 'None', mod]

===IDs of active AnkiWeb add-ons===
1436550454 1536291224 374005964 561924305 799647424 817108664 874215009

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
glutanimate commented 3 years ago

Thanks for the report, guys. It looks like this is a new feature in Anki 2.1.41. Will look into it, but as 2.1.41 broke a lot of add-ons, it might take me a bit of time to get to this.

itsdomme commented 3 years ago

In my case it also appears in 2.1.40 after rescheduling cards in an interval. Anki's stats don't count those cards, but the heatmap does.

glutanimate commented 2 years ago

Hey everyone,

Thanks again for the reports! This should be fixed with v1.0.0 which I just released on AnkiWeb (no need for a manual installation anymore, you can just copy the add-on code into Anki as with other add-ons.).

Whether reschedules are included in the heatmap and stats is now configurable via an option under the "Fine Tuning" tab in the add-on's settings menu. It should be enabled by default, so if you had any overly high repetition counts due to manually forgetting/rescheduling cards, they should be corrected for those days

If you run into any issues please do let me know!