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

fix: update true retention to be compatible with >v2.1.28 #160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

androidpcguy
Copy link

@androidpcguy androidpcguy commented Oct 4, 2020

Fixes #158. Major update to code organization. Base functions to
calculate retention are now in utils.py. Code to integrate with Anki is
broken up into two files: stats_true_retention_extended.py and
stats_true_retention_extended_old.py. Code to write to the new stats
page introduced in 2.1.28 is in its own JS file setStats.js. init.py
has been updated to facilitate backwards compatibility with older
versions of Anki. Also incorporates PR by @zjosua to not use deprecated
fmtTimeSpan

Fixes glutanimate#158. Major update to code organization. Base functions to
calculate retention are now in utils.py. Code to integrate with Anki is
broken up into two files: stats_true_retention_extended.py and
stats_true_retention_extended_old.py. Code to write to the new stats
page introduced in 2.1.28 is in its own JS file setStats.js. __init__.py
has been updated to facilitate backwards compatibility with older
versions of Anki.
@androidpcguy androidpcguy marked this pull request as ready for review October 4, 2020 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: True Retention by Card Maturity doesn't work on Anki v2.1.33
1 participant