Skip to content

Beatjev

A Cloudflare Worker that races you against Jev over 25 spam-classification rounds: a countdown reveals a message, your tap and Jev's Noul question fire on the same tick, and the results screen compares speed and accuracy.

Stars
0
Language
JavaScript
Published by
Community
Author
lambertsj
Last verified
Oct 2026

About this project

A human vs. TypeSafe's Jev in a 25-round spam-or-not reaction race. Each round has a 3-2-1 countdown. When it hits zero, the message appears, your timer starts, and the page asks Jev the same question, all on the same tick. After 25 rounds, a results screen compares speed and accuracy and gives you a share link for X and a result image.

Quoted from the project's README. Read the full README.

Highlights

  • One Noul question asks whether a message is spam, a scam or deceptive marketing; isSpam is probability >= 0.5, and confidence is |p - 0.5| x 2.
  • The key stays server-side: src/worker.js handles POST /api/classify through @typesafe-ai/sdk, and public/ is plain static HTML, CSS and JS with no build step.
  • Fairness is deliberate: order shuffles per game, your tap is timed on pointerdown, and the verdict stays hidden until you pick.
  • Without a key the Worker answers from a keyword MOCK with a fake delay and the page shows a MOCK badge, which the README is explicit is not Jev.

Watch out

The endpoint is public and spends your key, so it deliberately refuses to be a general classifier: text must be one of the 25 messages in public/messages.js, and anything else is rejected. That is the right default, but it does mean the Worker is an open endpoint on your account if you deploy it. The timing is not symmetric in what it measures: latencyMs is taken in the Worker around client.systemOne() only, so it is Jev's decision time plus the edge-to-TypeSafe hop and excludes your own trip to the Worker. Timeouts flatter the model too: with a 3 s limit and no retries, a timeout returns 504, the round reads as Jev not responding in time, counts as wrong for Jev, and is excluded from its average. Confidence is arithmetic, not a model statistic: a Noul answer carries only a probability, so the reported confidence is |probability - 0.5| x 2. Deployed with wrangler, you need wrangler secret put TYPESAFE_API_KEY before the first deploy. Copy reviewed against the repository README on 2026-10-04, not from running it.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

30GitHub stars
Side-by-side game harness where Laya running locally and Jev over API answer the same typed questions for snake, kombat, runner, flappy, tetris, and human-versus-model matches.
Jev Demos & Experiments#community#jevbest#catalog-import
21GitHub stars
Browser top-down driving sim that sends sensor JSON to Jev every 200ms with four typed driving questions in one call, then applies confidence gating and reflex rules to steer.
Jev Demos & Experiments#community#jevbest#catalog-import
12GitHub stars
Chrome extension that labels each X post with Substance, Humor, Chit-chat, Promo or Junk plus AI-written and off-topic flags, collapsing hidden posts to one line.
Jev Demos & Experiments#community#jevbest#catalog-import
11GitHub stars
Chrome extension that labels each X post with intent plus rage-bait, synthetic, and undisclosed-ad signals from Jev, with threshold-only rendering and local caching.
Jev Demos & Experiments#community#jevbest#catalog-import
3GitHub stars
Browser agent where Jev makes every navigation decision and agent-browser performs clicks and typing, stopping when the named goal page is reached or blocked.
Jev Demos & Experiments#community#jevbest#catalog-import
Local three-panel playground for trying TypeSafe judgments, with 110 editable examples across 22 categories including A/B comparisons, running one request per Run without bulk automation.
Jev Demos & Experiments#community#jevbest#catalog-import

From the Jev guides

Original write-ups on what this entry is for.

A game tick is a state plus a legal action list. How Clash Royale, Minecraft, and the earlier Mario, Pokémon, StarCraft, and drone loops ask Jev one step at a time.
Jev Demos & Experiments#gaming#agents#control
Read article
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai