EvalRX turns case-level evaluation results into verified failure diagnoses. It finds candidate patterns, tests hypotheses on held-out data, and can validate repairs against the unchanged model.
256 cases → 162 failures → 25 repaired, 0 broken.
A real 20-minute run, replayed in 81 seconds.
You need Python 3.11+ and an installed, authenticated coding-agent CLI. No subject model, model weights, or GPU are needed.
pip install evalrx
evalrx demo --backend codex --serve-reportReplace codex with claude_code, opencode, gemini_cli, kimi_cli, or antigravity if needed. The CLI provider may charge for model usage.
The demo analyzes 120 real VLM evaluation rows, reserves 40% for held-out confirmation, and writes evalrx_demo_output/report.html. How to read the report →
Provide JSON or JSONL with one flat record per evaluated case. Include an outcome and any signals you want to investigate; field names are flexible.
{"case_id":"case-001","item_id":"item-001","prediction":"yes","expected":"no","outcome":"FAIL","category":"negation"}
{"case_id":"case-002","item_id":"item-002","prediction":"42","expected":"42","outcome":"PASS","category":"arithmetic"}evalrx explore ./results.jsonl \
--backend codex \
--outcome-col outcome \
--group-col item_id \
--holdout-frac 0.4 \
--holdout-confirm \
--serve-reportUse --group-col when several rows come from the same underlying item; omit it when rows are independent. Add -q "Your analysis question" to focus the investigation. Input guide →
- Candidate failure patterns found by agent-written analysis code.
- Falsifiable hypotheses, not just narrative explanations.
- Held-out verdicts from rows the analysis never used.
- An auditable report with records, figures, tables, and the code that ran.
A proposed hypothesis is not automatically a verified finding. An inconclusive result is valid and preferable to an unsupported repair.
Probe → Explore → Verify → Repair → Re-test. A rejected hypothesis returns to probing. A repair is accepted only when it beats the unchanged baseline on held-out cases; you control the maximum repair level.
Full-loop guide · Intervention guide
- Analyzer library and Python API examples
- Benchmark models and datasets
- CLI reference and installation extras
- More examples and roadmap
EvalRX is an early-stage research toolkit. Interfaces may change, and some advanced examples require model weights, a GPU, or an external coding-agent CLI. Bug reports, reproducible failure cases, and contributions are welcome.
PolyForm Noncommercial License 1.0.0. Third-party components remain subject to their respective licenses.
