From d9b86219a5d9f3bae833c7da324beefb8bd28239 Mon Sep 17 00:00:00 2001 From: Jan Svabenik Date: Sat, 21 Mar 2026 20:56:11 +0100 Subject: [PATCH] feat: show decision summary in health tile --- web/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/app.js b/web/app.js index de88ec7..2c1e66d 100644 --- a/web/app.js +++ b/web/app.js @@ -840,7 +840,10 @@ function updateHeroMetrics() { healthFps.textContent = `${renderFps.toFixed(0)} fps`; if (healthRefinePlan) { const plan = refinementInfo.plan || {}; - healthRefinePlan.textContent = `${plan.selected?.length || 0}/${plan.budget || 0} · drop ${plan.dropped_by_snr || 0}/${plan.dropped_by_budget || 0}`; + const decisionSummary = refinementInfo.decision_summary || {}; + const recOn = decisionSummary.record_enabled ?? 0; + const decOn = decisionSummary.decode_enabled ?? 0; + healthRefinePlan.textContent = `${plan.selected?.length || 0}/${plan.budget || 0} · drop ${plan.dropped_by_snr || 0}/${plan.dropped_by_budget || 0} · rec ${recOn} dec ${decOn}`; } if (healthRefineWindows) { const stats = refinementInfo.window_stats || null;