修复业务测试:AI 预测最高温需等待 AI 就绪,不再回退行数据
This commit is contained in:
+3
-4
@@ -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",
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user