View Source Memorex.Scheduler.Config (Memorex v0.2.4)
The configuration for the Anki SM-2 algorithm.
See a detailed list of the Anki settings in this Anki forum The Anki manual also contains a lot of information.
These values are modified by deck config toml
files, and also by environment variables (see config/runtime.exs
).
Memorex Setting | Anki Setting | Anki Default |
---|---|---|
new_cards_per_day | new cards per day | 20 |
max_reviews_per_day | maximum reviews per day | 200 |
- | - | - |
learn_ahead_time_interval | learn ahead time (in settings?) | 20 minutes |
- | - | - |
learn_steps | learning steps | [1 min, 10 min] |
graduating_interval_good | graduating interval | 1 day |
graduating_interval_easy | easy interval | 4 days |
- | - | - |
relearn_steps | relearning steps | [10 min] |
- | - | - |
initial_ease | starting ease | 2.5 |
- | - | - |
easy_multiplier | easy bonus | 1.3 |
hard_multiplier | hard interval | 1.2 |
lapse_multiplier | new interval (? I think so) | 0.0 |
interval_multiplier | interval modifier | 1.0 |
- | - | - |
ease_again | <not in settings> | -0.2 |
ease_hard | <not in settings> | -0.15 |
ease_good | <not in settings> | 0.0 |
ease_easy | <not in settings> | 0.15 |
ease_minimum | <not in settings> | 1.3 |
- | - | - |
max_review_interval | maximum interval | 100 years |
min_review_interval | minimum interval | 1 day |
- | - | - |
leech_threshold | leech threshhold | 8 lapses |
- | - | - |
min_time_to_answer | <not in settings> | 1 sec |
max_time_to_answer | maximum answer seconds | 1 min |
- | - | - |
relearn_easy_adj | NOT SURE WHERE THIS IS FROM | 1 day |
- | - | - |
timezone | timezone | 1 day |
Link to this section Summary
Functions
Returns the default Memorex.Schedler.Config
as returned from the application environment (e.g., environment
variables. Converts from the application env map to an actual Memorex.Scheduler.Config
struct.
Merges in a map into the Memorex.Scheduler.Config
. This is used to merge in deck-specific configuration from
toml config files.
Link to this section Types
@type t() :: %Memorex.Scheduler.Config{ ease_again: nil | float(), ease_easy: nil | float(), ease_good: nil | float(), ease_hard: nil | float(), ease_minimum: nil | float(), easy_multiplier: nil | float(), graduating_interval_easy: nil | Timex.Duration.t(), graduating_interval_good: nil | Timex.Duration.t(), hard_multiplier: nil | float(), initial_ease: nil | float(), interval_multiplier: nil | float(), lapse_multiplier: nil | float(), learn_ahead_time_interval: nil | Timex.Duration.t(), learn_steps: nil | [Timex.Duration.t()], leech_threshold: nil | non_neg_integer(), max_review_interval: nil | Timex.Duration.t(), max_reviews_per_day: nil | non_neg_integer(), max_time_to_answer: nil | Timex.Duration.t(), min_review_interval: nil | Timex.Duration.t(), min_time_to_answer: nil | Timex.Duration.t(), new_cards_per_day: nil | non_neg_integer(), relearn_easy_adj: nil | Timex.Duration.t(), relearn_steps: nil | [Timex.Duration.t()], timezone: nil | String.t() }
Link to this section Functions
@spec default() :: map()
Returns the default Memorex.Schedler.Config
as returned from the application environment (e.g., environment
variables. Converts from the application env map to an actual Memorex.Scheduler.Config
struct.
Merges in a map into the Memorex.Scheduler.Config
. This is used to merge in deck-specific configuration from
toml config files.