Home - ghrgriner/anki-stats GitHub Wiki

Welcome to the anki-statistics wiki!

The recommended reading order is as follows:

  1. The README of the repository

  2. The Anki Statistical Reports page, which has:

    • A link to and brief discussion of the Anki database documentation in the ankidroid repository
    • A discussion of the type attribute of a card, which captures the learning state the card is in (New, Learn, Review, Relearn)
    • Information on the revlog table, which stores data for each card review
    • A table that lists each table/chart created in the Stats window in Anki with the variables and criteria used to define the analysis population for each

For interested readers, additional information on the type or queue of a card, as well as the CardState structure are also provided on separate pages. These pages contain information that is more detailed and accurate than the database documentation that is often linked to. However, understanding of these structures at this level of detail is not necessary for the purpose of replicating the statistical reports. Lastly, a few pages on other specialized topics have been created. These are listed in the sidebar.