feat: 实验性 SM-15M 算法实现
实验性 SM-15M 逆向工程算法实现
This commit is contained in:
@@ -49,7 +49,7 @@ class BasicEvaluation(BasePuzzleWidget):
|
||||
# 显示主要内容
|
||||
yield Label(self.atom.registry["nucleon"]["content"], id="main")
|
||||
|
||||
# 显示评估说明(可选)
|
||||
# 显示评估说明(可选)
|
||||
yield Static("请评估你对这个内容的记忆程度: ", classes="instruction")
|
||||
|
||||
# 按钮容器
|
||||
|
||||
@@ -116,7 +116,7 @@ class MCQPuzzle(BasePuzzleWidget):
|
||||
|
||||
self.screen.rating = rating # type: ignore
|
||||
self.handler(rating)
|
||||
# 重置输入(如果回答错误)
|
||||
# 重置输入(如果回答错误)
|
||||
if not is_correct:
|
||||
self.inputlist = []
|
||||
self.refresh_buttons()
|
||||
@@ -127,7 +127,7 @@ class MCQPuzzle(BasePuzzleWidget):
|
||||
self.update_display()
|
||||
|
||||
def refresh_buttons(self):
|
||||
"""刷新按钮显示(用于题目切换)"""
|
||||
"""刷新按钮显示(用于题目切换)"""
|
||||
# 移除所有选项按钮
|
||||
logger.debug("刷新按钮")
|
||||
self.cursor += 1
|
||||
|
||||
Reference in New Issue
Block a user