Your first local gate
This is the fastest proof that EvalGate is useful. You will create a baseline, add a CI step, then watch the gate fail when you break something on purpose. No account, no API key, no dashboard.What you need
- A repo with at least one test or eval command that prints pass/fail.
- A terminal, and permission to push to GitHub.
Step 1 — Plan the setup
In your repo, run:Step 2 — Apply the setup
When the plan looks right, apply it:Step 3 — Accept a baseline
The applied baseline is pending — it has not run your suite yet. Run your suite once and accept the result as the baseline:Step 4 — Push and open a PR
Step 5 — Break something on purpose
Change a test or eval so it fails, then push:Troubleshooting
- The gate passed when it should have failed. You probably did not run
baseline updateafterinit --apply. The baseline is still pending. - The gate failed on the first run. Your suite was already failing when you
accepted the baseline. Fix the suite, then re-run
baseline update. - Nothing happened in CI. Confirm
.github/workflows/evalgate-gate.ymlwas committed and pushed to the default branch.