-
-
Notifications
You must be signed in to change notification settings - Fork 153
Set different parameters for specific decks
This page was linked from elsewhere when I was searching for how to abuse Anki to remind me to do my reading. I was sad there wasn't anything here so this is what I hacked together using AnkiWebView Inspector. It is almost certainly an abuse of the system, but here goes.
Put something like this in the Custom Scheduling section of your Deck options. This code will be run for every card, but it shouldn't affect any cards outside of a deck called "Readings". It does theoretically affect the scheduling for all your cards, so use at your own risk.
if (ctx["deckName"] == "Readings") {
console.log("using custom scheduling")
states.again.normal.review.scheduledDays = 1
states.hard.normal.review.scheduledDays = 1
states.good.normal.review.scheduledDays = 1
states.easy.normal.review.scheduledDays = 3
} else {
console.log("Using normal scheduling")
}```
My representative paper at ACM KDD and IEEE TKDE: A Stochastic Shortest Path Algorithm for Optimizing Spaced Repetition Scheduling [中文版] & Optimizing Spaced Repetition Schedule by Capturing the Dynamics of Memory [中文版]
My fantastic research experience on spaced repetition algorithm: How did I publish a paper in ACMKDD as an undergraduate?
The largest open-source datasets on spaced repetition with time-series features: open-spaced-repetition/FSRS-Anki-20k & open-spaced-repetition/anki-revlogs-10k
FSRS is an independent open-source project driven by its community. We are grateful for the support from organizations like 墨墨背单词 (MaiMemo Inc.), who champion open source by enabling core contributors like Jarrett Ye to invest time and expertise into FSRS. This collaboration helps ensure FSRS remains a leading-edge, freely available spaced repetition algorithm for everyone.