Skip to content

Luc-Mcgrady/Anki-Search-Stats-Extended

Repository files navigation

Search Stats Extended

Like the new anki stats screen? Want more? This is the addon for you.

Config

  • loadDelayMs: The number of ms to delay before displaying the search stats, Increasing this can help if the search stats appear above the regular stats (Though even with 0ms this doesn't tend to happen)

  • burdenNotLoad: If true, replaces the word "Load" with "Burden" in many places to be consistent with SuperMemo https://supermemo.guru/wiki/Burden

  • confirmExpensiveStats: If true, graphs which itterate over every review for the cards in the selection will be hidden by default prompting the user to press a button to load them.

  • barWidth, barHeight: Change the RESOLUTION at which the bar/candlestick charts are rendered. This can also be used to change their aspect ratio.

  • piePercentages: While true, A third percentage column is added to all pies. E.g.
    image
    Has no effect on Card Count Time Machine.

The Graphs

Future due types

image

Intra-Day Due

image

Todays Retention

image

Custom Pie

image

Interval Distribution/Load

image

Lapse Load/Distribution/Total

image

Repetition Load/Distribution/Total

image

Time Distribution/Total

image

Review Speed Trend

image

Introduced/Forgotten

image

Rating Graphs

image image

Burden Trend

image

Card Count / Interval Time Machines

image

Development

Building this with make addon works on linux and will probably work on mac

Cloning the Repository

To clone the repository along with its submodule (the Anki codebase), you should use the following command:

git clone https://github.com/Luc-Mcgrady/Anki-Search-Stats-Extended.git --recursive --shallow-submodules

Linux / Mac

run make to setup source files

make

Then every-time you make any changes run make again.

Windows

You need to make the file src/ts/proto and then generate the proto files by running

npm i
npx protoc \
    -I anki/proto \
    --es_out src/ts/proto \
    --es_opt target=ts \
    anki/proto/anki/*.proto \

Then whenever you want to build changes

npm run build

I haven't actually tested this so good luck. Check the makefile for more information


Due to the way its set up you don't have to reload anki for javascript changes, you only have to run make/build again and reload the stats menu.

If you have any cool graph idea's then let me know or just pull request and make it yourself.