Skip to content

Fix/FSRS simulator fallback to memory_state_from_sm2 when converting cards #4189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

L-M-Sherlock
Copy link
Contributor

@L-M-Sherlock L-M-Sherlock commented Jul 8, 2025

previous discussion: #4187

L-M-Sherlock and others added 8 commits July 8, 2025 16:41
…ted 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.
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
L-M-Sherlock and others added 2 commits July 9, 2025 10:06
Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>
@user1823
Copy link
Contributor

user1823 commented Jul 9, 2025

@L-M-Sherlock, as discussed, we need to change line 135 in fn is_included_card to

                && c.ctype != CardType::New

@dae
Copy link
Member

dae commented Jul 9, 2025

Thanks everyone!

@dae dae merged commit 1f7f7bc into ankitects:main Jul 9, 2025
1 check passed
@L-M-Sherlock L-M-Sherlock deleted the Fix/FSRS-simulator-fallback-to-memory_state_from_sm2 branch July 9, 2025 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants