mix exagent.eval (ExAgent v3.0.0)

View Source

Discovers evals/*/_eval.exs. Replay is the default. Use --record or --record-missing explicitly to write cassettes. See the testing guide.

Stability — Stable.

Saved reports and JSON output omit output previews and evaluator reasons. Text reports omit reasons and show portable diagnostics. Pass --include-content to include report content. Cassette redaction is separate. Replay matching errors identify the case and attempt as fixture_miss or fixture_ambiguous. The terminal prints the corresponding recording command. --format json|junit writes the report to stdout and sends host startup, task diagnostics and console logs to stderr. Pass --output PATH to write the selected format to a file. --save PATH writes a separate JSON baseline.

Exit codes:

  • 0 when every enabled gate passes.
  • 1 when the pass rate is below --min-pass-rate, pass^k at the largest shared k is below --min-pass-all, or --baseline finds a regressed verdict or a significant regression on comparable cases. --no-fail-on-regression disables the baseline gate.
  • 2 when the suite has no emitted grades or target errors, an enabled baseline gate has no comparable case pairs with evidence, the configuration is invalid, a cassette is missing, unreadable or unwritten, a replay misses (including nested reviews), or the replay guard denies a live model request.

The pass-rate threshold defaults to 1.0 when neither threshold is supplied. Pass both switches to require both thresholds. With CI=true, candidate simulated suites and the --min-pass-all gate require replay.