categoryWhat kind of ticket is `ticket`?
Option probabilities
bug_report89%billing8%other2%feature_request1%A WORKING LAB FOR DEVELOPERS & AGENT BUILDERS
TypeSafe’s Jev turns messy input into typed judgments.
Your code keeps the thresholds, routing, and final say.
No signup. No visitor API key. Start with a saved example.
01 / THE WORKING STUDIO
Change the input. Inspect the judgment.
Move the boundary your code controls.
Routes support tickets by category, urgency, and frustration.
Try “Calm billing” to compare it with this angry outage. Then run Jev.
Live runs send this input and context to TypeSafe. Use sample data, not secrets.
Typed values, not generated prose. Your code uses these.
My production API has been down for 2 hours and I'm losing money! This is completely unacceptable. I need someone to fix this NOW or I want a full refund.Saved illustrative answers. No API request or live timing.
categoryWhat kind of ticket is `ticket`?
bug_report89%billing8%other2%feature_request1%urgencyDoes `ticket` convey urgency or time-sensitivity?
frustrationHow frustrated is the author of `ticket`?
Very angry, strong language, or threatening to leave
refund_requestedDoes `ticket` ask for money back?
Saved judgments, real policy. Edit the input to request fresh answers.
Same judgments. Your threshold. Your outcome.
category.confidence0.89 ≥ 0.70Answer confidence vs. your floor. Other rules still apply.
Try 0.90. The same 0.89 confidence now sends this ticket to a human. No new API call.
if (answers.category.confidence < 0.70) {
return { route: "human" };
}
if (answers.category.choice === "bug_report" && answers.urgency.noul > 0.8) {
return { route: "engineering-priority" };
}
return { route: `queue:${answers.category.choice}` };Jev returned bug_report with 89% confidence and 0.94 urgency. Your policy selects engineering-priority.
Illustrative policy, evaluated locally. No tickets routed, commands executed, content published, or payments made.
02 / FROM THE DEMO TO YOUR CODEBASE
The slider is the easy part. Choosing the right questions, setting a defensible floor, and knowing when to ask a human — that’s the work.
The ebook picks up exactly where this Studio stops.
Try a prepared decision.
Learn why the policy works.
Test a gate on your own data.
Building Software
with TypeSafe Jev (System One)
A practical field guide. Not another prompt collection.
THE COMPANION EBOOK · BY SKP / TENX LABS
Build the judgment layer.
Keep control of everything after it.
For developers, indie hackers, and agent builders who want to classify, route, score, and gate — without turning every branch into a chat completion.
Published by TenX Labs. Written by SKP. An independent guide to TypeSafe Jev.
Pro launch price: $49 USD. Ebook plus four source templates; not included in the $29 ebook.
01-support-triage.ts02-affiliate-publish-gate.ts03-tool-risk-gate.ts04-offer-picker.pyThese are starting points to adapt and test, not production safety guarantees. Checkout details are pending.
03 / LOOK INSIDE, BEFORE YOU BUY
“The answer tells you what. Confidence (or distance from 0.5 for Noul) tells you whether to act.”
“Low confidence is not failure; it is a first-class outcome: review, escalate, or ask a different question.”
From your first typed question to a policy you can test and refine.
The mental model, API, and primitives
Patterns, limitations, and improvement
Case studies, live lab, and getting started
KEEP THE MENTAL MODEL
Three primitives. Four patterns. A before-production checklist.
A free Markdown download adapted from the ebook. No email required.
A FEW STRAIGHT ANSWERS
Default examples use saved, illustrative answers and make no API call. Edit the text or select a non-default variant, then Run, to request live judgments through the Studio’s server. Live results are labeled. If a request fails, we show the error — never substitute saved answers for your edits. Moving the threshold only reruns local policy.
Not to use the Studio. Live runs use the host’s server-side TypeSafe key when configured. To integrate Jev into your own application, you’ll need your own TypeSafe access. The ebook does not include API credits or guarantee access to TypeSafe’s early-access service.
The $29 ebook includes explanations, code examples, exercises, case studies, and a record-your-own live lab. The four separate TypeScript/Python source templates belong to the $49 Pro pack. These are distinct offers; the Studio does not imply that the templates come with the ebook-only purchase.
No. These are teaching examples with illustrative thresholds. Jev’s judgments are probabilistic. Validate against your own labeled data, keep deterministic checks and side effects in code, and add human review where the stakes demand it. The Studio never executes the actions it displays.
TenX Labs publishes Smart If Studio and Smart If Statements. SKP is the author. This is an independent educational product about TypeSafe’s Jev, not an official TypeSafe product. Technical references are linked in the ebook.
KEEP THE IF. IMPROVE THE JUDGMENT.