mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Update to FSRS-4.5 (#2901)
This commit is contained in:
parent
fc492a41c4
commit
3378e476e6
3 changed files with 4 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1813,7 +1813,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "fsrs"
|
name = "fsrs"
|
||||||
version = "0.1.0"
|
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 = [
|
dependencies = [
|
||||||
"burn",
|
"burn",
|
||||||
"itertools 0.12.0",
|
"itertools 0.12.0",
|
||||||
|
|
|
@ -36,7 +36,7 @@ rev = "184b2ca50ed39ca43da13f0b830a463861adb9ca"
|
||||||
|
|
||||||
[workspace.dependencies.fsrs]
|
[workspace.dependencies.fsrs]
|
||||||
git = "https://github.com/open-spaced-repetition/fsrs-rs.git"
|
git = "https://github.com/open-spaced-repetition/fsrs-rs.git"
|
||||||
rev = "458ed0a55950a0719d4b9b676630638bc30b2d91"
|
rev = "f45f46bdba6625f03677eaeb039dd8a6ffcad688"
|
||||||
# path = "../../../fsrs-rs"
|
# path = "../../../fsrs-rs"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
|
|
|
@ -50,6 +50,8 @@ impl Collection {
|
||||||
p.review_rating_probability_easy,
|
p.review_rating_probability_easy,
|
||||||
],
|
],
|
||||||
loss_aversion: req.loss_aversion,
|
loss_aversion: req.loss_aversion,
|
||||||
|
learn_limit: usize::MAX,
|
||||||
|
review_limit: usize::MAX,
|
||||||
},
|
},
|
||||||
&req.weights,
|
&req.weights,
|
||||||
|ip| {
|
|ip| {
|
||||||
|
|
Loading…
Reference in a new issue