From 6cbc56ac5a8791b5e0b7bbe25047a7e93fbe1846 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Sat, 23 May 2026 12:45:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=9A=E5=8A=A1=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=EF=BC=9AAI=20=E9=A2=84=E6=B5=8B=E6=9C=80=E9=AB=98?= =?UTF-8?q?=E6=B8=A9=E9=9C=80=E7=AD=89=E5=BE=85=20AI=20=E5=B0=B1=E7=BB=AA?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E5=86=8D=E5=9B=9E=E9=80=80=E8=A1=8C=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__tests__/aiPinnedHydrationPerformance.test.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/components/dashboard/scan-terminal/__tests__/aiPinnedHydrationPerformance.test.ts b/frontend/components/dashboard/scan-terminal/__tests__/aiPinnedHydrationPerformance.test.ts index 9914f5d7..da34c50f 100644 --- a/frontend/components/dashboard/scan-terminal/__tests__/aiPinnedHydrationPerformance.test.ts +++ b/frontend/components/dashboard/scan-terminal/__tests__/aiPinnedHydrationPerformance.test.ts @@ -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", ); }