ruling: typed decisions, not generated text, from open models
Documentation: ruling docs
ruling turns any open chat model into a decision engine like TypeSafe's Jev. You send a state (text, JSON or images) and typed questions; you get back a probability for every option you declared. Nothing is generated, so there is nothing to parse and the model cannot invent an answer you did not list. It runs on your own machine, serves TypeSafe's API so their client works against it unchanged, and learns from the outcomes of the decisions it serves.
On the 256 public judgments that carry Jev's own answers, a 19 GB open model with no training gets 231 right to Jev's 238, not a significant difference (exact McNemar, p = 0.21); the results also say where Jev is ahead. Not affiliated with TypeSafe AI.
Documentation: docs/
Please go to the ruling docs. The usual starting points: Getting started, Choosing models, Fine-tuning and the Reference for every setting and API route.
Installation
You need an Apple Silicon Mac and Python 3.12+.
pip install ruling # or: uv tool install ruling; add [vision] to ask about images
ruling serve # downloads a 2.3 GB model on first start, then serves http://127.0.0.1:8010
Open http://127.0.0.1:8010/ for the playground. To work on ruling itself,
clone the repository and uv sync; see
Development. On NVIDIA, see
vLLM. Before relying on an answer, read the
limits.
Reading more
- Results and the full measurements, with the command behind every number.
- How it works: one prefix, many suffixes, and reading logits instead of sampling.
- Background: what Jev is, the other open recreations, and the papers behind the calibration.
License
MIT. ruling is an independent project with no connection to TypeSafe AI; "Jev"
and "System One" are their names, used here to say what this reproduces. The
authored144 and perturbations108 datasets and the WANLI row selection are
converted from TheoLeeCJ/openjev under MIT, with their copyright notice in
THIRD_PARTY.md. WANLI is CC-BY-4.0 and SST-5 keeps its own
terms; neither is committed here. Model weights keep their own licenses.
Metadata
Release files for ruling 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ruling-0.3.0.tar.gz | 97.0 kB | Without provenance | Details for ruling-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ruling-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for ruling-0.3.0-py3-none-any.whl |
Total release size: 212.3 kB
Release files / ruling-0.3.0.tar.gz
| Download URL | ruling-0.3.0.tar.gz |
|---|---|
| Size | 97.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a319e46142daeef80eeb61148171f6107401a2ef1691523d7248a177e64666ff
|
|
BLAKE2b-256 checksum How to use checksums |
44bed0555df637ba6322d7cbb27cb3afaabc5ab9180342f803c946414749303a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / ruling-0.3.0-py3-none-any.whl
| Download URL | ruling-0.3.0-py3-none-any.whl |
|---|---|
| Size | 115.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d212db9d2bae63fc4194e39bbfca1055be74f1d2e2b9b23be7dfb68247ece9a
|
|
BLAKE2b-256 checksum How to use checksums |
9b93af1cdaea6c0fdbb4189ba9a13119d070990008da3ca58e9d5a176719da36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for ruling 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.