From 44c536d5ad6c297733f6c4c467f781235dc20835 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Mon, 15 Jan 2024 10:29:16 +0200 Subject: gnosis-review--algorithm: Use total successful reviews Previous implementation was using total successful reviews in a row --- gnosis.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnosis.el') diff --git a/gnosis.el b/gnosis.el index 4b28e95..a1199e2 100644 --- a/gnosis.el +++ b/gnosis.el @@ -850,10 +850,10 @@ SUCCESS is a binary value, 1 = success, 0 = failure. Returns a list of the form ((yyyy mm dd) ef)." (let ((ff gnosis-algorithm-ff) (ef (nth 2 (gnosis-get 'ef 'review `(= id ,id)))) - (c-success (gnosis-get 'c-success 'review-log `(= id ,id)))) + (t-success (gnosis-get 't-success 'review-log `(= id ,id)))) (gnosis-algorithm-next-interval (gnosis-review--get-offset id) (gnosis-get 'n 'review-log `(= id ,id)) - ef success ff c-success))) + ef success ff t-success))) (defun gnosis-review-due-notes--with-tags () "Return a list of due note tags." -- cgit v1.2.3