Skip to content

/cs-eval-gate

Slash Command Source

Answer one question about $ARGUMENTS: is the candidate measurably worse than the baseline?

python ${CLAUDE_PLUGIN_ROOT}/skills/agent-regression-evals/scripts/regression_gate.py \
  --baseline <baseline.jsonl> --candidate <candidate.jsonl> [--quarantine <quarantine.json>]

What blocks (exit 4)

  • Upper end of the 95% CI on the mean per-case delta below zero, or one-sided McNemar p < 0.05.
  • A critical case that passed every baseline trial and failed any candidate trial.
  • A baseline case missing from the candidate run.
  • A quarantine entry without owner or expiry, or one covering a critical case.

What warns (exit 2)

  • A drop larger than --tolerance (default 0.02) that the sample cannot confirm. Report the number of cases the gate says would be needed to detect it.
  • Mean cost per case up more than --max-cost-increase (default 20%).

Report

Verdict first, then the delta and CI, then every BLOCK and WARN line verbatim, then the largest per-case drops. On WARN, state the decision the human must make; do not make it for them.