live-verdict-disclosure · 570c05fe8dd2
Browse files123456751 unmodified lines5960616263646566676819 unmodified lines8889909192939495// The same public renderer consumes immutable Pages data or the local live endpoint.const byId = id => document.getElementById(id);let study;let renderedComparisons;const pct = n => n == null ? "—" : (100*n).toFixed(1)+"%";function drawTrend(groups) { const chart = byId("trend");51 unmodified lines}function showMatched(grids) { const section=byId("matched-section"), target=byId("matched-tables"); const revision=JSON.stringify(grids); if (renderedComparisons===revision) return; renderedComparisons=revision; const openPhases=new Set(Array.from(target.querySelectorAll("details[open]"),item=>item.dataset.phase)); target.replaceChildren(); section.hidden=grids.length===0; for (const grid of [...grids].reverse()) {19 unmodified lines } if (grid.frozen_changes?.length) { const details=document.createElement("details"), summary=document.createElement("summary"); details.dataset.phase=grid.phase; details.open=openPhases.has(grid.phase); summary.textContent="Every changed frozen-judge verdict on the starting solver"; const wrap=document.createElement("div"), table=document.createElement("table"); wrap.className="scroll";docs/explorer.js+7