jevbooks

← All projects

typesafe-jev-examples

rajivkuriakose/typesafe-jev-examples

Worked Jev examples: ticket triage and re-ranking, runnable via OpenRouter.

What it is

Starter examples for developers trying TypeSafe's Jev System One model. Includes a ticket-triage example and a re-ranking example, each with sample data and a Makefile, runnable through OpenRouter without an early-access key.

How it uses Jev

In 01, one ticket is state; seven named questions (department Choice, business_impact Score, threatens_churn Noul, etc.) are sent in a single parallel request, and the typed answers drive a routing policy written in code. In 02, each (question, article) pair is its own state with one Noul; calls fan out concurrently and the returned probability is the sort key.

Primitives:choicescorenoul

Technique worth stealing

Pick the primitive by what the answer means, and keep policy thresholds in code rather than in the model.

Try it

git clone, make setup, cp .env.example .env with an OpenRouter key, then make test and make run.

View on GitHub

judged by Jevjev-1.13.0

Evidence

Each line is one question put to Jev about the README. ≥ 0.60 reads as yes, ≤ 0.40 as no; in between Jev is not making a call.

  • Jev-centricyes0.95
  • Shows a System One patternyes0.61
  • Handles uncertaintyno0.04
  • Measuredno0.22
  • Runnableyes0.62
  • Worth recommendingyes0.66
  • Model replicano0.03
  • Problem scopescore on a 0–2 scale1.02
  • About Jevyes0.99

Signals by Jev jev-1.13.0, card written by DeepSeek V4.1 Flash from the README on 20 Sept 2026.