mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
FSRS items, not revlogs
https://forums.ankiweb.net/t/discrepancy-between-revlog-count-in-optimize-and-evaluate/41224/5
This commit is contained in:
parent
a7f7f3f67b
commit
9642a69b88
1 changed files with 1 additions and 1 deletions
|
@ -135,8 +135,8 @@ impl Collection {
|
|||
count: revlogs.len(),
|
||||
});
|
||||
}
|
||||
anki_progress.state.fsrs_items = revlogs.len() as u32;
|
||||
let items = fsrs_items_for_training(revlogs, timing.next_day_at);
|
||||
anki_progress.state.fsrs_items = items.len() as u32;
|
||||
let fsrs = FSRS::new(Some(weights))?;
|
||||
Ok(fsrs.evaluate(items, |ip| {
|
||||
anki_progress
|
||||
|
|
Loading…
Reference in a new issue