From 52581f1437736c3aebd2fb436ff13e8f614cce33 Mon Sep 17 00:00:00 2001 From: zlt Date: Wed, 9 Sep 2026 12:09:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A7=E6=B5=8B=E8=AF=95=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E4=BA=94=E8=B7=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5.1 --- test_plan_logic_state.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_plan_logic_state.py b/test_plan_logic_state.py index de6175d..4628dd6 100644 --- a/test_plan_logic_state.py +++ b/test_plan_logic_state.py @@ -41,8 +41,8 @@ def main(): coverage=6, why="预测中位数变化 +1%,在阈值之内")} st = plan._logic_state_of("SH600000", evd, seg_of, seg_view, broker, DS) # noqa: SLF001 t("三路都在且无负面 -> 逻辑成立", st["state"] == ls.STATE_HOLD) - t("四路都记了名,缺的那一路写明是公司事件", - len(st["paths"]) == 4 and ls.PATH_EVENT in st["missing"]) + t("五路都记了名,缺的两路写明是公司事件与公司质地(没报告)", + len(st["paths"]) == 5 and ls.PATH_EVENT in st["missing"] and ls.PATH_COMPANY in st["missing"]) print("取数缺席时不断产") st = plan._logic_state_of("SH600000", {}, {}, {}, {}, DS) # noqa: SLF001