What it is
A Ruby gem that talks to decision models such as Typesafe Jev, so Ruby applications can ask typed questions about a state and get calibrated probabilities instead of generated text.
How it uses Jev
The client sends a state hash and typed questions (noul, choice, score) to Jev via OpenRouter or Typesafe. Answers come back as typed objects with probabilities, confidence, and usage; the code reads response["id"].noul, .score, or .choice.
Primitives:choicescorenoul
Technique worth stealing
Provider abstraction with model aliases and a retry policy, so one Client works across OpenRouter and Typesafe.
Try it
gem "ruby_decision_model"; set OPENROUTER_API_KEY or TYPESAFE_API_KEY; call client.ask.
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-centricno0.19
- Shows a System One patternunclear0.59
- Handles uncertaintyno0.05
- Measuredno0.04
- Runnableyes0.98
- Worth recommendingno0.23
- Model replicano0.04
- Problem scopescore on a 0–2 scale1.02
- About Jevyes0.98
Signals by Jev jev-1.13.0, card written by DeepSeek V4.1 Flash from the README on 20 Sept 2026.