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
evalguide-0.1.0.tar.gz 28.6 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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