diff --git a/data/config/repo/_.toml b/data/config/repo/_.toml new file mode 100644 index 0000000..d471edb --- /dev/null +++ b/data/config/repo/_.toml @@ -0,0 +1,2 @@ +_cngk-t_desc = "高考必备古诗文" +_cngk_desc = "高考必备古诗文" diff --git a/data/config/repo/高考必背古诗文-0.toml b/data/config/repo/高考必背古诗文-0.toml new file mode 100644 index 0000000..3cd8fc9 --- /dev/null +++ b/data/config/repo/高考必背古诗文-0.toml @@ -0,0 +1,11 @@ +algorithm = "NSP-0" +_algorithm_desc = "记忆调度算法" +scheduled_num = 420 +_scheduled_num_desc = "单次记忆单元数量" + +[_algorithm_candidate] +NSP-0 = "筛选用非间隔重复调度器" +none = "不设置默认调度器" +SM-2 = "第二代 SuperMemo 简单间隔重复调度器" +SM-15M = "第15代 SuperMemo 复杂间隔重复调度器 (不稳定且逆向工程)" +FSRS = "先进开放间隔重复调度器" diff --git a/data/config/repo/高考必背古诗文.toml b/data/config/repo/高考必背古诗文.toml new file mode 100644 index 0000000..19dff73 --- /dev/null +++ b/data/config/repo/高考必背古诗文.toml @@ -0,0 +1,11 @@ +algorithm = "SM-2" +_algorithm_desc = "记忆调度算法" +scheduled_num = 20 +_scheduled_num_desc = "单次记忆单元数量" + +[_algorithm_candidate] +NSP-0 = "筛选用非间隔重复调度器" +none = "不设置默认调度器" +SM-2 = "第二代 SuperMemo 简单间隔重复调度器" +SM-15M = "第15代 SuperMemo 复杂间隔重复调度器 (不稳定且逆向工程)" +FSRS = "先进开放间隔重复调度器" diff --git a/src/heurams/interface/__init__.py b/src/heurams/interface/__init__.py index e52cdc9..8454e4f 100644 --- a/src/heurams/interface/__init__.py +++ b/src/heurams/interface/__init__.py @@ -37,6 +37,7 @@ class HeurAMSApp(App): ("q", "go_back", "退出"), ("d", "toggle_dark", "主题"), ("n", "app.push_screen('navigator')", "导航"), + ("s", "app.push_screen('setting')", "设置"), ("z", "app.push_screen('about')", "关于"), ] SCREENS = { diff --git a/src/heurams/interface/screens/dashboard.py b/src/heurams/interface/screens/dashboard.py index 30889bf..de85d2c 100644 --- a/src/heurams/interface/screens/dashboard.py +++ b/src/heurams/interface/screens/dashboard.py @@ -96,7 +96,8 @@ class DashboardScreen(Screen): nucleonic_data=repo.nucleonic_data_lict.get_itemic_unit(i) ) electron = pt.Electron.create_on_electonic_data( - electronic_data=repo.electronic_data_lict.get_itemic_unit(i) + electronic_data=repo.electronic_data_lict.get_itemic_unit(i), + algo_name=config_var.get()['repo'][repo.manifest['title']]['algorithm'] ) if electron.is_activated(): activated_sum += 1