summaryrefslogtreecommitdiff
path: root/gnosis-algorithm.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-03-01 22:20:50 +0200
committerThanos Apollo <[email protected]>2024-03-01 22:20:50 +0200
commita2629607b6763f51a5111e0da27be953cce44868 (patch)
treeaa3329f3bd9fa87cdc4a275b08a7f07a14f012d6 /gnosis-algorithm.el
parent282c75f69e652c23702f2cb07e51cfb2050e79da (diff)
Add gnosis-algorithm-ef-decrease
Value to decrease ef-decrease by in set frequency
Diffstat (limited to 'gnosis-algorithm.el')
-rw-r--r--gnosis-algorithm.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnosis-algorithm.el b/gnosis-algorithm.el
index bccd4d1..7e6e427 100644
--- a/gnosis-algorithm.el
+++ b/gnosis-algorithm.el
@@ -63,6 +63,12 @@ NOTE: Do not change this value above 1"
:group 'gnosis
:type 'float)
+(defcustom gnosis-algorithm-ef-decrease 0.1
+ "Decrease ef decrease value by this amount for every
+`gnosis-algorithm-ef-frequency' number of failed reviews."
+ :group 'gnosis
+ :type 'float)
+
(defun gnosis-algorithm-date (&optional offset)
"Return the current date in a list (year month day).