Anki is a smart spaced repetition flashcard program https://apps.ankiweb.net
  • Rust 46.2%
  • Python 29.3%
  • Svelte 11.3%
  • TypeScript 11.1%
  • SCSS 1%
  • Other 0.8%
Find a file
Luc Mcgrady 922953acf4
Feat/Different method for ratio graph in Help Me Decide. (#4452)
Forum link:

-
https://forums.ankiweb.net/t/replace-cmrr-with-workload-vs-dr-graph-more/63234/27?u=a_blokee

@snorpdorp notified me that the logic behind the ratio graph is flawed
as it doesn't properly account for the number of cards that are
memorized to begin with.

I have implemented his (and @1DWalker's) proposed solution

<img width="1267" height="657" alt="image"
src="https://github.com/user-attachments/assets/41eded79-8f76-41dd-b98f-0bf1a968ab9b"
/>

Now the graph is inverted so that the higher the value, the more
efficient it is, in @snorpdorp's own words:

> The previous equation was flawed in that it displayed the total
knowledge at the end of the simulation, not the relative gain in
knowledge from the amount of studying done during the simulation
timeframe. The new (correct) equation is (relative gain in knowledge as
a result of studying during the simulation) / (time spent studying
during simulation) -
https://discord.com/channels/368267295601983490/1443273721878937650/1444447278344437833
2026-04-03 19:59:18 +03:00
.buildkite Update to Rust 1.92 (#4461) 2026-01-11 18:50:16 +07:00
.cargo Statically link MSVC runtime, removing the need to install the redistributable (#4166) 2025-07-05 15:03:14 +03:00
.config Drop workspace-hack in favor of workspace deps 2023-06-23 17:41:31 +10:00
.cursor/rules Make URL schemes dialog more ergonomic (#4002) 2025-05-15 16:17:33 +10:00
.github Revert changes to contributor check (#4656) 2026-04-02 06:18:30 +03:00
.idea.dist Update PyCharm docs (#4389) 2025-10-27 19:27:50 +07:00
.vscode.dist Update VS Code config (#4397) 2025-10-27 19:31:59 +07:00
build Exclude more folders from build actions (#4561) 2026-03-31 17:56:12 +03:00
cargo Build and publish dev docs (#4579) 2026-03-31 08:26:59 -04:00
docs Update Windows developer docs (#4662) 2026-04-03 15:41:44 +03:00
ftl Feat/Different method for ratio graph in Help Me Decide. (#4452) 2026-04-03 19:59:18 +03:00
proto Feat/Different method for ratio graph in Help Me Decide. (#4452) 2026-04-03 19:59:18 +03:00
pylib feat: add support for tag:nc:... searches (#4344) 2025-09-25 07:11:07 +03:00
python Build and publish dev docs (#4579) 2026-03-31 08:26:59 -04:00
qt Support WindowsRTTTSFilePlayer on Windows 11 (#4512) 2026-04-01 16:44:35 +03:00
rslib Feat/Different method for ratio graph in Help Me Decide. (#4452) 2026-04-03 19:59:18 +03:00
tools Revert changes to contributor check (#4656) 2026-04-02 06:18:30 +03:00
ts Feat/Different method for ratio graph in Help Me Decide. (#4452) 2026-04-03 19:59:18 +03:00
.deny.toml Update to Rust 1.92 (#4461) 2026-01-11 18:50:16 +07:00
.dockerignore Add distroless Dockerfile and implement internal health check (#3366) 2024-08-29 17:05:33 +07:00
.dprint.json Migrate build system to uv (#4074) 2025-06-19 14:03:16 +07:00
.eslintrc.cjs Include error message text on page 2024-06-24 15:35:47 +07:00
.gitattributes try again to improve GitHub's language stats 2021-01-20 13:20:45 +10:00
.gitignore Build and publish dev docs (#4579) 2026-03-31 08:26:59 -04:00
.gitmodules Migrate build system to uv (#4074) 2025-06-19 14:03:16 +07:00
.mypy.ini Migrate build system to uv (#4074) 2025-06-19 14:03:16 +07:00
.prettierrc Switch back to Prettier for Svelte formatting 2025-01-13 15:53:55 +11:00
.python-version Migrate build system to uv (#4074) 2025-06-19 14:03:16 +07:00
.readthedocs.yaml Build and publish dev docs (#4579) 2026-03-31 08:26:59 -04:00
.ruff.toml Switch to Ruff (#4119) 2025-06-29 14:38:35 +07:00
.rustfmt-empty.toml Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.rustfmt.toml Move ascii_percent_encoding into a separate repo 2023-04-12 08:45:23 +10:00
.version Bump version 2025-09-17 16:50:13 +10:00
.yarnrc.yml Disable NPM package scripts, and assert lockfile unchanged 2025-09-17 09:31:23 +10:00
Cargo.lock Build and publish dev docs (#4579) 2026-03-31 08:26:59 -04:00
Cargo.toml Speed up update_memory_state by batching FSRS memory state calculation (#4335) 2026-03-04 18:23:40 +03:00
check Add a shortcut to auto-format before running checks 2023-07-02 09:59:05 +10:00
CLAUDE.md Support hidden local Claude config 2025-06-29 22:16:59 +07:00
CONTRIBUTORS fix html editor collapses after toggling sticky fields (#4566) 2026-04-02 21:10:11 +03:00
justfile Build and publish dev docs (#4579) 2026-03-31 08:26:59 -04:00
LICENSE Drop Pauker and SuperMemo importers from legacy importer 2025-06-27 16:10:12 +07:00
ninja Migrate build system to uv (#4074) 2025-06-19 14:03:16 +07:00
package.json chore(deps): bump @sveltejs/kit from 2.50.2 to 2.53.3 (#4608) 2026-03-11 23:13:12 +03:00
pkgkey.asc add public key for release signing 2018-09-18 10:40:45 +10:00
pyproject.toml Build and publish dev docs (#4579) 2026-03-31 08:26:59 -04:00
README.md Add punctuation, convert raw URLs to markdown links in READMEs (#4570) 2026-04-01 10:23:23 -03:00
run Migrate build system to uv (#4074) 2025-06-19 14:03:16 +07:00
run.bat One step closer to tools/run-qt* on Windows 2025-09-01 13:39:46 +10:00
rust-toolchain.toml Update to Rust 1.92 (#4461) 2026-01-11 18:50:16 +07:00
SECURITY.md add SECURITY.md 2021-09-22 22:55:19 +10:00
uv.lock Build and publish dev docs (#4579) 2026-03-31 08:26:59 -04:00
yarn Do JS license output from top-level script 2026-02-11 14:26:53 +07:00
yarn.bat Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
yarn.lock chore(deps): bumps rollup from 4.44.1 to 4.59.0 (#4615) 2026-03-18 15:51:40 -03:00

Anki

Build Status Documentation

This repo contains the source code for the computer version of Anki.

About

Anki is a spaced repetition program. Please see the website to learn more.

This repo contains the source code for the computer version of Anki.

Getting Started

Contributing

Want to contribute to Anki? Check out the Contribution Guidelines.

For more information on building and developing, please see Development.

Contributors

The following people have contributed to Anki: CONTRIBUTORS

Anki Betas

If you'd like to try development builds of Anki but don't feel comfortable building the code, please see Anki betas.

License

Anki's license: LICENSE