소스 검색

feat: show decision summary in health tile

master
Jan Svabenik 7 시간 전
부모
커밋
d9b86219a5
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. +4
    -1
      web/app.js

+ 4
- 1
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;


불러오는 중...
취소
저장