修复业务测试:AI 预测最高温需等待 AI 就绪,不再回退行数据

This commit is contained in:
2569718930@qq.com
2026-05-23 12:45:19 +08:00
parent f5fc3ca0cd
commit 6cbc56ac5a
@@ -42,9 +42,8 @@ export function runTests() {
);
assert(
cardSource.includes("getRowModelEntries") &&
cardSource.includes("row?.ai_predicted_max") &&
cardSource.includes("row?.cluster_median") &&
cardSource.includes("detailModelEntries.length ? detailModelEntries : getRowModelEntries(row)"),
"decision card should render model support and AI predicted max from the row before full detail/AI stream arrives",
cardSource.includes("detailModelEntries.length ? detailModelEntries : getRowModelEntries(row)") &&
cardSource.includes('aiForecast.status === "ready"'),
"decision card should render model support from the row; AI predicted max must wait for AI ready status",
);
}