FSRS: Stability when first non-ignored revlog has a relearning interval

This is a possible bug that exists in both Anki 25.02.x and Anki 25.05 (Beta 1 and 2), and possibly earlier versions too.

The bug happens when ignore_revlogs_before is set, and a card’s first review after the ignore date is an “Again” review that sets the interval to a relearning interval. For example, this card, in a deck where the “Ignore cards reviewed before” cutoff is in 2024:

Because my relearning interval is the default 10 minutes, this causes fsrs_item_for_memory_state to use its minimum interval of 1 day when calling memory_state_from_sm2:

I believe that when the first non-ignored revlog has a rating of 1 (Again) and is followed by one or more Relearning revlogs, the last (“graduating”) Relearning revlog should be used rather than the initial “Again” revlog. In this case, that would result in an initial interval of 2.5 months rather than 1 day.

I submitted a pull request with a possible fix for this: Don't use relearning step as starting memory state by mbrubeck · Pull Request #3959 · ankitects/anki · GitHub

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.