A Tiny Typescript Implementation of FSRS From Scratch #12
Replies: 4 comments
-
|
OK, I was able to fix my mistakes. Re-opening for discussion. |
Beta Was this translation helpful? Give feedback.
-
|
https://huggingface.co/spaces/open-spaced-repetition/fsrs4anki_previewer You can compare your results with the above previewer. |
Beta Was this translation helpful? Give feedback.
-
|
@L-M-Sherlock Thank you, after cross-referencing the simulator, I was able to fix a few mistakes and I believe I now have a working implementation that matches your results. |
Beta Was this translation helpful? Give feedback.
-
|
UPDATE: I have published the module on NPM as |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
UPDATE: It's an NPM Package Now
Please see: https://www.npmjs.com/package/femto-fsrs
I wrote a stripped-down Typescript version of fsrs based on the paper.
This is fsrs based on what I understood in the docs, minus fancy features seen in full-featured implementations like ts-fsrs (there is no logging or revert capabilities like you will find in other implementations)
Test Results
Test Method
Implementation
Beta Was this translation helpful? Give feedback.
All reactions