mortii / anki-morphs

A MorphMan fork rebuilt from the ground up with a focus on simplicity, performance, and a codebase with minimal technical debt.
https://mortii.github.io/anki-morphs/
Mozilla Public License 2.0
52 stars 7 forks source link

U is zero but A is 2 #136

Closed mortii closed 7 months ago

mortii commented 7 months ago

Screenshot from 2024-01-19 08-51-09

This should be impossible. I used two cards, one with the word wrote and one with written and set both to known by using 'K'

mortii commented 7 months ago

this is actually a major bug.

this query is wrong: https://github.com/mortii/anki-morphs/blob/cb09598dfc57e444b40c5fb3e848d2ef5345396a/ankimorphs/toolbar_stats.py#L32-L39

it should not be is_lemma. I have to rework this somehow.

mortii commented 7 months ago

this works:

"""
SELECT COUNT(DISTINCT lemma)
FROM Morphs
WHERE highest_learning_interval >= ?
""",
mortii commented 7 months ago

is_lemma in the morph schema might be obsolete now

mortii commented 7 months ago

this gave me 300+ more unique known, so pretty big difference

github-actions[bot] commented 6 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.