jevbooks

← All projects

s1-rs

AbdelStark/s1-rs

Typed System One decisions for Rust via derives and confidence gates.

Classification & Routing72%Runner-up: Infra / SDKs / IntegrationsTiered thresholds

What it is

s1-rs is a Rust workspace that turns fieldless enums and named structs into typed Choice, Score, and Noul questions for the TypeSafe System One API, returning compile-time-checked, confidence-gated answers. It targets Rust developers routing or classifying inputs.

How it uses Jev

Jev answers the typed questions declared by #[derive(Choice)], #[derive(Score)], and #[derive(Questions)] over a state value passed to S1::ask. Results are typed answers; Policy and NoulPolicy map a scalar (default: API confidence) onto Verdict::{Act, Review, Escalate}, which code matches on to route, review, or fall back.

Primitives:choicescorenoul

Technique worth stealing

Derive typed questions from enums/structs and gate answers with Policy thresholds so new variants break the match at compile time.

Try it

cargo run --example triage (uses FakeClient, no network)

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.79
  • Shows a System One patternyes0.69
  • Handles uncertaintyno0.05
  • Measuredno0.05
  • Runnableyes0.88
  • Worth recommendingno0.05
  • Model replicano0.12
  • Problem scopescore on a 0–2 scale1.21
  • About Jevyes0.95

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