diff --git a/Cargo.lock b/Cargo.lock index ce98f3348..464a43e39 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1457,7 +1457,7 @@ dependencies = [ [[package]] name = "fsrs" version = "0.1.0" -source = "git+https://github.com/open-spaced-repetition/fsrs-rs.git?rev=725417fe310b74a719e18c2127f64223be1cb669#725417fe310b74a719e18c2127f64223be1cb669" +source = "git+https://github.com/open-spaced-repetition/fsrs-rs.git?rev=67163045ba9916e8a41f384fdb5ea414773139bd#67163045ba9916e8a41f384fdb5ea414773139bd" dependencies = [ "burn", "itertools 0.11.0", diff --git a/Cargo.toml b/Cargo.toml index 70a95a9af..a980bbb88 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ rev = "184b2ca50ed39ca43da13f0b830a463861adb9ca" [workspace.dependencies.fsrs] git = "https://github.com/open-spaced-repetition/fsrs-rs.git" -rev = "725417fe310b74a719e18c2127f64223be1cb669" +rev = "67163045ba9916e8a41f384fdb5ea414773139bd" # path = "../../../fsrs-rs" [workspace.dependencies] diff --git a/rslib/src/scheduler/fsrs/memory_state.rs b/rslib/src/scheduler/fsrs/memory_state.rs index 9720f1c84..f22d8c5a3 100644 --- a/rslib/src/scheduler/fsrs/memory_state.rs +++ b/rslib/src/scheduler/fsrs/memory_state.rs @@ -318,7 +318,7 @@ mod tests { item.starting_state, Some(MemoryState { stability: 99.999954, - difficulty: 4.4642887 + difficulty: 4.46429 }) ); let mut card = Card::default(); @@ -326,8 +326,8 @@ mod tests { assert_eq!( card.memory_state, Some(FsrsMemoryState { - stability: 248.47868, - difficulty: 4.468946 + stability: 248.58453, + difficulty: 4.4689474 }) ); // but if there's only a single revlog entry, we'll fall back on current card @@ -351,7 +351,7 @@ mod tests { card.memory_state, Some(FsrsMemoryState { stability: 122.99994, - difficulty: 6.5147324, + difficulty: 6.5147333 }) ); }