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 reporteval-harness judges— list free judge models (cached in~/.eval-harness/judges.json)eval-harness report --run-id UUID— show a stored runeval-harness export --run-id UUID --format json|csv --output-file PATHeval-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 eval-harness-oni 0.1.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 | |
|---|---|---|---|
| eval_harness_oni-0.1.0.tar.gz | 28.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eval_harness_oni-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.4 kB
Release files / eval_harness_oni-0.1.0.tar.gz
| Download URL | eval_harness_oni-0.1.0.tar.gz |
|---|---|
| Size | 28.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
593a332b2ed351c171ba2fed2b5ccf3214b53ba5efc672af3d1cd180557b0296
|
|
BLAKE2b-256 checksum How to use checksums |
83f2a1bdc317b33b9bb552991ed1fd153320336a447c06607c60d5eb245b39e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / eval_harness_oni-0.1.0-py3-none-any.whl
| Download URL | eval_harness_oni-0.1.0-py3-none-any.whl |
|---|---|
| Size | 21.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
234ddf6204ec317f6758ed0b9930f8a66fa07b3ef1e4417092046bf41092ddae
|
|
BLAKE2b-256 checksum How to use checksums |
677fabfbc88809e9803a942f0e1314729481356cc6f5da77c82862296dee2602
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|