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

Calculate score based on fields actually shown on cards #8

Open
tsudoko opened this issue Jan 10, 2019 · 0 comments
Open

Calculate score based on fields actually shown on cards #8

tsudoko opened this issue Jan 10, 2019 · 0 comments

Comments

@tsudoko
Copy link
Owner

tsudoko commented Jan 10, 2019

Right now the score is calculated based on review data from all cards from a matching note, regardless of whether the cards in question actually use the fields selected by the user, e.g. if the user selects "kanji" and the note has 2 cards, only one of which uses the "kanji" field, the score will be calculated from both cards anyway.

Calculating the score from actual cards is going to be slower, but it might still be in an acceptable range, we'd need to implement it to know for sure.

(To have full certainty if a given field is used in the card, we'd need to expand the template separately for each card, since some fields could be hidden with {{#field}}{{/field}}. Going that far would be even slower and likely not worth the effort.)

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

No branches or pull requests

1 participant