Skip to main content

eval-harness

A Python CLI that evaluates LLM outputs from production logs against a dual-dimension rubric (faithfulness + task completion).

Install

pip install -e ".[dev]"

Quickstart

export OPENRIXER_API_KEY=sk-or-...
eval-harness run path/to/logs.jsonl --judge meta-llama/llama-3.1-8b-instruct:free

Input JSONL schema:

{"input": "user prompt", "output": "model response", "reference": "optional ground truth"}

Commands

  • eval-harness run <file> — ingest, evaluate, and report
  • eval-harness judges — list free judge models (cached in ~/.eval-harness/judges.json)
  • eval-harness report --run-id UUID — show a stored run
  • eval-harness export --run-id UUID --format json|csv --output-file PATH
  • eval-harness cache [--stats] [--clear]

Exit codes: 0 all pass, 1 any failures, 2 evaluator error.

CI/CD example

- run: pip install eval-harness
- run: OPENRIXER_API_KEY=${{ secrets.OPENRIXER_API_KEY }} eval-harness run eval/cases.jsonl --pass-threshold 0.7

Development

pip install -e ".[dev]"
ruff check src tests && ruff format --check src tests
pytest tests/ -v --cov=src

Metadata

Release files for evalguide 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for evalguide 0.1.0
File Size Uploaded Provenance Actions
evalguide-0.1.0.tar.gz 28.6 kB Without provenance Details for evalguide-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for evalguide 0.1.0
File Interpreter ABI Platform Actions
evalguide-0.1.0-py3-none-any.whl Python 3 none any Details for evalguide-0.1.0-py3-none-any.whl

Total release size: 50.3 kB

Release files / evalguide-0.1.0.tar.gz

Download URL evalguide-0.1.0.tar.gz
Size 28.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5397dfae2b8f11fcd776e8f0e008258030a6f2a5a3d1c81989e8456fc11479d4
BLAKE2b-256 checksum
How to use checksums
4d3d0e22ffd95f06f04b699b2002fbffd4350fed6562663a7d5c3a67baf656a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / evalguide-0.1.0-py3-none-any.whl

Download URL evalguide-0.1.0-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
693c8dffb5afaa304c4d0554e7b5a7a68b0e28276ec805d5c424211615859bc5
BLAKE2b-256 checksum
How to use checksums
66d027b5eba0c45b51ead3614b3c25b4e4460f784c571613d0ee5d29c159b32e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for evalguide 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page