mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 14:03:55 -05:00
us
This commit is contained in:
parent
b7bd1e05ee
commit
4e31a33cce
5 changed files with 10 additions and 10 deletions
|
|
@ -390,7 +390,7 @@ message FsrsReview {
|
|||
}
|
||||
|
||||
enum CMRRTarget {
|
||||
memorised = 0;
|
||||
memorized = 0;
|
||||
stability = 1;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ impl Collection {
|
|||
let days_to_simulate = req.days_to_simulate as f32;
|
||||
|
||||
let target = match target {
|
||||
Some(CmrrTarget::Memorised) => None,
|
||||
Some(CmrrTarget::Memorized) => None,
|
||||
Some(CmrrTarget::Stability) => {
|
||||
wrap!(move |SimulationResult {
|
||||
cards,
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
newCardsIgnoreReviewLimit: $newCardsIgnoreReviewLimit,
|
||||
easyDaysPercentages: $config.easyDaysPercentages,
|
||||
reviewOrder: $config.reviewOrder,
|
||||
target: CMRRTarget.memorised,
|
||||
target: CMRRTarget.memorized,
|
||||
});
|
||||
|
||||
const DESIRED_RETENTION_LOW_THRESHOLD = 0.8;
|
||||
|
|
|
|||
|
|
@ -415,13 +415,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
|
||||
<Item>
|
||||
<EnumSelectorRow
|
||||
choices={CMRRTargetChoices()}
|
||||
bind:value={simulateFsrsRequest.target}
|
||||
defaultValue={CMRRTarget.memorised}
|
||||
choices={CMRRTargetChoices()}
|
||||
bind:value={simulateFsrsRequest.target}
|
||||
defaultValue={CMRRTarget.memorized}
|
||||
>
|
||||
<SettingTitle>
|
||||
{"Target: "}
|
||||
</SettingTitle>
|
||||
<SettingTitle>
|
||||
{"Target: "}
|
||||
</SettingTitle>
|
||||
</EnumSelectorRow>
|
||||
</Item>
|
||||
</details>
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ export function CMRRTargetChoices(): Choice<CMRRTarget>[] {
|
|||
return [
|
||||
{
|
||||
label: "Memorized (Default)",
|
||||
value: CMRRTarget.memorised,
|
||||
value: CMRRTarget.memorized,
|
||||
},
|
||||
{
|
||||
label: "Stability (Experimental)",
|
||||
|
|
|
|||
Loading…
Reference in a new issue