-
-
Notifications
You must be signed in to change notification settings - Fork 20
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/optimize card priority calculation and fix learn span behavior #263
Fix/optimize card priority calculation and fix learn span behavior #263
Conversation
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.
Co-authored-by: Luc Mcgrady <[email protected]>
@Luc-Mcgrady I hope the latest commit solve your problem. |
Could you use |
[rslib/src/scheduler/fsrs/simulator.rs:32:9] &req = SimulateFsrsReviewRequest {
params: [
0.08572003,
0.40419477,
4.1386,
19.5147,
5.3538256,
1.4269736,
0.9058566,
8.294402e-5,
1.3015078,
0.016733568,
0.6890899,
2.0352721,
0.15819947,
0.2383912,
1.4175994,
0.027590245,
2.8237,
],
desired_retention: 0.8,
deck_size: 0,
days_to_simulate: 10,
new_limit: 0,
review_limit: 200,
max_interval: 36500,
search: "preset:\"Geography\" -is:suspended",
}
[rslib/src/scheduler/fsrs/simulator.rs:32:9] &req = SimulateFsrsReviewRequest {
params: [
0.08572003,
0.40419477,
4.1386,
19.5147,
5.3538256,
1.4269736,
0.9058566,
8.294402e-5,
1.3015078,
0.016733568,
0.6890899,
2.0352721,
0.15819947,
0.2383912,
1.4175994,
0.027590245,
2.8237,
],
desired_retention: 0.8,
deck_size: 0,
days_to_simulate: 20,
new_limit: 0,
review_limit: 200,
max_interval: 36500,
search: "preset:\"Geography\" -is:suspended",
} It does set the due date of certain cards to the limit but I cant see how that would effect anything |
The due affects the priority. Maybe it causes the inconsistency. |
Weird. These cards are new, so they are filtered in the simulator: fsrs-rs/src/optimal_retention.rs Lines 189 to 194 in 0625bfa
|
Co-authored-by: Luc Mcgrady <[email protected]>
Nice! Thanks for your assistance in fixing the bug~ |
This PR includes several improvements to the FSRS simulator:
i32
instead ofusize