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 {
|
enum CMRRTarget {
|
||||||
memorised = 0;
|
memorized = 0;
|
||||||
stability = 1;
|
stability = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -415,13 +415,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
<Item>
|
<Item>
|
||||||
<EnumSelectorRow
|
<EnumSelectorRow
|
||||||
choices={CMRRTargetChoices()}
|
choices={CMRRTargetChoices()}
|
||||||
bind:value={simulateFsrsRequest.target}
|
bind:value={simulateFsrsRequest.target}
|
||||||
defaultValue={CMRRTarget.memorised}
|
defaultValue={CMRRTarget.memorized}
|
||||||
>
|
>
|
||||||
<SettingTitle>
|
<SettingTitle>
|
||||||
{"Target: "}
|
{"Target: "}
|
||||||
</SettingTitle>
|
</SettingTitle>
|
||||||
</EnumSelectorRow>
|
</EnumSelectorRow>
|
||||||
</Item>
|
</Item>
|
||||||
</details>
|
</details>
|
||||||
|
|
|
||||||
|
|
@ -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)",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue