-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
33 lines (29 loc) · 1.19 KB
/
Copy pathconfig.example.yaml
File metadata and controls
33 lines (29 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
server:
addr: ":8080"
session_secret: "change-me-to-a-long-random-string"
db:
path: "data/anki.db"
deepl:
api_key: ""
api_url: "https://api-free.deepl.com/v2/translate"
source_lang: "DE"
target_lang: "EN-US"
import:
seed_dir: "seed"
# FSRS spaced-repetition tuning. These values seed each new user's settings at
# registration (and backfill existing users once on first boot). Thereafter each
# user edits their own values from the /settings page, independent of this file —
# changing these later only affects users created afterward.
fsrs:
# Target probability of recall at next review. Lower → longer intervals,
# fewer reviews, more forgetting. Typical range: 0.80–0.97.
request_retention: 0.9
# Cap on how far out a card can be scheduled, in days.
maximum_interval: 36500
# Randomize intervals ±5–15% so batches don't all come due on the same day.
# On by default; set to false for fully deterministic intervals.
enable_fuzz: true
# Maximum number of New cards (state=0) introduced from each deck per day.
# Once reached, the queue only serves Learning/Review/Relearning cards
# until the next local-day rollover. Counted per (user, deck).
new_cards_per_day: 20