更新
This commit is contained in:
@@ -23,11 +23,11 @@ def list_algorithms() -> list[str]:
|
||||
return list(_algorithms.keys())
|
||||
|
||||
# 导入注册
|
||||
from . import supermemo2
|
||||
from . import sm2
|
||||
register_algorithm(
|
||||
algo_name=supermemo2.algo_name,
|
||||
defaults=supermemo2.defaults,
|
||||
revisor=supermemo2.revisor
|
||||
algo_name=sm2.algo_name,
|
||||
defaults=sm2.defaults,
|
||||
revisor=sm2.revisor
|
||||
)
|
||||
|
||||
__all__ = ['get_algorithm', 'list_algorithms', 'register_algorithm', 'AlgorithmConfig']
|
||||
1
src/heurams/kernel/algorithms/fsrs.py
Normal file
1
src/heurams/kernel/algorithms/fsrs.py
Normal file
@@ -0,0 +1 @@
|
||||
# FSRS 算法模块, 尚未就绪
|
||||
@@ -1,7 +1,7 @@
|
||||
import heurams.services.timer as timer
|
||||
from typing import TypedDict
|
||||
|
||||
algo_name = "supermemo2"
|
||||
algo_name = "SM-2"
|
||||
|
||||
class AlgodataDict(TypedDict):
|
||||
efactor: float
|
||||
Reference in New Issue
Block a user