ankitects / anki

Anki's shared backend and web components, and the Qt frontend
https://apps.ankiweb.net
Other
18.72k stars 2.13k forks source link

FSRS parameters reset to SM-2 after changing deck #3521

Open jcznk opened 1 hour ago

jcznk commented 1 hour ago

I'm using Anki 24.10 beta 4. This also occurs in version 24.06.3 (Windows 10, qt6). Testing was done on a new profile.

After changing a card's deck, the FSRS parameters (Stability, Difficulty, Retrievability) are lost and replaced with SM-2 parameters (Ease). This seems to affect both the scheduling and sorting. For example, when sorting by Difficulty Ascending, these cards are always shown first since they no longer have a Difficulty.

In the example below, all reviews were performed using a filtered deck, but the same behavior seems to occur for "regular" review entries.

Parameters and intervals before changing the deck:

Parameters and intervals after changing the deck:

dae commented 1 hour ago

That is by design. They are recalculated when the card is reviewed again.

jcznk commented 1 hour ago

May I ask the reasoning behind this design choice? From my understanding, it seems to negatively impact both the scheduling intervals and the sorting.

brishtibheja commented 40 minutes ago

Ah, I have faced this before but I failed to reproduce it later.

I assume it was done so that memory states need not be recalculated everytime deck is changed? Can we not still keep the previous parameters though so that sorting isn't affected?


@jcznk In case you didn't thought of this, clicking optimise will fix this issue. Just make sure the cards aren't suspended.