Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heatmap counting a random date #179

Open
6 tasks done
PinkDucki opened this issue Jan 8, 2023 · 2 comments
Open
6 tasks done

Heatmap counting a random date #179

PinkDucki opened this issue Jan 8, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@PinkDucki
Copy link

Problem description

I started using Anki yesterday, and got started on my first deck. Just now started a new (second) deck. After learning 10 cards from this new deck I went back out to the menu where the heatmap is. For some reason it says that I have 1% days learned, and I can scroll back on the years, back to 2021 where I have a single day learned. I am very confused cause I literally only made my account and started using Anki yesterday.
image
image
image

I'm not sure if this is an Anki issue, or a heatmap addon issue, but when I go into the statistics window, no data from before I started shows up and I can't even go back to the 2021 page, so it leads me to believe its probably a heatmap issue?
image
image

Checklist

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • 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. *
  • 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.
    *The heatmap doesn't exist when starting anki while holding shift, so its impossible for the issue to be there

Information about your Anki set-up

    
    Anki 2.1.55 (01caec2a) Python 3.9.15 Qt 6.4.0 PyQt 6.4.0
    Platform: Windows-10-10.0.19044
    Flags: frz=True ao=True sv=2
    Add-ons, last update check: 2023-01-08 10:06:36
    
    
    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    Button Colours Good Again ['2494384865', 2022-09-27T20:18, 'None', '']
    Custom Background Image and Gear Icon ['1210908941', 2023-01-04T04:34, 'None', mod]
    Japanese Support ['3918629684', 2022-03-14T13:32, 'None', '']
    Review Heatmap ['1771074083', 2022-06-30T11:43, 'None', '']
    
    ===IDs of active AnkiWeb add-ons===
    1210908941 1771074083 2494384865 3918629684
    
    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    

@PinkDucki PinkDucki added the bug Something isn't working label Jan 8, 2023
@PinkDucki PinkDucki changed the title Anki counting a random date Heatmap counting a random date Jan 8, 2023
@Azzla
Copy link

Azzla commented Jan 19, 2023

Dropping by to say I'm experiencing the very same issue. I created my account and started using Anki in October of 2022, but the "Days learned" stat is skewed low because of a random day in 2021 when supposedly 17 cards were reviewed:

キャプチャ

I will add that the "Ignore Data Before" fine tuning option does nothing to affect it.

@Azzla
Copy link

Azzla commented Jan 19, 2023

UPDATE: As it turns out, this is an issue when you use a deck shared by someone who accidentally included scheduling information on some cards, not an issue with Review Heatmap. @PinkDucki I was able to fix this easily with the following:

  1. Backup all your decks / the whole collection.

  2. Press Ctrl+Shift+; (the control key, shift key, and semi-colon key at the same time) On a Mac, press Command+Shift+; to open up the debug console.

  3. Paste the following code into it and replace that long number with the timestamp you require. I found out the required timestamp from here.

mw.col.db.execute("delete from revlog where id < 1460683240826")
mw.col.mod_schema(False)
  1. Press Ctrl + Return to run it.

  2. Click Tools -> Check Database and finally upload your collection to ankiweb at the next sync.

Credit to u/glenzac for the steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants