diff options
author | Thanos Apollo <[email protected]> | 2024-08-06 23:38:34 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-08-06 23:38:34 +0300 |
commit | 44964c8cba68750e2f53d3d9d86a3506cfaed611 (patch) | |
tree | c1140bfd21646466ecb54156387e267637c3e308 | |
parent | 8a857c2e7b0935d5f6213525bef027a4ea097ef8 (diff) |
add-note-fields: Update new algorithm values.
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -805,12 +805,12 @@ SECOND-IMAGE: Image to display after user-input. If a gnosis--insert-into fails, the whole transaction will be." (let* ((deck-id (gnosis--get-deck-id deck)) - (initial-interval (gnosis-get-deck-initial-interval deck-id)) (note-id (gnosis-generate-id))) (emacsql-with-transaction gnosis-db ;; Refer to `gnosis-db-schema-SCHEMA' e.g `gnosis-db-schema-review-log' (gnosis--insert-into 'notes `([,note-id ,type ,main ,options ,answer ,tags ,deck-id])) - (gnosis--insert-into 'review `([,note-id ,gnosis-algorithm-ef ,gnosis-algorithm-ff ,initial-interval])) + (gnosis--insert-into 'review `([,note-id ,gnosis-algorithm-gnosis-value + ,gnosis-algorithm-amnesia-value])) (gnosis--insert-into 'review-log `([,note-id ,(gnosis-algorithm-date) ,(gnosis-algorithm-date) 0 0 0 0 ,suspend 0])) (gnosis--insert-into 'extras `([,note-id ,extra ,image ,second-image]))))) |