feat: add isolated historical replay calibration
This commit is contained in:
@@ -79,6 +79,12 @@
|
||||
byId("perf-cohorts").textContent = formatNumber(data.calibration?.length || 0);
|
||||
if (outcomes) byId("performance-note").textContent = `Measured on ${outcomes} matured predictions. Results remain descriptive until the sample is large enough for stable calibration.`;
|
||||
|
||||
const replay = data.replay;
|
||||
byId("replay-status").textContent = replay ? replay.status : "Not started";
|
||||
byId("replay-articles").textContent = replay ? formatNumber(replay.processed_articles || 0) : "—";
|
||||
byId("replay-evaluations").textContent = replay ? formatNumber(replay.evaluations || 0) : "—";
|
||||
byId("replay-watermark").textContent = replay?.watermark_at ? formatRelative(replay.watermark_at) : "—";
|
||||
|
||||
byId("runtime-queue").textContent = `${formatNumber(pendingHistorical, true)} pending`;
|
||||
byId("runtime-coordinator").textContent = pendingHistorical ? "Processing" : "Watching";
|
||||
if (data.account) {
|
||||
|
||||
@@ -128,6 +128,16 @@
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
<section class="panel" aria-label="Historical replay">
|
||||
<div class="section-head"><div><span class="section-index">06</span><h3>Historical replay</h3></div><span class="mode-pill">Isolated from execution</span></div>
|
||||
<div class="performance-facts">
|
||||
<div><span>Run state</span><strong id="replay-status">Starting…</strong></div>
|
||||
<div><span>Articles replayed</span><strong id="replay-articles">—</strong></div>
|
||||
<div><span>Walk-forward evaluations</span><strong id="replay-evaluations">—</strong></div>
|
||||
<div><span>Watermark</span><strong id="replay-watermark">—</strong></div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<div id="toast"><span class="toast-dot"></span><span id="toast-msg"></span></div>
|
||||
|
||||
Reference in New Issue
Block a user