Fix/Add lower review limit to health check. (#4334)

This commit is contained in:
Luc Mcgrady 2025-09-17 05:04:27 +01:00 committed by GitHub
parent 7e8a1076c1
commit 9e415869b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -174,7 +174,7 @@ impl Collection {
}
}
let health_check_passed = if health_check {
let health_check_passed = if health_check && input.train_set.len() > 300 {
let fsrs = FSRS::new(None)?;
fsrs.evaluate_with_time_series_splits(input, |_| true)
.ok()