Skip to content
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

alert when the resp.weights is empty #3061

Merged

Conversation

L-M-Sherlock
Copy link
Contributor

@L-M-Sherlock L-M-Sherlock commented Mar 8, 2024

When the current weights are empty and the new weights are worse than the default weights, the previous implementation doesn't pop up the alert(tr.deckConfigFsrsParamsOptimal()) because $config.fsrsWeights.length is 0.

By the way, I also remove the condition weights.fsrs_items >= 1000 when computing all weights.

@dae
Copy link
Member

dae commented Mar 9, 2024

Thanks Jarrett!

@dae dae merged commit f2acf40 into ankitects:main Mar 9, 2024
1 check passed
@L-M-Sherlock L-M-Sherlock deleted the alert-when-the-resp.weights-is-empty branch April 27, 2024 11:36
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.

2 participants