yoriai
When several AI judges agree, is that several opinions or one? yoriai measures how many independent judgements a panel of AI judges holds (yoriai-measure-v2), offline, with the same digits in every language.
pip install yoriai
import yoriai
answer = yoriai.measure({"votes": {
"judge-a": {"q1": "supported", "q2": "contradicted", "q3": "supported"},
"judge-b": {"q1": "supported", "q2": "contradicted", "q3": "not_supported"},
"judge-c": {"q1": "supported", "q2": "supported", "q3": "supported"},
}})
print(answer["effective_voters"], answer["reading"])
With the right answers ("gold"), the answer also gives each judge's accuracy, the majority's, the error correlation between judges, Kish's effective number of judges, and the questions every judge got wrong together. With how people answered the same questions ("reference"), it says how many independent people the judges are worth. SPEC.md fixes every number.
From the command line, with one judgement per row (voter,question,label):
yoriai measure judgements.csv --gold gold.csv
Nothing leaves your machine unless you ask
yoriai.measure(...) runs the reference implementation in the package. yoriai.measure(..., receipt=True) and yoriai measure ... --receipt send the input to https://yoriai-ai.com, which measures it with the same code, records salted hashes of the input and the answer in a public append-only log (yoriai-log-v1, a Merkle tree like Certificate Transparency, its heads timestamped in Bitcoin), and returns a signed receipt. The package then checks the receipt itself: the signature against the log key it pins, the inclusion proof, the input and answer the receipt commits to, and the answer computed again. Anyone holding the receipt can check it later with yoriai verify-receipt.
Check the package, not us
yoriai provenance # the commit the files come from; every SHA-256 checked
yoriai selftest # the repository's own conformance checkers: 111 measurement, 424 log and 72 witness vectors
The files under yoriai/_repo are the repository's own, byte for byte: the reference implementation, the conformance vectors and their checkers, the pinned log key and attestor addresses, and the three specifications. The package adds only yoriai/__init__.py and yoriai/__main__.py.
Standard library only, Python 3.9 or later. Apache-2.0. By YORIAI (Yakumo Co., Ltd.). The JavaScript twin is npm install yoriai.
Metadata
Release files for yoriai 0.16.4
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 |
|---|---|---|---|---|
| yoriai-0.16.4.tar.gz | 310.7 kB | With provenance | Details for yoriai-0.16.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yoriai-0.16.4-py3-none-any.whl | Python 3 | none | any | Details for yoriai-0.16.4-py3-none-any.whl |
Total release size: 659.7 kB
Release files / yoriai-0.16.4.tar.gz
| Download URL | yoriai-0.16.4.tar.gz |
|---|---|
| Size | 310.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
646f5db2e5723a92d839c565f6aed23ba6cf49bc480bb8e0fbc27a2cd78b40d5
|
|
BLAKE2b-256 checksum How to use checksums |
0ed114cf14504ba3794537c5bbbbf2f8e7f73a0b16274096468dc366be4fafa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logRelease files / yoriai-0.16.4-py3-none-any.whl
| Download URL | yoriai-0.16.4-py3-none-any.whl |
|---|---|
| Size | 349.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19c8d7e1c8c7c8d5e2d07ad09de6ca3f285eaf26aba5f616f8daf240f0eda39f
|
|
BLAKE2b-256 checksum How to use checksums |
68cfd97b1a24044eef9624b691899dba41182d839c472613a3a110555f13b3cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logSecurity for yoriai 0.16.4
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for yoriai-0.16.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logA 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.