kaegi / MorphMan

Anki plugin that reorders language cards based on the words you know
Other
258 stars 66 forks source link

2021 (v3) scheduler support #276

Open rwmpelstilzchen opened 1 year ago

rwmpelstilzchen commented 1 year ago

MorphMan can skip new cards that meet certain criteria (see under MorphMan’s settings → GeneralReview Preferences). This works with the v2 scheduler, but not with v3: it outputs messages such as %d alternatives will be skipped, but no cards are actually skipped.


I tried to modify Morphman’s code in order to add v3 support. The following lines wrap my_fillNew around the vanilla _fillNew:

https://github.com/kaegi/MorphMan/blob/3fde85f31ad1c51b1095d4824d7474ca69d9fcba/morph/newMorphHelper.py#L83-L84

(here are lines that define _fillNew for the v2 scheduler in Anki 2.1.49)

The problem is, the v3 scheduler doesn’t have a _fillNew (see here). This means MorphMan has to tackle v3 scheduler support differently. The question is how…

rwmpelstilzchen commented 1 year ago

The Bury Cousins addon seems to have problems with the v3 scheduler as well. I suggest to keep an eye on it in order to see if their solution to their problems will be relevant here.