Anki/rslib/src/deckconfig
Jarrett Ye 59e143ec25
Feat/support load balance and easy days in rescheduling (#3815)
* Feat/support load balance and easy days in rescheduling

* ./ninja fix:minilints

* apply clippy

* reuse calculate_easy_days_modifiers()

* consider LoadBalancerEnabled

* move calculate_easy_days_modifiers out of struct

* improve naming & add comments

* apply clippy

* reschedule if easy days settings are changed

* Minor simplification

* refactor to share code between load balancer and rescheduler

* intervals_and_params -> intervals_and_weights

* find_best_interval -> select_weighted_interval

* cargo clippy

* add warning about easyDaysChanged

* compare arrays directly

* Don't show warning if fsrs+rescehdule is already enabled

---------

Co-authored-by: Damien Elmes <gpg@ankiweb.net>
Co-authored-by: Jake Probst <jake.probst@gmail.com>
2025-02-18 13:44:00 +07:00
..
mod.rs Rename remaining 'weights' references to 'params' 2024-10-21 18:13:23 +10:00
schema11.rs Rename remaining 'weights' references to 'params' 2024-10-21 18:13:23 +10:00
service.rs Update to Rust 1.74, and update most Rust deps 2023-11-27 13:34:42 +10:00
undo.rs Refactor error handling (#2136) 2022-10-21 18:02:12 +10:00
update.rs Feat/support load balance and easy days in rescheduling (#3815) 2025-02-18 13:44:00 +07:00