the short answer
Use Jev to evaluate explicit moderation dimensions independently, such as harassment, self-harm risk, sexual content or commercial spam, and use Score only where ordered severity levels are clearly defined. Keep exact blocklists and account rules deterministic. Calibrate every category by language and population, retain an appeal path, and avoid one opaque “safe” score that hides distinct harms.
- Semantic decision
- Judge whether content meets one or more explicit policy definitions and how severe the matched condition is.
- Likely primitive
- Separate Nouls for coexisting policy categories; Score for an ordered severity rubric.
- Relevant state
- the content, conversational context needed for meaning and the relevant policy definitions.
- Keep deterministic
- Code handles exact hashes/blocklists, age and account rules, rate limits, enforcement actions and appeals.
The Useful Jev Decision
Judge whether content meets one or more explicit policy definitions and how severe the matched condition is. Jev should receive only the state needed for that judgment: the content, conversational context needed for meaning and the relevant policy definitions. The application defines the possible answers before inference and consumes the typed result; Jev does not own the surrounding workflow.
A moderation service can route uncertain high-impact cases to specialists while automatically handling well-measured low-risk spam. This is a design pattern, not evidence that every implementation will perform well. Test the exact state, question, model version and action against representative outcomes.
Architecture: Evidence in, Judgment Out, Action in Code
The source record and projected state are not interchangeable. If decisive evidence never enters state, the model cannot recover it; if irrelevant or adversarial text is copied wholesale, it can move the result. Give the projection its own version and test it with the question. The state-design guide shows how to separate trusted fields, untrusted content and derived values.
What Remains in Code
Code handles exact hashes/blocklists, age and account rules, rate limits, enforcement actions and appeals. Exact checks should run before the model when they can narrow or reject candidates. After Jev returns, code applies thresholds, permissions, fallbacks and the final action. Store the raw distribution rather than only the selected label so later evaluation can distinguish a close decision from a concentrated one.
Version the Complete Decision Instrument
A final label alone is not enough to investigate a regression. The same label can come from a clear distribution or a near-tie, and it may have been produced by a different candidate set or projection. Keep the record append-only so a later threshold change can be replayed without rewriting history. The evaluator scorecard defines validity, robustness, calibration and utility checks for this complete instrument.
| Component | What to record |
|---|---|
| Evidence unit | The source record and projection used for: the content, conversational context needed for meaning and the relevant policy definitions. |
| Question contract | Judge whether content meets one or more explicit policy definitions and how severe the matched condition is. |
| Primitive and criteria | Separate Nouls for coexisting policy categories; Score for an ordered severity rubric. |
| Inference identity | Requested model, resolved model, provider, timestamp and request ID |
| Raw result | Selected answer, complete distribution, confidence where defined, latency and failure state |
| Application outcome | Threshold branch, review or fallback, final action and later ground truth |
How to Evaluate This Use Case
- Collect representative examples and define the observable outcome before tuning the question.
- Split broad quality into independently useful Choice, Score or Noul judgments.
- Pin the Jev model, question, criteria and state projection.
- Measure class-level errors, calibration, coverage, latency and cost against the simplest baseline.
- Add review or fallback behavior, then monitor drift and real downstream outcomes.
Run a Decision-Level Baseline Experiment
Compare the Jev design with the simplest credible existing method: deterministic rules, a keyword or embedding classifier, the current LLM prompt, or human-only handling. Hold the evidence unit and outcome definition constant, but allow each method to use its native interface. Include invalid responses, timeouts, retries and review work in the result instead of scoring only successful model calls.
The primary metric should reflect the cost of getting “Judge whether content meets one or more explicit policy definitions and how severe the matched condition is.” wrong. Report class or rubric errors by important slice, calibration where the output supports it, automation coverage at the proposed threshold, p50/p95 latency and total workflow cost. Use grouped or time-based splits when related records could leak across train and test. The benchmark methodology gives a reproducible protocol.
Main Failure Mode
Language, dialect and population shifts can create unequal error rates, while adversarial content may try to steer the model. Jev 1.13 can also read instructions literally, lose accuracy in irrelevant long state and be steered by adversarial content. Keep state narrow, define boundary cases and never treat model confidence as authorization.
FAQ
Is Jev a good fit for content moderation?
Use Jev to evaluate explicit moderation dimensions independently, such as harassment, self-harm risk, sexual content or commercial spam, and use Score only where ordered severity levels are clearly defined. Keep exact blocklists and account rules deterministic. Calibrate every category by language and population, retain an appeal path, and avoid one opaque “safe” score that hides distinct harms.
Which Jev primitive should I start with?
Separate Nouls for coexisting policy categories; Score for an ordered severity rubric. Start from what the answer means: Choice for one option, Score for ordered levels and Noul for one independent yes/no condition.
What should not be sent to Jev?
Do not send fields irrelevant to the decision. Code handles exact hashes/blocklists, age and account rules, rate limits, enforcement actions and appeals. Keep secrets and regulated data within the deployment's approved data-handling design.
How do I know whether the integration works?
Compare it with a deterministic or existing baseline on held-out outcomes. Report errors and coverage at the operating threshold, not only average accuracy or a demo result.
Sources
Checked against the sources below on September 22, 2026. Model versions, prices and limits change.
- TypeSafe AI docs: Example use cases
- TypeSafe AI docs: How to build with System One
- TypeSafe AI docs: Primitives
- TypeSafe AI docs: Confidence
- TypeSafe AI docs: Jev 1.13 jaggedness
- Community index: awesome-jev