AnkiHubSoftware / ankihub_addon

3 stars 0 forks source link

[BUILD-817] fix: Exclude reschedules from review data #1034

Closed RisingOrange closed 2 weeks ago

RisingOrange commented 3 weeks ago

When processing revlog entries to create daily review summaries, we should be excluding revlog entries with revlog_type==anki.consts.REVLOG_RESCHED. These entries are created when an user reschedules the reviews of cards and do not represent real reviews.

This leads to review summaries such as this one, where the "total cards studied" does not equal the sum of "total cards marked again", "total cards marked good", etc.

Related issues

https://ankihub.atlassian.net/jira/software/c/projects/BUILD/boards/1?selectedIssue=BUILD-817

Proposed changes