Update to FSRS-4.5 (#2901)

This commit is contained in:
Jarrett Ye 2023-12-22 14:17:40 +08:00 committed by GitHub
parent fc492a41c4
commit 3378e476e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

2
Cargo.lock generated
View file

@ -1813,7 +1813,7 @@ dependencies = [
[[package]]
name = "fsrs"
version = "0.1.0"
source = "git+https://github.com/open-spaced-repetition/fsrs-rs.git?rev=458ed0a55950a0719d4b9b676630638bc30b2d91#458ed0a55950a0719d4b9b676630638bc30b2d91"
source = "git+https://github.com/open-spaced-repetition/fsrs-rs.git?rev=f45f46bdba6625f03677eaeb039dd8a6ffcad688#f45f46bdba6625f03677eaeb039dd8a6ffcad688"
dependencies = [
"burn",
"itertools 0.12.0",

View file

@ -36,7 +36,7 @@ rev = "184b2ca50ed39ca43da13f0b830a463861adb9ca"
[workspace.dependencies.fsrs]
git = "https://github.com/open-spaced-repetition/fsrs-rs.git"
rev = "458ed0a55950a0719d4b9b676630638bc30b2d91"
rev = "f45f46bdba6625f03677eaeb039dd8a6ffcad688"
# path = "../../../fsrs-rs"
[workspace.dependencies]

View file

@ -50,6 +50,8 @@ impl Collection {
p.review_rating_probability_easy,
],
loss_aversion: req.loss_aversion,
learn_limit: usize::MAX,
review_limit: usize::MAX,
},
&req.weights,
|ip| {