Packs / evals-public
regression-gate-before-ship
Block a model swap when the candidate scores worse than the current model on the same eval set (max drop, or any newly failing case).
Install
logicpacks pack use evals-public/regression-gate-before-shipget_pack evals-public/regression-gate-before-shipThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
python-stdlib - Checks: 2 in
outcome/checks.yaml - Code:
gate.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
A ship/block decision for a candidate model based on the same eval set as the current model.
Steps
- Run eval-on-fixture for the current model with --report base.json.
- Same for the candidate with --report candidate.json.
python3 code/gate.py base.json candidate.json --max-drop 0.02 --no-new-fails.- SHIP: swap the model; BLOCK: read the newly failed cases.
Edge cases
- Small case sets are noisy: one case is 25% of a 4-case set; use 50+ cases for real decisions.
Don'ts
- Don't override a BLOCK without reading the failed cases.