Skip to content
evalvitalsPublic

About

Autonomous failure investigation, root-cause analysis, and validated interventions for LLMs, VLMs, and agents.

Topics

Resources

Code of conduct

Contributing

Stars

18 stars

Watchers

0 watching

Forks

Repository files navigation

EvalRX

See why your model fails — and verify what fixes it.

Demo report PyPI package

Paper Python versions Docs CI License: PolyForm Noncommercial 1.0.0

A model-health signal enters a loop that probes, explains, verifies, and repairs the model.

Quickstart · Examples · GitHub

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.

See a real run

A real EvalRX run: probing through repair on Gemma-4-E2B and MMAU

256 cases → 162 failures → 25 repaired, 0 broken.
A real 20-minute run, replayed in 81 seconds.

Browse the reports · Watch the full video

Run the demo

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-report

Replace 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 →

Use your own results

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-report

Use --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 →

What you get

  • 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.

How the full loop works

Probe, Explore, and Diagnose feed held-out Verify. Supported mechanisms reach Repair; only fixes that beat the baseline are accepted.

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

Go further

Project status

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.

License

PolyForm Noncommercial License 1.0.0. Third-party components remain subject to their respective licenses.

About

Autonomous failure investigation, root-cause analysis, and validated interventions for LLMs, VLMs, and agents.

Topics

Resources

Code of conduct

Contributing

Stars

18 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages