Skip to content

jev-broadcast-lab

Public Jev lab centred on a chess match broadcast where Jev picks from legal moves, plus smaller judgment booths and a Fast Flag catalogue.

Projectprototype

Overview

Jev Broadcast Lab is an independent public playground built after the authors were accepted to TypeSafe's waitlist. Its flagship page is a chess match: chess.js owns legality and Jev only picks among a closed list of legal moves, never inventing moves or writing commentary. A row of smaller judgment booths reuses the same client for classification and matching exercises, and a separate Fast Flag catalogue sits outside the broadcast design.

The engineering goal was running Jev in public without exposing the key and keeping a hard line between judgment (Jev) and facts (code). The static site under web/ never holds the key; operators use a local Python server that attaches the key on same-origin /v1/systemone calls, and the public site goes through a Cloudflare Worker that holds the key, checks Origin and Sec-Fetch-Site, issues an HttpOnly session cookie and rate-limits to 400 calls per IP per minute. One shared client and heads-up display show model, latency and tokens, with Choice bars and Score or Noul meters. It states it is not a chess engine, chatbot or official TypeSafe product.

What the decision model decides

TypeQuestionAnswers
ChoiceWhich legal move from this list should be played?—
ChoiceBooth-specific classification or matching question(inferred)—

How it works

  1. chess.js computes legal moves and state
  2. Jev picks one move from the closed list
  3. Booths reuse the client for other Choice, Score or Noul tasks
  4. Requests go through a local server or Cloudflare Worker holding the key

Strengths

  • Key never in the browser
  • Rate-limited, origin-checked public proxy
  • Shared client with latency and token display

Caveats

  • Chess play strength not a goal
  • Independent, unofficial lab

Getting started

Visit https://4anti.github.io/jev-broadcast-lab/, or run server.py locally with TYPESAFE_API_KEY in .env.

At a glance

Type
Project
Status
prototype
Language
JavaScript, Python
Runtime
static site, local Python server, Cloudflare Worker
Has code
yes

Use cases and integrations

How curated lists describe it

Frequently asked questions

Can Jev make illegal chess moves here?

No, it only picks from the legal list chess.js provides.

How is the key protected?

It lives in a local server or a Cloudflare Worker, never in the browser.

Is this official?

No, it is independent work.

Related projects

  • 25-second Japanese IT-buzzword game that shows Jev's speed and cost: every typed term is classified live, with no LLM-generated text.

    ProjectprototypePython, JavaScript
  • Visual workbench (in Portuguese) for wiring Jev decision funnels as node graphs and watching them play a game in real time.

    ProjectprototypePython
  • Tic-tac-toe teaching project comparing Jev Choice, Score and Noul designs across three levels of state detail.

    ProjectresearchJavaScript
  • Japanese quiz demo where Jev guesses which of AWS, Azure or Google Cloud a debranded service name belongs to, showing its probabilities.

    DemoprototypeTypeScript
  • Streamlit Tetris demo where Jev picks one collision-checked placement ID and Python verifies cells before locking.

    AppprototypePython
  • Web lab where Jev plays 2048, showing each move's probability distribution, confidence, latency and token cost.

    Demoprototype