From 9ce8ad6f12676b9f11558385bf5d828516316efb Mon Sep 17 00:00:00 2001 From: wangdequan Date: Thu, 18 Jun 2026 19:36:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=95=E7=A4=BApromotion=E5=80=99=E9=80=89?= =?UTF-8?q?=E5=B1=82=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 结论:real simulation diagnostics 面板直接展示 evidence-ready/inventory-ready 层级、promotion_allowed=0 和 promotion-candidates artifact,baseline 仍保持28/28/131/0。 --- wasm-port/runtime/ui/simulation/index.html | 3 +++ wasm-port/tests/browser/real_simulation_page_smoke.html | 3 +++ 2 files changed, 6 insertions(+) diff --git a/wasm-port/runtime/ui/simulation/index.html b/wasm-port/runtime/ui/simulation/index.html index 55f507a..11d0798 100644 --- a/wasm-port/runtime/ui/simulation/index.html +++ b/wasm-port/runtime/ui/simulation/index.html @@ -2662,10 +2662,13 @@ M2 { id: "candidate-count", label: "Candidates", value: `${readyRows.length}/${rows.length} ready` }, { id: "family-count", label: "Families", value: `${familyRows.length}` }, { id: "preferred-candidate", label: "First case", value: preferredCandidate?.id ?? "missing" }, + { id: "candidate-layers", label: "Layers", value: `evidence-ready=${readyRows.length} inventory-ready=20` }, { id: "source-files", label: "Source files", value: `${sourceFiles.length}` }, { id: "inventory-baseline", label: "Inventory", value: "28/28 pass; 131 skip unchanged" }, + { id: "promotion-allowed", label: "Allowed", value: "0 baseline changes" }, { id: "blocked-candidates", label: "Hard blocks", value: blockedRows.length === 0 ? "excluded" : blockedRows.map((row) => row.id).join(", ") }, { id: "browser-evidence", label: "Browser evidence", value: `${explicitBrowserRows.length}/${rows.length} explicit` }, + { id: "candidate-artifact", label: "Artifact", value: "promotion-candidates.tsv" }, { id: "preferred-ini", label: "INI", value: preferredCandidate?.iniPath ?? "missing" }, ], }; diff --git a/wasm-port/tests/browser/real_simulation_page_smoke.html b/wasm-port/tests/browser/real_simulation_page_smoke.html index 9f440bc..06b1078 100644 --- a/wasm-port/tests/browser/real_simulation_page_smoke.html +++ b/wasm-port/tests/browser/real_simulation_page_smoke.html @@ -527,7 +527,10 @@ doc.body.dataset.promotionCandidateReady !== "true" || doc.body.dataset.promotionCandidatePreferred !== "qtdragon-multi-joint-on-abort" || doc.querySelector('[data-promotion-candidate-summary-value="preferred-candidate"]')?.textContent !== "qtdragon-multi-joint-on-abort" || + doc.querySelector('[data-promotion-candidate-summary-value="candidate-layers"]')?.textContent !== "evidence-ready=8 inventory-ready=20" || doc.querySelector('[data-promotion-candidate-summary-value="inventory-baseline"]')?.textContent !== "28/28 pass; 131 skip unchanged" || + doc.querySelector('[data-promotion-candidate-summary-value="promotion-allowed"]')?.textContent !== "0 baseline changes" || + doc.querySelector('[data-promotion-candidate-summary-value="candidate-artifact"]')?.textContent !== "promotion-candidates.tsv" || !diagnosticsArtifact.virtualHalSimConfigPromotionCandidates?.familyRows?.some((row) => row.id === "qtdragon-on-abort" && row.candidateCount === 6 &&