Anki is a smart spaced repetition flashcard program
Find a file
Damien Elmes 5004cd332b
Integrate FSRS into Anki (#2654)
* Pack FSRS data into card.data

* Update FSRS card data when preset or weights change

+ Show FSRS stats in card stats

* Show a warning when there's a limited review history

* Add some translations; tweak UI

* Fix default requested retention

* Add browser columns, fix calculation of R

* Property searches

eg prop:d>0.1

* Integrate FSRS into reviewer

* Warn about long learning steps

* Hide minimum interval when FSRS is on

* Don't apply interval multiplier to FSRS intervals

* Expose memory state to Python

* Don't set memory state on new cards

* Port Jarret's new tests; add some helpers to make tests more compact

https://github.com/open-spaced-repetition/fsrs-rs/pull/64

* Fix learning cards not being given memory state

* Require update to v3 scheduler

* Don't exclude single learning step when calculating memory state

* Use relearning step when learning steps unavailable

* Update docstring

* fix single_card_revlog_to_items (#2656)

* not need check the review_kind for unique_dates

* add email address to CONTRIBUTORS

* fix last first learn & keep early review

* cargo fmt

* cargo clippy --fix

* Add Jarrett to about screen

* Fix fsrs_memory_state being initialized to default in get_card()

* Set initial memory state on graduate

* Update to latest FSRS

* Fix experiment.log being empty

* Fix broken colpkg imports

Introduced by "Update FSRS card data when preset or weights change"

* Update memory state during (re)learning; use FSRS for graduating intervals

* Reset memory state when cards are manually rescheduled as new

* Add difficulty graph; hide eases when FSRS enabled

* Add retrievability graph

* Derive memory_state from revlog when it's missing and shouldn't be

---------

Co-authored-by: Jarrett Ye <jarrett.ye@outlook.com>
2023-09-16 16:09:26 +10:00
.buildkite Update n2 for Windows console fix; recommend it on Windows as well 2023-07-02 19:03:37 +10:00
.cargo Fix i18n build script not responding to env var changes 2023-07-04 17:17:41 +10:00
.config Drop workspace-hack in favor of workspace deps 2023-06-23 17:41:31 +10:00
.github/ISSUE_TEMPLATE Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.vscode.dist Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
build Tooltips for CSV import and import page refactoring (#2655) 2023-09-14 09:06:15 +10:00
cargo Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
docs [Development] Specify extra directory as a designated ignored folder (#2593) 2023-07-27 22:27:07 +10:00
ftl Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
proto Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
pylib Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
python Update certifi for minor bug fix 2023-07-26 20:41:19 +10:00
qt Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
rslib Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
sass Add scss formatter 2023-07-03 09:44:38 +10:00
tools Update profiling script 2023-09-14 09:23:44 +10:00
ts Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
.deny.toml Integrate the FSRS optimizer (#2633) 2023-09-05 18:45:05 +10:00
.dprint.json [Development] Specify extra directory as a designated ignored folder (#2593) 2023-07-27 22:27:07 +10:00
.eslintrc.js [Development] Specify extra directory as a designated ignored folder (#2593) 2023-07-27 22:27:07 +10:00
.gitattributes try again to improve GitHub's language stats 2021-01-20 13:20:45 +10:00
.gitignore Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
.gitmodules Exclude PyOxidizer from recursive checkout 2023-07-02 18:22:44 +10:00
.isort.cfg Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.mypy.ini Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.pylintrc Add ability to restore a notetype to its original configuration (#2472) 2023-04-18 14:07:51 +10: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 Change Anki's version scheme; bump to 23.09 (#2640) 2023-09-07 12:37:15 +10:00
Cargo.lock Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
Cargo.toml Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
check Add a shortcut to auto-format before running checks 2023-07-02 09:59:05 +10:00
CONTRIBUTORS Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
LICENSE move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00
ninja Switch runner to release build 2023-07-02 10:31:07 +10:00
package.json Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +10:00
pkgkey.asc add public key for release signing 2018-09-18 10:40:45 +10:00
README.md Add link to website in README 2023-05-31 13:49:19 +10:00
run Use 127.0.0.1 instead of localhost 2023-06-27 16:45:31 +10:00
run.bat Fix some Windows path issues 2023-07-02 18:22:44 +10:00
rust-toolchain.toml Update to Rust 1.72 2023-08-25 07:56:38 +10:00
SECURITY.md add SECURITY.md 2021-09-22 22:55:19 +10:00
yarn.lock Bump semver from 6.3.0 to 6.3.1 (#2572) 2023-07-12 21:16:10 +10:00

Anki

Build status

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

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

For more information on building, please see Development.