旧测试改为五路

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
zlt 2026-09-09 12:09:07 +08:00
parent 296fc96909
commit 52581f1437
1 changed files with 2 additions and 2 deletions

View File

@ -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