# Big update in FSRS4Anki v3.0.0

**URL:** <https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657>\
**Category:** Scheduling\
**Created:** [October 5, 2022, 10:05am UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657 "2022-10-05T10:05:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![L.M.Sherlock](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/l.m.sherlock/32/16770_2.png) [@L.M.Sherlock](https://forums.ankiweb.net/u/L.M.Sherlock)\
**Post date:** [October 5, 2022, 10:05am UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/1 "2022-10-05T10:05:33Z")

</div>

Continuing the discussion from [How did I publish a paper in ACMKDD as an undergraduate? A fantastic research experience on spaced repetition algorithm. Open source the code and dataset](https://forums.ankiweb.net/t/how-did-i-publish-a-paper-in-acmkdd-as-an-undergraduate-a-fantastic-research-experience-on-spaced-repetition-algorithm-open-source-the-code-and-dataset/23387):

In a recent week, I updated FSRS4Anki from `v2.0.0 `to `v3.0.0`. Here is a summary:

- Features
  - Support parameters for sub-decks
  - Freeze initial stability in pre-training
  - Redesign the difficulty state

- Fixes
  - Drop out cases with interval=0
  - Update difficulty before stability

- New module
  - FSRS4Anki Helper add-on
    - It can reschedule all existing cards via FSRS.

> **[GitHub - open-spaced-repetition/fsrs4anki: An Anki custom scheduling based on...](https://github.com/open-spaced-repetition/fsrs4anki)**
>
> An Anki custom scheduling based on free spaced repetition scheduler algorithm - GitHub - open-spaced-repetition/fsrs4anki: An Anki custom scheduling based on free spaced repetition scheduler algorithm

> **[GitHub - open-spaced-repetition/fsrs4anki-helper: An Anki add-on that...](https://github.com/open-spaced-repetition/fsrs4anki-helper)**
>
> An Anki add-on that reschedules all cards via FSRS4Anki scheduler - GitHub - open-spaced-repetition/fsrs4anki-helper: An Anki add-on that reschedules all cards via FSRS4Anki scheduler

---

<div class="post-metadata">

**Author:** ![L.M.Sherlock](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/l.m.sherlock/32/16770_2.png) [@L.M.Sherlock](https://forums.ankiweb.net/u/L.M.Sherlock)\
**Post date:** [October 5, 2022, 12:32pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/2 "2022-10-05T12:32:41Z")

</div>

Here is a simple comparison between Anki’s built-in schedule and FSRS:

For simplicity, the comparison only focuses on the intervals given in different rating sequences. The ratings in (re)learning steps will be ignored, only consider the first rating of new cards.

The default parameters of FSRS for comparison:

```javascript
var w = [1, 1, 5, -0.5, -0.5, 0.2, 1.4, -0.12, 0.8, 2, -0.2, 0.2, 1];

```

# Case one: press `good` continuously, with different first ratings.

Rating sequence: `1,3,3,3,3,3,3,3,3,3`

Anki’s intervals: `1,3,8,20,50,125,313,783,1958,4895`

FSRS’s intervals: `1,3,8,19,44,98,207,421,822,1550`

* * *

Rating sequence: `2,3,3,3,3,3,3,3,3,3`

Anki’s intervals: `1,3,8,20,50,125,313,783,1958,4895`

FSRS’s intervals: `2,5,13,32,73,159,331,659,1263,2338`

* * *

Rating sequence: `3,3,3,3,3,3,3,3,3,3`

Anki’s intervals: `1,3,8,20,50,125,313,783,1958,4895`

FSRS’s intervals: `3,8,21,50,114,245,501,983,1854,3377`

* * *

Rating sequence: `4,3,3,3,3,3,3,3,3,3`

Anki’s intervals: `4,10,25,63,158,395,988,2470,6175,15438`

FSRS’s intervals: `4,11,29,70,158,337,684,1329,2481,4471`

> **[Compare Anki's built in scheduler and FSRS](https://github.com/open-spaced-repetition/fsrs4anki/wiki/Compare-Anki's-built-in-scheduler-and-FSRS)**
>
> A modern Anki custom scheduling based on Free Spaced Repetition Scheduler algorithm - open-spaced-repetition/fsrs4anki

---

<div class="post-metadata">

**Author:** ![gustavosmen](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@gustavosmen](https://forums.ankiweb.net/u/gustavosmen)\
**Post date:** [October 5, 2022, 12:44pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/3 "2022-10-05T12:44:47Z")

</div>

Sorry, it wasn’t clear to me: Do I still need to change the .js values on deck options? E.g. change decks name.

I’m asking because, normally, the add-on itself do all the job - I wouldn’t have to set the value for “let maximumInterval = 36000;” . The instructions wasn’t clear for me.

---

<div class="post-metadata">

**Author:** ![L.M.Sherlock](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/l.m.sherlock/32/16770_2.png) [@L.M.Sherlock](https://forums.ankiweb.net/u/L.M.Sherlock)\
**Post date:** [October 5, 2022, 1:02pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/4 "2022-10-05T13:02:02Z")

</div>

The default parameters are not adaptive to everyone. If you want the schedule to fit your memory, you need to use the optimizer to calculate the optimal parameters.

---

<div class="post-metadata">

**Author:** ![gustavosmen](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@gustavosmen](https://forums.ankiweb.net/u/gustavosmen)\
**Post date:** [October 5, 2022, 1:11pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/5 "2022-10-05T13:11:39Z")

</div>

Thank you for the feedback. It would be helpful if you describe this in add-on page. Keep you nice work!

---

<div class="post-metadata">

**Author:** ![L.M.Sherlock](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/l.m.sherlock/32/16770_2.png) [@L.M.Sherlock](https://forums.ankiweb.net/u/L.M.Sherlock)\
**Post date:** [October 5, 2022, 1:24pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/6 "2022-10-05T13:24:02Z")

</div>

I described this in the comments of scheduler.js. I’m sorry that this scheduler and add-on are complicated and not user-friendly.

---

<div class="post-metadata">

**Author:** ![adham](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@adham](https://forums.ankiweb.net/u/adham)\
**Post date:** [October 6, 2022, 2:53pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/7 "2022-10-06T14:53:13Z")

</div>

Just came to say don’t worry about user-friendliness early on, this is all experimental, I’ve been following this for the last two weeks, amazing work so far, I’m going to implement it in my workflow today.

It’s always awesome to see work on the scheduler!

---

<div class="post-metadata">

**Author:** ![kuroahna](https://avatars.discourse-cdn.com/v4/letter/k/edb3f5/32.png) [@kuroahna](https://forums.ankiweb.net/u/kuroahna)\
**Post date:** [October 7, 2022, 3:27pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/8 "2022-10-07T15:27:29Z")

</div>

@L.M.Sherlock If I understand correctly, in your paper, you have retrieved the default parameters by training on the ~220 million dataset from Maimemo (English vocabulary for chinese users).

Does it make sense to expand this research further and ask for an open source dataset from the Anki community? Questions such as does the memory model fit well for other languages? Does the memory model fit well for all subjects? And many more. I feel like there’s untapped potential here and we can easily pool together a huge dataset for research, advancing the field of SRS

---

<div class="post-metadata">

**Author:** ![L.M.Sherlock](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/l.m.sherlock/32/16770_2.png) [@L.M.Sherlock](https://forums.ankiweb.net/u/L.M.Sherlock)\
**Post date:** [October 7, 2022, 4:22pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/9 "2022-10-07T16:22:11Z")

</div>

Of course, more datasets on diverse materials are beneficial to SRS research. I have analyzed some review logs from FSRS’s users. There are significant differences between them.

---

<div class="post-metadata">

**Author:** ![gustavosmen](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@gustavosmen](https://forums.ankiweb.net/u/gustavosmen)\
**Post date:** [October 8, 2022, 2:43am UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/10 "2022-10-08T02:43:51Z")

</div>

+1!

As your papers say, it seems amazing work and should help many people building a next level algorithm

---

<div class="post-metadata">

**Author:** ![NickFlint](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/nickflint/32/35471_2.png) [@NickFlint](https://forums.ankiweb.net/u/NickFlint)\
**Post date:** [October 12, 2022, 11:11am UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/11 "2022-10-12T11:11:58Z")

</div>

Are your rating sequences only when cards are in the “graduated” phase?

In studying medicine, I frequently have a sequence of 1,1,1,1,3,1,3(graduates) and then 3,3,3,3,3,3,3 which means I’d follow the first path you’ve outlined after graduation. I’m curious how FSRS would compare with that. I haven’t had time to formally integrate this but I’m impressed with how far this has come and I’m eagerly following along! 加油!

---

<div class="post-metadata">

**Author:** ![L.M.Sherlock](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/l.m.sherlock/32/16770_2.png) [@L.M.Sherlock](https://forums.ankiweb.net/u/L.M.Sherlock)\
**Post date:** [October 12, 2022, 11:19am UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/12 "2022-10-12T11:19:22Z")

</div>

The rating sequences contain the first rating in learning steps and other ratings after graduation. So in your case, the rating sequence is 1,3,3,3,3,3,3,3

---

<div class="post-metadata">

**Author:** ![NickFlint](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/nickflint/32/35471_2.png) [@NickFlint](https://forums.ankiweb.net/u/NickFlint)\
**Post date:** [October 12, 2022, 2:11pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/13 "2022-10-12T14:11:20Z")

</div>

So I would end up reviewing a little more often on average than Anki’s default?

As you did most of this on language, I’d be curious how it’d apply with medicine. I could collect databases for you?

---

<div class="post-metadata">

**Author:** ![L.M.Sherlock](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/l.m.sherlock/32/16770_2.png) [@L.M.Sherlock](https://forums.ankiweb.net/u/L.M.Sherlock)\
**Post date:** [October 12, 2022, 2:18pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/14 "2022-10-12T14:18:58Z")

</div>

Yes, you can share your review history with me. Or do the analysis for yourself in:

> **[Google Colaboratory](https://colab.research.google.com/github/open-spaced-repetition/fsrs4anki/blob/v3.2.1/fsrs4anki_optimizer.ipynb)**

---

<div class="post-metadata">

**Author:** ![NickFlint](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/nickflint/32/35471_2.png) [@NickFlint](https://forums.ankiweb.net/u/NickFlint)\
**Post date:** [October 12, 2022, 3:27pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/15 "2022-10-12T15:27:34Z")

</div>

I meant if you wanted to repeat your initial analysis. I have a large following of medical students and could probably get you hundreds if not thousands of collections

---

<div class="post-metadata">

**Author:** ![L.M.Sherlock](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/l.m.sherlock/32/16770_2.png) [@L.M.Sherlock](https://forums.ankiweb.net/u/L.M.Sherlock)\
**Post date:** [October 12, 2022, 4:04pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/16 "2022-10-12T16:04:50Z")

</div>

Amazing! How can I access those collections? I am very interested to do the research on reviews of medicine stuffs.

---

<div class="post-metadata">

**Author:** ![NickFlint](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/nickflint/32/35471_2.png) [@NickFlint](https://forums.ankiweb.net/u/NickFlint)\
**Post date:** [October 12, 2022, 4:16pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/17 "2022-10-12T16:16:32Z")

</div>

I can just send out an email and make a post and have people upload things for you? I’m not 100% sure we can collect that data on AnkiHub at the moment.

---

<div class="post-metadata">

**Author:** ![L.M.Sherlock](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/l.m.sherlock/32/16770_2.png) [@L.M.Sherlock](https://forums.ankiweb.net/u/L.M.Sherlock)\
**Post date:** [October 12, 2022, 4:35pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/18 "2022-10-12T16:35:49Z")

</div>

It is really helpful. I worried that most users don’t want to share their collections. But even one typical data is useful.

---

<div class="post-metadata">

**Author:** ![NickFlint](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/nickflint/32/35471_2.png) [@NickFlint](https://forums.ankiweb.net/u/NickFlint)\
**Post date:** [October 12, 2022, 4:49pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/19 "2022-10-12T16:49:22Z")

</div>

I imagine I can get a reasonable amount. Do you want to create a google form or something? If you have a place for people to upload things, I will share it on my socials and on reddit for you

---

<div class="post-metadata">

**Author:** ![Vitorvlv](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/vitorvlv/32/6112_2.png) [@Vitorvlv](https://forums.ankiweb.net/u/Vitorvlv)\
**Post date:** [October 12, 2022, 4:50pm UTC](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657/20 "2022-10-12T16:50:04Z")

</div>

I think if you made a post on reddit and here explaining to people exactly what to do, where to upload and how it would be helpful you could get lots of collections to analyse.

[Next page](https://forums.ankiweb.net/t/big-update-in-fsrs4anki-v3-0-0/23657.md?page=2)
