chore: 修改版本文本

This commit is contained in:
2026-04-30 04:52:17 +08:00
parent 2625632e9c
commit 8b691d9db8
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ class DashboardScreen(Screen):
from heurams.services.attic import Attic
a = Attic("ana", {"totaltime": 0, "openpuzzles": 0, "puzzles_err": 0})
yield Label(f"版本 {version.ver} {version.stage.capitalize()}") # 版本信息
yield Label(f"版本 {version.ver}-{version.stage}") # 版本信息
yield Label(
f"{round(a.data['totaltime'], 2)} 秒内处理了 {a.data['openpuzzles']} 个谜题, 正确率{'无法求解' if not a.data['openpuzzles'] else ' ' + str(round(100 * (1 - a.data['puzzles_err']/a.data['openpuzzles']), 2)) + '%'}, 平均速度{'无法求解' if not a.data['totaltime'] else ' ' + str(round(a.data['openpuzzles']/a.data['totaltime'], 2)) + ' 个每秒'}",
id="analysis",

View File

@@ -4,7 +4,7 @@ from heurams.services.logger import get_logger
logger = get_logger(__name__)
ver = "0.5.0"
stage = "prototype"
stage = "rc.1"
codename = "fulcrum"
codename_cn = "支点"