Skip to main content

Portable AuraOne Rubric Schema v1 validator and adapters.

Project description

rubric-spec

rubric-spec is the reference implementation for AuraOne Rubric Schema v1, a portable rubric format that can move between Inspect AI, PromptFoo, DeepEval, LangSmith, and EvalKit without losing criterion ids, anchors, weights, judge prompt contracts, or provenance.

Quickstart

python -m venv .venv
. .venv/bin/activate
pip install rubric-spec
rubric-spec validate examples/minimal_rubric.json
rubric-spec conformance

Adapter Migration Guides

  • Inspect AI: export scorer criteria as JSON, then run rubric-spec convert --from inspect_ai --to rubric_spec inspect.json.
  • PromptFoo: map assert/grading configs into criteria; from_spec preserves weights and anchors.
  • DeepEval: test case metrics become rubric criteria.
  • LangSmith: feedback schema entries become criteria.
  • EvalKit: JSONL rows round-trip into the canonical v1 object.

FAQ

Why a spec?

Rubrics are operational contracts. A named schema makes reviews portable, diffable, lintable, and conformance-testable.

Why not OpenEval?

This package focuses on the human-judgment layer: anchors, tie-break rules, reviewer-facing examples, judge prompt contracts, and provenance. It can be used alongside broader eval orchestration standards.

How is this different from OpenAI Evals YAML?

OpenAI Evals YAML configures a run. AuraOne Rubric Schema v1 defines the rubric artifact itself so it can be reused across runners.

What This Is Not

This is not a leaderboard, a benchmark claim, or a source of real customer rubrics. All bundled examples are synthetic.

Conformance

The conformance suite is defined in spec/conformance-tests.md and can be surfaced with rubric-spec conformance.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rubric_spec-0.1.1.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rubric_spec-0.1.1-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file rubric_spec-0.1.1.tar.gz.

File metadata

  • Download URL: rubric_spec-0.1.1.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for rubric_spec-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4e186104dfaf35d99841d36b840f491d9efddf92e41902c011c2ecf75956018b
MD5 cf0497def7ecd4fa6a75b29a12101562
BLAKE2b-256 c120ebf8d98bd51e5ddedaae7ccb63aa3b0198b21b2ab0cc9f5226979c07ae42

See more details on using hashes here.

File details

Details for the file rubric_spec-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: rubric_spec-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for rubric_spec-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a7890fe453cbb56311fb767e6ad1508442ae0a0cead82b6b3b96943e2b885084
MD5 99e4a4cac45e5fb5149763f9cef4264e
BLAKE2b-256 e06f2effa83fb58460e9edd345e99b7d1fd89686eba00634632ea11ca5702837

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page