# \[Feature request\] Estimated Total Knowledge over time

**URL:** <https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036>\
**Category:** FSRS\
**Created:** [December 11, 2024, 7:13am UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036 "2024-12-11T07:13:53Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [January 1, 2025, 6:31pm UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/43 "2025-01-01T18:31:06Z")

</div>

Any chance that you will implement it in Anki natively?

---

<div class="post-metadata">

**Author:** ![A\_Blokee](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/a_blokee/32/17955_2.png) [@A\_Blokee](https://forums.ankiweb.net/u/A_Blokee)\
**Post date:** [January 1, 2025, 6:41pm UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/44 "2025-01-01T18:41:57Z")

</div>

Possibly. As I’ve said I should have done it natively from the start.

---

<div class="post-metadata">

**Author:** ![A\_Blokee](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/a_blokee/32/17955_2.png) [@A\_Blokee](https://forums.ankiweb.net/u/A_Blokee)\
**Post date:** [January 1, 2025, 9:13pm UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/45 "2025-01-01T21:13:49Z")

</div>

SSE should be updated now 👍🥳😴

---

<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:** [January 3, 2025, 9:11am UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/46 "2025-01-03T09:11:04Z")

</div>

> [@A\_Blokee](#):
>
> Note the difference between the end value and “Estimated total knowledge”

I guess it’s caused by the same problem mentioned here: [Set Due Date doesn't update the interval of card](https://forums.ankiweb.net/t/set-due-date-doesnt-update-the-interval-of-card/52646)

So the Estimated total knowledge in Card Retrievability section is not perfectly accurate.

In addition, suspended cards are excluded in Card Retrievability section. It also induced difference.

Btw, if I understand it correctly, the last value of “Estimated total knowledge over time” shows the sum of retrievability of the yesterday, right?

---

<div class="post-metadata">

**Author:** ![A\_Blokee](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/a_blokee/32/17955_2.png) [@A\_Blokee](https://forums.ankiweb.net/u/A_Blokee)\
**Post date:** [January 3, 2025, 1:55pm UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/47 "2025-01-03T13:55:30Z")

</div>

> [@L.M.Sherlock](#):
>
> Btw, if I understand it correctly, the last value of “Estimated total knowledge over time” shows the sum of retrievability of the yesterday, right?

Nice catch! It’s always the obvious stuff I miss 🤦.

> [@L.M.Sherlock](#):
>
> So the Estimated total knowledge in Card Retrievability section is not perfectly accurate.

Ok I’ll stop aiming for the estimated total knowledge. I feel like there is something else wrong with the addon because the stabilities of the cards the addon generates don’t line up with the stored stabilities in Anki.

```ts
const expected = last_stability[num_cid].toFixed(2)
const actual = JSON.parse(cards_by_id[num_cid].data).s.toFixed(2)
if (expected != actual) {
    inaccurate_cids.push({ cid: num_cid, expected, actual })
}

```

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/9/b/9b8765be45075dfc454cf7497571954d648bb38f.png)

Is that a problem?

---

<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:** [January 3, 2025, 2:40pm UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/48 "2025-01-03T14:40:42Z")

</div>

Could you test it with one card in a new deck? I guess it would help us locate the problem.

---

<div class="post-metadata">

**Author:** ![A\_Blokee](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/a_blokee/32/17955_2.png) [@A\_Blokee](https://forums.ankiweb.net/u/A_Blokee)\
**Post date:** [January 3, 2025, 3:12pm UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/49 "2025-01-03T15:12:26Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/2/6/2661ec42d6efb7a2802d66bdcec3f01392cd1392.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/a/5/a5c1eff352587d9813063d7e4c077ab7fb5dd6fe.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/c/d/cdca727db2137b9809906ff210607ee2514cf1b8.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/5/4/5434c6047fa1104be416fd3c46d43464dc8432ea.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/0/9/090e85f76d53cbbc52ed29525276e5e38e77a82b.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/5/9/593187ba83324fc1fe3a8e3e8395ff5397a1fd69.png)

Is this ok? You can see the difference in the forgetting curve and the displayed graph.

As the graph is an estimate anyway it may not be a problem worth solving?

---

<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:** [January 3, 2025, 3:29pm UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/50 "2025-01-03T15:29:51Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/b/5/b5820cb4c6c7145143d2767ed2076b4a588d5743.png)

I don’t know why it didn’t reach 100% here.

---

<div class="post-metadata">

**Author:** ![A\_Blokee](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/a_blokee/32/17955_2.png) [@A\_Blokee](https://forums.ankiweb.net/u/A_Blokee)\
**Post date:** [January 3, 2025, 3:33pm UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/51 "2025-01-03T15:33:26Z")

</div>

That’s because of the way the candlestick works. It displays the beginning and end values for that period of time.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/7/0/70dd46e650b4e772d13228a56043764735413944.png)

---

<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:** [January 3, 2025, 3:47pm UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/52 "2025-01-03T15:47:01Z")

</div>

Fine. I will dive into the code and try to solve it.

---

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [January 3, 2025, 3:48pm UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/53 "2025-01-03T15:48:58Z")

</div>

Now I’m even more convinced that candlestick charts are not suitable for Anki

---

<div class="post-metadata">

**Author:** ![A\_Blokee](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/a_blokee/32/17955_2.png) [@A\_Blokee](https://forums.ankiweb.net/u/A_Blokee)\
**Post date:** [January 3, 2025, 4:01pm UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/54 "2025-01-03T16:01:53Z")

</div>

Ok I’ll try to make it a line graph. Never really liked the candlestick anyway it was just convenient.

---

<div class="post-metadata">

**Author:** ![A\_Blokee](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/a_blokee/32/17955_2.png) [@A\_Blokee](https://forums.ankiweb.net/u/A_Blokee)\
**Post date:** [January 3, 2025, 5:43pm UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/55 "2025-01-03T17:43:14Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/c/f/cf98011f245404b00f6990cde02d6161bfeff71a.png)  
Same card as earlier:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/6/5/6565e4c422021657815786036a57d0756803325b.png)

Much better. I’ll probably give an option to replace the load chart like this as well.

---

<div class="post-metadata">

**Author:** ![A\_Blokee](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/a_blokee/32/17955_2.png) [@A\_Blokee](https://forums.ankiweb.net/u/A_Blokee)\
**Post date:** [January 4, 2025, 7:10am UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/56 "2025-01-04T07:10:06Z")

</div>

I just noticed that changing the parameters in the deck config doesnt affect the graph…

---

<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:** [January 4, 2025, 7:25am UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/57 "2025-01-04T07:25:33Z")

</div>

Of course, it should affect the graph. What’s the problem?

---

<div class="post-metadata">

**Author:** ![A\_Blokee](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/a_blokee/32/17955_2.png) [@A\_Blokee](https://forums.ankiweb.net/u/A_Blokee)\
**Post date:** [January 4, 2025, 8:35am UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/58 "2025-01-04T08:35:56Z")

</div>

I was using `config.fsrsWeights` instead of `config.fsrsParams5`.

Fixing that still didnt entirely fix the stabilites though I don’t think ☹

---

<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:** [January 4, 2025, 9:15am UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/59 "2025-01-04T09:15:28Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/c/b/cbfaf9085b239c5933d95000ff87631ad76de4c0.png)

I guess I find the same problem you mentioned?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/f/1/f1bdb882c03fb5a6bfde6b50b3fce60197ba97ba.png)

Edit: I fixed that and still found that the consistency happened after the 2nd review:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/8/7/87608cd6269ff3b4a46d7789a594230f42146d87.jpeg)

I guess it’s problem of ts-fsrs.

Edit: I located the problem and reported it to the maintainer of ts-fsrs. It will be fixed soon.

---

<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:** [January 4, 2025, 10:31am UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/60 "2025-01-04T10:31:36Z")

</div>

pr：[Fix/wrong calc elapsed days by ishiko732 · Pull Request #144 · open-spaced-repetition/ts-fsrs · GitHub](https://github.com/open-spaced-repetition/ts-fsrs/pull/144)

@A_Blokee would you mind testing it?

---

<div class="post-metadata">

**Author:** ![A\_Blokee](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/a_blokee/32/17955_2.png) [@A\_Blokee](https://forums.ankiweb.net/u/A_Blokee)\
**Post date:** [January 4, 2025, 1:07pm UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/61 "2025-01-04T13:07:08Z")

</div>

Before:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/optimized/3X/d/d/dd5fa7f7bf77745bfc2192f9681edd99851adcf1_2_690x44.png)  
Now:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/1/6/16c164f6e9fa71af371e120f8ec6fbcbe3091030.png)

That fixes it for a lot of cards but some are still wrong  
It may have something to do with rollover?

---

<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:** [January 4, 2025, 1:19pm UTC](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/62 "2025-01-04T13:19:06Z")

</div>

I guess so. Let’s discuss it in the PR.

[Previous page](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036.md?page=2)

[Next page](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036.md?page=4)
