Anki/proto/anki
Jarrett Ye 1f7f7bc8a3
Fix/FSRS simulator fallback to memory_state_from_sm2 when converting cards (#4189)
* Fix/FSRS simulator fallback to memory_state_from_sm2 for after setting “Ignore cards reviewed before”

* add comment to fsrs_item_for_memory_state

* Add historical retention field to FSRS review request and update related logic

- Added `historical_retention` field to `SimulateFsrsReviewRequest` in `scheduler.proto`.
- Updated `simulator.rs` to use `req.historical_retention` instead of the removed `desired_retention`.
- Modified `FsrsOptions.svelte` to include `historicalRetention` in the options passed to the component.

* Update rslib/src/scheduler/fsrs/memory_state.rs

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>

* Update rslib/src/scheduler/fsrs/simulator.rs

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>

* pass ci

* Update rslib/src/scheduler/fsrs/simulator.rs

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>

* format

* Update rslib/src/scheduler/fsrs/simulator.rs

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

* format

* Fix condition in is_included_card function to check CardType instead of CardQueue

---------

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>
2025-07-09 16:22:59 +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 Modify card rendering output to specify if rendered card is empty (#3890) 2025-03-31 17:51:28 +07:00
cards.proto Add last_review_time to card data for performance and accuracy (#4124) 2025-07-08 00:41:01 +07:00
collection.proto Refactor: Make Load Balancer Optional Throughout Codebase (#3860) 2025-03-26 23:19:28 +10:00
config.proto Feat/Add legacy evaluate config bool (#4149) 2025-07-04 15:32:09 +07:00
deck_config.proto Feat/Add legacy evaluate config bool (#4149) 2025-07-04 15:32:09 +07: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 creating deck via #deck:... if non-existent when importing (#4154) 2025-07-08 00:46:04 +07: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 Cloze button get disabled outside of cloze field (#3879) 2025-04-24 18:37:41 +10:00
scheduler.proto Fix/FSRS simulator fallback to memory_state_from_sm2 when converting cards (#4189) 2025-07-09 16:22:59 +07:00
search.proto Possible to show “last” subdeck name in Browser? (#3387) 2024-09-20 20:33:28 +10:00
stats.proto Feat/FSRS-6 (#3929) 2025-04-25 16:44:34 +10: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