Skip to content
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

Fix/update FSRS-4.5 param into FSRS-5 properly #230

Merged
merged 4 commits into from
Oct 5, 2024

Conversation

L-M-Sherlock
Copy link
Member

No description provided.

@L-M-Sherlock L-M-Sherlock added the bug Something isn't working label Oct 4, 2024
@L-M-Sherlock L-M-Sherlock linked an issue Oct 4, 2024 that may be closed by this pull request
@user1823
Copy link
Contributor

user1823 commented Oct 4, 2024

Looks good to me (after you fix the optimal_retention_with_old_parameters test)

@@ -1147,7 +1147,7 @@ mod tests {
let optimal_retention = fsrs
.optimal_retention(&config, &DEFAULT_PARAMETERS[..17], |_v| true)
.unwrap();
assert_eq!(optimal_retention, 0.8435673);
assert_eq!(optimal_retention, 0.81009555);

This comment was marked as outdated.

@L-M-Sherlock L-M-Sherlock force-pushed the Fix/update-FSRS-4.5-param-into-FSRS-5-properly branch from 77edd3c to 024054f Compare October 4, 2024 16:58
@L-M-Sherlock L-M-Sherlock force-pushed the Fix/update-FSRS-4.5-param-into-FSRS-5-properly branch from 024054f to 9a54008 Compare October 4, 2024 17:01
@L-M-Sherlock L-M-Sherlock merged commit 3ac8ead into main Oct 5, 2024
3 checks passed
@L-M-Sherlock L-M-Sherlock deleted the Fix/update-FSRS-4.5-param-into-FSRS-5-properly branch October 5, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Properly convert FSRS 4.5 parameters into FSRS 5 parameters
3 participants