Anki/proto/anki
Jarrett Ye a6426bebe2
Feat/support load balance and easy days in FSRS simulator (#3829)
* Feat/support load balance and easy days in FSRS simulator

* format

* consider LoadBalancerEnabled

* use fsrs::PostSchedulingFn

* add load balance and easy days to compute_optimal_retention

* move simulator to a pop-over

* fix incorrect simulationNumber when error 500

* Feat: Save to Preset Options

* update tabs when update newPerDay & reviewsPerDay

* don't reset deckSize & daysToSimulate when save options

* fix missing easy days

* plan to support review priority

* Fix graph line rendering with non-scaling stroke

* simplify review priority function with helper wrapper

* fallback to default ReviewPriority for Added & ReverseAdded

* Update ts/routes/deck-options/SimulatorModal.svelte

Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>

* Wrap review priority function in Arc for thread-safe sharing

* more granularity for R sorting

* Add graph smoothing option to FSRS simulator

* Improve graph resize handling in FSRS simulator

* simplify review priority calculation

* Add review order selection to FSRS simulator modal

* Refactor review priority function using macro for conciseness

* Add copyright and license header to SimulatorModal.svelte

* cargo clippy

* ./ninja fix:eslint

* update fsrs-rs

* Update FSRS dependencies and refactor load balancing functions

- Update fsrs-rs dependency to latest commit
- Modify retention and simulator modules to use Arc instead of Box
- Update function signatures and imports in simulator module
- Simplify review card order handling with direct enum usage

* resolve reviewed changes

* replace .unwrap() with ?

* move simulating into SimulatorModal

* add (crate) to interval_to_weekday

* Update FsrsOptions.svelte

* format

---------

Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>
2025-02-27 10:53:01 +07:00
..
ankidroid.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
ankihub.proto Integrate AnkiHub Sign-in (#3232) 2024-08-17 10:58:23 +07:00
ankiweb.proto Change Anki's version scheme; bump to 23.09 (#2640) 2023-09-07 12:37:15 +10:00
backend.proto Flag server messages so AnkiDroid can handle them separately 2024-11-08 22:54:15 +10:00
card_rendering.proto typeanswer: [type:nc] – ignores combining characters (#3422) 2024-09-30 23:11:51 +10:00
cards.proto Remove unused proto import 2025-01-12 12:58:17 +11:00
collection.proto Rename remaining 'weights' references to 'params' 2024-10-21 18:13:23 +10:00
config.proto Feat/option to enable FSRS short-term scheduler when (re)learning steps run out && speed up features based on simulation (#3505) 2024-10-21 15:09:07 +10:00
deck_config.proto Add descending retrievability (#3559) 2024-11-08 22:53:13 +10:00
decks.proto Add descending retrievability (#3559) 2024-11-08 22:53:13 +10:00
frontend.proto Deck options without bridge (#3571) 2025-01-08 21:30:30 +11:00
generic.proto Add java_multiple_files option to proto files 2022-06-27 15:16:04 +10:00
i18n.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
image_occlusion.proto Fix IO editor always starting in "hide all, guess one" mode (#3709) 2025-01-09 23:14:02 +11:00
import_export.proto Allow im-/exporting with or without deck configs (#2804) 2023-11-13 13:54:41 +10:00
links.proto Remove remaining remnants of unused error; fix CI 2024-11-19 15:26:02 +10:00
media.proto Add a backend method to extract static media references (#2716) 2023-10-11 14:10:02 +10:00
notes.proto Add a backend method to add notes in bulk (#2659) 2023-09-16 13:51:32 +10:00
notetypes.proto Add image occlusion to stock notetypes 2023-10-22 11:00:39 +10:00
scheduler.proto Feat/support load balance and easy days in FSRS simulator (#3829) 2025-02-27 10:53:01 +07:00
search.proto Possible to show “last” subdeck name in Browser? (#3387) 2024-09-20 20:33:28 +10:00
stats.proto Apply gradient effect to forgetting curve (#3604) 2024-12-09 17:44:05 +11:00
sync.proto Add support for custom certificates (#3203) 2024-05-24 10:57:54 +01:00
tags.proto More service generation refactoring 2023-06-22 09:46:09 +10:00