Drop title/intro, freeze through last Friday midday, render dates in UTC
Browse files- Remove the visible title and challenge-explanation paragraph so the plot
embeds cleanly in a blog that already describes the challenge.
- Freeze data through Fri 2026-06-19 16:00 UTC (UNTIL cutoff), excluding the
late-Friday submissions that were only verified afterward — so the SOTA is
byteshark (491.8 TPS), the top verified result as of the snapshot.
- Render all dates (header, axis, hover card) in UTC so the frozen plot reads
identically regardless of the viewer's timezone.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files changed (3)
48 unmodified lines4950515248 unmodified linesnode build_snapshot.mjs```Override the source with `API_BASE=… node build_snapshot.mjs` if the dashboard ever moves.48 unmodified lines495051525354555657585960616248 unmodified linesnode build_snapshot.mjs```The freeze window is controlled by the `UNTIL` cutoff in `build_snapshot.mjs` (currently`2026-06-19T16:00:00Z` — last Friday midday UTC). It excludes the late-Friday submissions thatwere only verified afterward, so the plotted SOTA reflects what was verified as of the snapshot.Override per-run with an env var — a date (`UNTIL=2026-06-19`, treated as end-of-day UTC), a fullISO timestamp, or `UNTIL=` (empty) to include everything:```bashUNTIL=2026-06-19T16:00:00Z node build_snapshot.mjs```Override the source with `API_BASE=… node build_snapshot.mjs` if the dashboard ever moves.
19 unmodified lines202122232425109 unmodified lines1351361371381391404 unmodified lines14514614714814915019 unmodified lines// each replaces ~680 individual bucket fetches.const API_BASE = process.env.API_BASE || 'https://gemma-challenge-gemma-dashboard.hf.space';const BUCKET_WEB_URL = 'https://huggingface.co/buckets/gemma-challenge/gemma-main-bucket';const TPS_MIN = 0, TPS_MAX = 1_000_000;const FILENAME_RE = /^(\d{8})-(\d{6})(?:-\d{3})?_(.+?)(?:_(.+))?\.md$/;109 unmodified linesasync function main() {console.log(`Fetching snapshot from ${API_BASE} …`);const [resultsRes, agentsRes, verifyMap] = await Promise.all([getJson(`${API_BASE}/api/results`),getJson(`${API_BASE}/api/agents`),4 unmodified linesconst entries = (resultsRes.items || []).map(it => parseResultFile(it.filename, it.content)).filter(Boolean).map(e => ({ ...e, verification: verificationState(e.filename) }));const agents = {};19 unmodified lines202122232425262728293031323334109 unmodified lines1441451461471481491504 unmodified lines15515615715815916016119 unmodified lines// each replaces ~680 individual bucket fetches.const API_BASE = process.env.API_BASE || 'https://gemma-challenge-gemma-dashboard.hf.space';// Freeze window: include only submissions up to and including this UTC instant.// Set to last Friday midday for the current snapshot — this excludes the late// Friday-evening submissions that were only verified afterward, so the SOTA// reflects what was verified as of the snapshot (byteshark, 491.8 TPS).// Override with UNTIL=YYYY-MM-DD or a full ISO timestamp; UNTIL= (empty) keeps// everything. A date with no time is treated as end-of-day UTC.const UNTIL = process.env.UNTIL ?? '2026-06-19T16:00:00Z';const CUTOFF_MS = UNTIL ? Date.parse(/T/.test(UNTIL) ? UNTIL : `${UNTIL}T23:59:59.999Z`) : Infinity;const BUCKET_WEB_URL = 'https://huggingface.co/buckets/gemma-challenge/gemma-main-bucket';const TPS_MIN = 0, TPS_MAX = 1_000_000;const FILENAME_RE = /^(\d{8})-(\d{6})(?:-\d{3})?_(.+?)(?:_(.+))?\.md$/;109 unmodified linesasync function main() {console.log(`Fetching snapshot from ${API_BASE} …`);console.log(`Including submissions ${UNTIL ? `through ${UNTIL} (UTC)` : '(no cutoff)'}`);const [resultsRes, agentsRes, verifyMap] = await Promise.all([getJson(`${API_BASE}/api/results`),getJson(`${API_BASE}/api/agents`),4 unmodified linesconst entries = (resultsRes.items || []).map(it => parseResultFile(it.filename, it.content)).filter(Boolean).filter(e => (Date.parse(e.date) || 0) <= CUTOFF_MS).map(e => ({ ...e, verification: verificationState(e.filename) }));const agents = {};
README.md+10
build_snapshot.mjs+11
index.html