mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
41 lines
881 B
Python
41 lines
881 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright: Damien Elmes <anki@ichi2.net>
|
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
import simplejson
|
|
from anki.utils import intTime
|
|
|
|
defaultConf = {
|
|
'new': {
|
|
'delays': [0.5, 3, 10],
|
|
'ints': [1, 7, 4],
|
|
'initialFactor': 2500,
|
|
},
|
|
'lapse': {
|
|
'delays': [0.5, 3, 10],
|
|
'mult': 0,
|
|
'minInt': 1,
|
|
'relearn': True,
|
|
'leechFails': 16,
|
|
# [type, data], where type 0=suspend, 1=tagonly, 2=forget
|
|
'leechAction': [0],
|
|
},
|
|
'cram': {
|
|
'delays': [0.5, 3, 10],
|
|
'resched': True,
|
|
'reset': True,
|
|
'mult': 0,
|
|
'minInt': 1,
|
|
},
|
|
'rev': {
|
|
'ease4': 1.3,
|
|
'fuzz': 0.05,
|
|
'minSpace': 1,
|
|
},
|
|
'maxTaken': 60,
|
|
}
|
|
|
|
defaultData = {
|
|
'activeTags': None,
|
|
'inactiveTags': None,
|
|
}
|