set TERMINATION_PROB to 0.001

This commit is contained in:
Jarrett Ye 2025-06-04 18:48:35 +08:00
parent 9c955a2bbb
commit 9080780a66
No known key found for this signature in database
GPG key ID: EBFC55E0C1A352BB

View file

@ -102,7 +102,7 @@ impl crate::services::DeckConfigService for Collection {
input: anki_proto::deck_config::GetRetentionWorkloadRequest,
) -> Result<anki_proto::deck_config::GetRetentionWorkloadResponse> {
const LEARN_SPAN: usize = 100_000_000;
const TERMINATION_PROB: f32 = 0.01;
const TERMINATION_PROB: f32 = 0.001;
// the default values are from https://github.com/open-spaced-repetition/Anki-button-usage/blob/881009015c2a85ac911021d76d0aacb124849937/analysis.ipynb
const DEFAULT_LEARN_COST: f32 = 19.4698;
const DEFAULT_PASS_COST: f32 = 7.8454;