Explorar el Código

feat: show decision summary in health tile

master
Jan Svabenik hace 5 horas
padre
commit
d9b86219a5
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. +4
    -1
      web/app.js

+ 4
- 1
web/app.js Ver fichero

@@ -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;


Cargando…
Cancelar
Guardar