Anki is a smart spaced repetition flashcard program
Find a file
Luc Mcgrady 8b18a08b3b
FSRS - Ignore revlogs before date while optimizing (#2922)
* Added: Date input button

* Added: ignoreDate to config

* Added: Backend

* Optimize function passes value

* Fix: Spelling

* Moved: filter logic from revlog_for_srs to update_memory_state

* fmt

* Copyright header

* ./check

* Fix: Test

* Renamed: Ignore_date -> Ignore_before_date

* Neaten parameters

* evaluate weights

* ./check

* Optimize all presets

* Added: Label localizations

* Removed globe label

* Added: Tooltip

* Changed error type

* fmt

* Moved filter to own function

* missing function call replacement

* Fix: Typo

* Apply suggestions from code review

Co-authored-by: Damien Elmes <dae@users.noreply.github.com>

* timestamp * 1000 -> timestamp_millis

* ignoreBefore -> ignore_before

* clarified ignore_before variables

* i64 -> TimestampMillis

* Un-traitified remove_revlogs_before

* Added: ms == 0 guard

* Added: Ignore_before affects scheduling

* Moved filter to fsrs_items_for_training

* removed filter from revlog_for_srs

* Tuple -> UpdateMemoryStateEntry

* Removed unused function

* Removed superfluous _ms from variables

* cid -> id

* Different ignore method

* Added: Unit test

* cid -> id

* Test: Exact ms edge case

* ./check

* Fix: re-learns could be before ignore date in cards without learning steps

* getignoreRevlogsBeforeMs -> getIgnoreRevlogsBeforeMs

* Removed pub(crate)

* Clarified unit test

* last_learn_entry -> first_of_last_learn_entries

* @user1823's method

* IOS fix

* ./check

* Fix: width defined twice
2024-02-22 11:01:10 +07: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 Fix Select component not reacting to changed list (#2885) 2023-12-11 09:12:34 +10:00
build Ensure PyOxidizer checked out when bundling 2024-02-13 10:56:53 +10:00
cargo Keep previous FSRS parameters if they get worse when optimizing (#2996) 2024-02-11 16:26:04 +10:00
docs Add make to build reqs; update ARM docs 2023-12-30 09:45:39 +10:00
ftl FSRS - Ignore revlogs before date while optimizing (#2922) 2024-02-22 11:01:10 +07:00
proto FSRS - Ignore revlogs before date while optimizing (#2922) 2024-02-22 11:01:10 +07:00
pylib Fix circular import (#3007) 2024-02-14 20:23:14 +10:00
python Update to Qt 6.6.2 2024-02-18 11:21:50 +07:00
qt Make a deep copy in reviewer/create-copy (#3013) 2024-02-18 13:09:53 +07:00
rslib FSRS - Ignore revlogs before date while optimizing (#2922) 2024-02-22 11:01:10 +07:00
sass Improve visibility of clicked buttons in editor (#2841) 2023-11-23 16:56:45 +10:00
tools fix: fix windows build issue (#2947) 2024-01-19 15:48:06 +10:00
ts FSRS - Ignore revlogs before date while optimizing (#2922) 2024-02-22 11:01:10 +07:00
.deny.toml Update to latest fsrs-rs 2023-12-07 14:13:58 +10:00
.dprint.json Allow disabling occlusion mask border (#2764) 2023-10-23 11:43:37 +10:00
.eslintrc.js Enforce curly bracket usage for one-statement ifs 2023-10-23 09:19:49 +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 Bump version to 23.12.1 2023-12-28 18:19:48 +10:00
Cargo.lock Keep previous FSRS parameters if they get worse when optimizing (#2996) 2024-02-11 16:26:04 +10:00
Cargo.toml Keep previous FSRS parameters if they get worse when optimizing (#2996) 2024-02-11 16:26:04 +10:00
check Add a shortcut to auto-format before running checks 2023-07-02 09:59:05 +10:00
CONTRIBUTORS Improve typing deck_due_tree() (#3003) 2024-02-12 15:56:29 +10:00
LICENSE Replace css_browser_selector with our own implementation (#2854) 2023-11-30 10:57:33 +10:00
ninja Switch runner to release build 2023-07-02 10:31:07 +10:00
package.json Replace css_browser_selector with our own implementation (#2854) 2023-11-30 10:57:33 +10:00
pkgkey.asc add public key for release signing 2018-09-18 10:40:45 +10:00
README.md Updated README (#2718) 2023-10-11 14:11:07 +10:00
run Fix webengine remote debugging in Qt6 2023-11-05 12:41:17 +10:00
run.bat Fix webengine remote debugging in Qt6 2023-11-05 12:41:17 +10:00
rust-toolchain.toml Update to Rust 1.75 2024-01-05 14:28:23 +10:00
SECURITY.md add SECURITY.md 2021-09-22 22:55:19 +10:00
yarn.lock Replace css_browser_selector with our own implementation (#2854) 2023-11-30 10:57:33 +10:00

Anki

Build status

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.

Getting Started

Anki Betas

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

Developing

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

Contributing

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

Anki Contributors

CONTRIBUTORS

License

Anki's license: LICENSE