mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Don't Exclude Suspended Cards from Retreivability Graph (#3665)
* Revert "Fix/skip suspended cards in graphs context retrievability (#3518)"
This reverts commit 939cc5a268
.
* apply suggestions
This commit is contained in:
parent
6f2c959dc3
commit
f1a5808d83
1 changed files with 0 additions and 4 deletions
|
@ -4,7 +4,6 @@
|
|||
use anki_proto::stats::graphs_response::Retrievability;
|
||||
use fsrs::FSRS;
|
||||
|
||||
use crate::card::CardQueue;
|
||||
use crate::scheduler::timing::SchedTimingToday;
|
||||
use crate::stats::graphs::eases::percent_to_bin;
|
||||
use crate::stats::graphs::GraphsContext;
|
||||
|
@ -24,9 +23,6 @@ impl GraphsContext {
|
|||
let mut note_retrievability: std::collections::HashMap<i64, (f32, u32)> =
|
||||
std::collections::HashMap::new();
|
||||
for card in &self.cards {
|
||||
if card.queue == CardQueue::Suspended {
|
||||
continue;
|
||||
}
|
||||
let entry = note_retrievability
|
||||
.entry(card.note_id.0)
|
||||
.or_insert((0.0, 0));
|
||||
|
|
Loading…
Reference in a new issue