This commit is contained in:
Luc Mcgrady 2025-06-19 22:23:13 +01:00
parent b7bd1e05ee
commit 4e31a33cce
No known key found for this signature in database
GPG key ID: 4F3D7A0B17CC3D9C
5 changed files with 10 additions and 10 deletions

View file

@ -390,7 +390,7 @@ message FsrsReview {
} }
enum CMRRTarget { enum CMRRTarget {
memorised = 0; memorized = 0;
stability = 1; stability = 1;
}; };

View file

@ -34,7 +34,7 @@ impl Collection {
let days_to_simulate = req.days_to_simulate as f32; let days_to_simulate = req.days_to_simulate as f32;
let target = match target { let target = match target {
Some(CmrrTarget::Memorised) => None, Some(CmrrTarget::Memorized) => None,
Some(CmrrTarget::Stability) => { Some(CmrrTarget::Stability) => {
wrap!(move |SimulationResult { wrap!(move |SimulationResult {
cards, cards,

View file

@ -97,7 +97,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
newCardsIgnoreReviewLimit: $newCardsIgnoreReviewLimit, newCardsIgnoreReviewLimit: $newCardsIgnoreReviewLimit,
easyDaysPercentages: $config.easyDaysPercentages, easyDaysPercentages: $config.easyDaysPercentages,
reviewOrder: $config.reviewOrder, reviewOrder: $config.reviewOrder,
target: CMRRTarget.memorised, target: CMRRTarget.memorized,
}); });
const DESIRED_RETENTION_LOW_THRESHOLD = 0.8; const DESIRED_RETENTION_LOW_THRESHOLD = 0.8;

View file

@ -417,7 +417,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<EnumSelectorRow <EnumSelectorRow
choices={CMRRTargetChoices()} choices={CMRRTargetChoices()}
bind:value={simulateFsrsRequest.target} bind:value={simulateFsrsRequest.target}
defaultValue={CMRRTarget.memorised} defaultValue={CMRRTarget.memorized}
> >
<SettingTitle> <SettingTitle>
{"Target: "} {"Target: "}

View file

@ -204,7 +204,7 @@ export function CMRRTargetChoices(): Choice<CMRRTarget>[] {
return [ return [
{ {
label: "Memorized (Default)", label: "Memorized (Default)",
value: CMRRTarget.memorised, value: CMRRTarget.memorized,
}, },
{ {
label: "Stability (Experimental)", label: "Stability (Experimental)",