jevbooks

← All projects

s1_ruby

innocentdiaz/s1_ruby

Ruby primitive for S1 measurement and collapse.

Infra / SDKs / Integrations70%Runner-up: Calibration & ResearchQuestionnaire

What it is

s1-ruby makes System One measurement and collapse native to Ruby. It lets Ruby code ask typed questions about data and get calibrated probabilities, for developers building code-in-the-loop AI features.

How it uses Jev

Jev is the default provider behind S1. Code asks typed questions (judge, choose, score) about a state; Jev returns calibrated probabilities. The result is used via collapse, predicates, and Enumerable methods to make decisions in Ruby code.

Primitives:choicescorenoul

Technique worth stealing

Make measurement and collapse native Ruby primitives, then integrate with Enumerable for filtering, grouping, sorting, and pattern matching.

Try it

gem "s1"; configure S1.provider = :typesafe; use S1::State.new(text).judge?("question")

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-centricno0.09
  • Shows a System One patternno0.38
  • Handles uncertaintyno0.05
  • Measuredno0.06
  • Runnableyes0.81
  • Worth recommendingno0.06
  • Model replicano0.26
  • Problem scopescore on a 0–2 scale0.85
  • About Jevyes0.60

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