open-spaced-repetition / fsrs4anki

A modern Anki custom scheduling based on Free Spaced Repetition Scheduler algorithm
https://github.com/open-spaced-repetition/fsrs4anki/wiki
MIT License
2.8k stars 137 forks source link

[BUG] No matter what FSRS parameters I set, the default parameters are being used for calculate next stability #576

Closed hugomarins closed 11 months ago

hugomarins commented 11 months ago

Describe the bug No matter what FSRS parameters I set (for w8, w9 and w10), the default parameters are being used for calculate next stability.

image

Expected behavior For some reason, the user chosen weights (parameters) are not being used, but the default parameters.

Screenshots If applicable, add screenshots to help explain your problem.

Environment

L-M-Sherlock commented 11 months ago

Could you provide the parameters that you have tried?

hugomarins commented 11 months ago

0.5614, 1.2546, 3.5878, 7.9731, 5.1043, 1.1303, 0.8230, 0.0465, 4, 0.1350, 0.1, 2.1320, 0.0839, 0.3204, 1.3547, 0.2190, 2.7849

L-M-Sherlock commented 11 months ago

the default parameters are being used for calculate next stability.

How do you know that? Could you provide some cases?

hugomarins commented 11 months ago

I changed some parameters and the intervals provided (next stability) were always the same. And were not according to the formula (they were still using the default weights). Could you test if changing w8, w9 and w10 (parameters used for calculating the next stability in case of sucsessful recall) would change the calculated next interval (next stability)?

hugomarins commented 11 months ago

The Free Spaced Repetition Scheduler (FSRS) is an alternative to Anki's legacy SuperMemo 2 (SM2) scheduler. By more accurately determining when you are likely to forget, it can help you remember more material in the same amount of time. This setting is shared by all deck presets.

I found the problem. Anki manual led me to think these settings would apply globally (like the "Custom Scheduler" code was). But I now realized the FSRS parameters are specific for that deck preset. My cards were on a subdeck with a different deck preset than the its parent deck. And I was trying to apply the parameters to the parent deck. When I applied it to the subdeck itself (with a specific deck preset), it worked!

Sorry for my mistake!