Bug in custom implementation of FSRS-5 #35
-
|
Hi! I was wondering if any of you guys could help me fix an issue(?) in my implementation of FSRS on a web-app I'm working on. It seems to be producing intervals that don't line up with the intervals on the simulator https://huggingface.co/spaces/open-spaced-repetition/fsrs4anki_previewer Specifically, I'm trying to test with 7 "easy" repeat ratings when reviewing a card on the same day. The intervals I get from my implementation are as follows: However, the simulator gives the following: I've checked my implementation against the formulas given in The Algorithm https://github.com/open-spaced-repetition/fsrs4anki/wiki/The-Algorithm and they all seem to line up correctly. I'm not sure where I'm going wrong. I saw that the actual implementation in anki has some sort of random fuzz to it? I haven't implemented any such fuzz so maybe that's why my values are different? I've pasted my implementation below, it includes a for loop at the bottom which outputs the results for 7 easy ratings so you guys can reference. I'd appreciate any help on this, thankyou! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
Your result is correct. But you shouldn't allow the user to press |
Beta Was this translation helpful? Give feedback.

Your result is correct. But you shouldn't allow the user to press
easyin the same day twice.