model-gap live conformance probe
Code generated from older training cutoffs routinely emits verbose JavaScript polyfills where modern browsers already provide native HTML, CSS, and HTTP APIs (commandfor, CSS anchor positioning, :has(), Connection-Allowlist). This lab probes 25 native APIs live inside your browser against selectable training cutoffs from 2024-06 through 2026-06.
Hypothesis
Evaluating generated UI code against live browser runtime checks cleanly exposes how far static training cutoffs (
2024-06..2026-06) lag shipped native primitives likecommandfor, CSS anchor positioning, andConnection-Allowlist.
What confirms it: The live 25-API probe highlights multiple native features active in the visitor’s browser that older training cutoffs omit in favor of heavyweight JavaScript workarounds.
What falsifies or bounds it: Newly shipped platform primitives lack sufficient cross-engine Baseline coverage (Firefox/Safari), forcing polyfills regardless of model training cutoff.
What this lab tests
Code generation models trained on older snapshots omit recently shipped browser features (commandfor, CSS anchor positioning, :has(), OPFS, Connection-Allowlist) and emit heavyweight legacy polyfills instead. How large is that gap inside your current browser right now?
Model-Gap Live Harness (GitHub) probes 25 native platform features in real time—including a live Connection-Allowlist header test iframe—and scores your browser’s runtime support against selectable training cutoffs (2024-06, 2025-03, 2025-11, 2026-06), showing deprecated model snippets alongside native APIs.
Open questions
- Which newly shipped HTML/CSS APIs produce the biggest token-count reduction per screen when coding models switch away from legacy JS patterns?
- Can live browser probe exports feed directly into automated coding-agent context packs (like
modern-web-guidance)?
Iteration log
- — Deployed 25-API browser detector + live
/probe/allowlistheader test scored across 4 selectable model cutoffs (2024-06..2026-06). - — Refined top-to-bottom hypothesis flow with Baseline vs. non-Baseline KPI splits, added CSP-safe DOM syntax highlighting across diffs/wire/JSON views, routed static assets through the Worker for tightened CSP and
no-cacheheaders, and hardened 700px iframe layout.
Primitives tested: Feature Detection Matrix, Connection-Allowlist Header Probe, MDN / web-features Data, Structured Output Checks.
This is an active lab under /labs/ and stays off the main RSS feed until graduated into a full essay.