Custom scheduling on AnkiDroid seems to not work or I am stupid

62 views
Skip to first unread message

Mahiro

unread,
Dec 3, 2023, 5:23:08 AM12/3/23
to AnkiDroid
I wanna use low-key Anki to improve efficiency. Once I found the method from Refold, that helps use low-key idea on vanilla Anki (which is really important for me because I use AnkiDroid 95% of the time). Turned out that it has one significant downside: Interval Multiplier is limited to 2.00 max, so I can't have desirably high Ease Factor. 

I started searching for another method and found this JavaScript code on the website, provided in brackets (https://digitalwords.net/anki/low-key/#migrating from low-key):

/* * New card: * Fail: enter the learning sequence. * Pass: skip the learning sequence and use the ‘easy interval’ setting. */ if (states.current.normal?.new || states.current.filtered?.rescheduling.originalState.new) { states.hard = states.easy; } /* * (Re)learning card: * Fail: reset the (re)learning sequence. * Pass: progress in the (re)learning sequence. */ else if (states.current.normal?.learning || states.current.normal?.relearning || states.current.filtered?.rescheduling.originalState.learning || states.current.filtered?.rescheduling.originalState.relearning) { states.hard = states.good; states.easy = states.good; } /* * Review card: * Fail: enter the relearning sequence with no penalty. * Pass: multiply the interval by the constant ease factor. */ // Code for normal review else if (states.current.normal?.review) { states.hard = states.good; states.easy = states.good; states.again.normal.relearning.review.easeFactor = states.current.normal.review.easeFactor; } // Code for filtered decks else if (states.current.filtered?.rescheduling.originalState.review) { states.hard = states.good; states.easy = states.good; states.again.filtered.rescheduling.originalState.relearning.review.easeFactor = states.current.filtered.rescheduling.originalState.review.easeFactor; }


The code works perfectly fine on Anki, but doesn't work in AnkiDroid, though it is being synced and copied from Anki right into the field of Custom Scheduling.
Do you have any idea why doesn't it work?
P.S. I know FSRS is released but, firstly, I don't really like its overcomplexity and, secondly, it isn't still released on AnkiDroid so it is useless for me.

Mahiro

unread,
Dec 3, 2023, 5:28:30 AM12/3/23
to AnkiDroid
I am sorry, code was a bit ruined when send.
Here is a picture of it or u can still visit website provided above:
Screenshot 2023-12-03 132710.png

воскресенье, 3 декабря 2023 г. в 13:23:08 UTC+3, Mahiro:

Mike Hardy

unread,
Dec 4, 2023, 9:27:38 AM12/4/23
to anki-a...@googlegroups.com


You may like the latest alphas here https://github.com/ankidroid/Anki-Android/releases


However - I believe there is still one outstanding issue for custom scheduling that needs to be solved before you find it works for you - subscribe to this issue in order to track it - https://github.com/ankidroid/Anki-Android/issues/14865


This is open source work, done by volunteers so I cannot give you an ETA on the fix for that, but the *idea* is that it is fixed by the next alpha, and we are doing about one alpha a week right now. So maybe a week - but no guarantee


-Mike

--
You received this message because you are subscribed to the Google Groups "AnkiDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anki-android...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/anki-android/3d024e5e-7499-4202-ab25-709dc775a859n%40googlegroups.com.

Mahiro

unread,
Dec 4, 2023, 1:54:42 PM12/4/23
to AnkiDroid
Omg, Mike, thank you so mucchhh! I downloaded the latest alpha, pasted that same code and it actually works on both anki and ankidroid. Thank you one more time!!

понедельник, 4 декабря 2023 г. в 17:27:38 UTC+3, mi...@mikehardy.net:
Reply all
Reply to author
Forward
0 new messages