展示promotion候选层级

结论:real simulation diagnostics 面板直接展示 evidence-ready/inventory-ready 层级、promotion_allowed=0 和 promotion-candidates artifact,baseline 仍保持28/28/131/0。
This commit is contained in:
2026-06-18 19:36:33 +08:00
parent 00af30c074
commit 9ce8ad6f12
2 changed files with 6 additions and 0 deletions

View File

@@ -2662,10 +2662,13 @@ M2
{ id: "candidate-count", label: "Candidates", value: `${readyRows.length}/${rows.length} ready` }, { id: "candidate-count", label: "Candidates", value: `${readyRows.length}/${rows.length} ready` },
{ id: "family-count", label: "Families", value: `${familyRows.length}` }, { id: "family-count", label: "Families", value: `${familyRows.length}` },
{ id: "preferred-candidate", label: "First case", value: preferredCandidate?.id ?? "missing" }, { 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: "source-files", label: "Source files", value: `${sourceFiles.length}` },
{ id: "inventory-baseline", label: "Inventory", value: "28/28 pass; 131 skip unchanged" }, { 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: "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: "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" }, { id: "preferred-ini", label: "INI", value: preferredCandidate?.iniPath ?? "missing" },
], ],
}; };

View File

@@ -527,7 +527,10 @@
doc.body.dataset.promotionCandidateReady !== "true" || doc.body.dataset.promotionCandidateReady !== "true" ||
doc.body.dataset.promotionCandidatePreferred !== "qtdragon-multi-joint-on-abort" || 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="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="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) => !diagnosticsArtifact.virtualHalSimConfigPromotionCandidates?.familyRows?.some((row) =>
row.id === "qtdragon-on-abort" && row.id === "qtdragon-on-abort" &&
row.candidateCount === 6 && row.candidateCount === 6 &&