-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 FSRS easy interval being same as good interval in relearning cards #3256
Conversation
@L-M-Sherlock, please review the PR. |
Reason for second commit: |
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.
LGTM
The code is now future-proof. In FSRS v5, this code will prevent the fuzz from causing the Easy interval to become equal to or less than the Good interval (when the non-fuzzed intervals are close enough). |
With a maximum interval set, it would be possible to confuse with_review_fuzz() by passing min > max.
Thank you both! |
#3236 (comment)
Before #3236, the Easy interval for relearning cards was Good interval + 1. This PR restores that behaviour.
This is intended to be a temporary change. When FSRS will consider short-term reviews (in V5), the Easy interval will automatically become larger than the Good interval.