-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Feat/FSRS-6 #3929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/FSRS-6 #3929
Conversation
|
@Luc-Mcgrady once this is merged, hopefully you can work on reimplementing CMRR as I described |
| let fsrs = FSRS::new(req.as_ref().map(|w| &w.params[..]).or(Some([].as_slice())))?; | ||
| let decay = req.as_ref().map(|w| { | ||
| if w.params.is_empty() { | ||
| 0.2 // default decay for FSRS-6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this value matter? I assume the actual value will always be fetched from the user's parameters. If it does matter somehow, shouldn't it be set precisely to the default value of decay, which is 0.1832?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.1832? The default value is 0.2. https://github.com/open-spaced-repetition/fsrs-optimizer/blob/ba7c044c907fecdabf5b3f106338e77e50a29a86/src/fsrs_optimizer/fsrs_optimizer.py#L67
And if the user doesn't optimize the parameters, the parameters will be empty.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default parameters of FSRS-rs is consistent with Python Ver: https://github.com/open-spaced-repetition/fsrs-rs/blob/fcbd45a6d49b27a8d1764af528560bfe10c2ff9c/src/inference.rs#L26
Wait, I thought in that case the default parameters are used?
The default parameters are not stored in presets because it would change when fsrs-rs is updated.
dae
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good, but I noticed a couple of things:
Co-authored-by: Damien Elmes <[email protected]>
|
Thanks all. Looks good to go 👍 |

wait for open-spaced-repetition/fsrs-rs#313
I will release FSRS-rs v3.0.0 after the above PR is merged.
FSRS 6.0 Integration
Changes
Key Features
Decay Parameter Support
decayfield to card data structureParameter Management
fsrs_params_6field to deck configurationUI Updates
Technical Details
Dependencies
Testing
Notes