Skip to content
AI & Agents
Command

/cs-eval-gate

Just the merge gate - paired statistical comparison of a candidate eval run against baseline, with a PASS / WARN / BLOCK exit code.

GuideBOOST
From plugin
claude-skills
29k157 skills121 agents157 commands2 MCP
Install
$ npx -y skills add alirezarezvani/claude-skills --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/cs-eval-gate

Context preview

What this command does when you run it.

Just the merge gate - paired statistical comparison of a candidate eval run against baseline, with a PASS / WARN / BLOCK exit code.

Command definition

cs-eval-gate.md
description: Just the merge gate - paired statistical comparison of a candidate eval run against baseline, with a PASS / WARN / BLOCK exit code.
argument-hint: "baseline.jsonl candidate.jsonl [quarantine.json]"

/cs-eval-gate

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

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

Ships withclaude-skills

398 production-ready Claude Code skills, plugins, and agent skills for 13 AI coding tools. The most comprehensive open-source library of Claude Code skills and agent plugins — also works with OpenAI Codex, Gemini CLI, Cursor, and 9 more coding agents.

Get the whole plugin

Other commands on claude-skills.