Skip to content

Playground: paste a payload, watch it get measured - #19

Merged
eliahilse merged 4 commits into
mainfrom
playground
Aug 26, 2026
Merged

Playground: paste a payload, watch it get measured#19
eliahilse merged 4 commits into
mainfrom
playground

Conversation

@eliahilse

Copy link
Copy Markdown
Owner

A /playground route on hyperfly.dev. Paste any JSON response — or an array of responses from the same route — and everything runs client-side: schema inference, profile training, encoding with the real codec (fflate deflate hooks), and per-message numbers for JSON / JSON+gzip6 / Hyperfly / Hyperfly Profiled, methodology-matched to the benchmark section (full envelope, minified JSON, gzip 6).

The corpus mode is the showpiece: it trains a profile in the browser and shows what it learned — dictionaries, id grammars (evt_{base36×6}_{base16×8}), derived columns — with the codec artifact priced honestly (full serialized artifact, break-even from the artifact delta, everything labeled in-sample).

Honesty guardrails from two codex review rounds: visible in-sample disclosure beside the bars, inferred schema shown verbatim with assumption tracking, bare integers beyond ±(2^53−1) rejected instead of silently rounded, JS parse semantics disclosed, strict single-stream inflate probing, explicit traffic/one-response selector, depth guard, and a round-trip verification on every measurement. Nothing is uploaded — stated on the page.

Also makes the landing's "benchmark playground — soon" CTA real and keeps the playground link visible in mobile nav.

🤖 Generated with Claude Code

…even, unsafe-integer rejection, explicit traffic selector, strict inflate probe, trained-nothing state, live CTA and mobile nav
…cellation, selector survives errors, training-state honesty, wrapper depth, float-semantics footnote
@eliahilse
eliahilse merged commit d557f82 into main Aug 26, 2026
7 checks passed
@eliahilse
eliahilse deleted the playground branch August 26, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant