*Continent · 2 territory*
## Summary
A live evaluation run is gated on four settings — EVAL_MODEL_API_KEY, EVAL_MODEL_BASE_URL, EVAL_MODEL and the spend cap — and the dry run is the documented way to see that gate and the case count before any call is made.
## Explanation
- A live evaluation run refuses to start unless EVAL_MODEL_API_KEY, EVAL_MODEL_BASE_URL, EVAL_MODEL and the spend cap are set, per the changelog entry in Neuroverseos-governance:doc:CHANGELOG.md.
- A live run refuses to start without `EVAL_MODEL_API_KEY`, `EVAL_MODEL_BASE_URL`, `EVAL_MODEL` and the cap.
- In README.md, npm run eval:live -- --dry-run says what would run, makes no call, and says whether a live run could start.
- npm run eval:live -- --dry-run says what would run, makes no call, and says whether a live run could start.
- In README.md, npm run eval:live makes a live run and refuses unless every variable below is set and the model is priced.
- npm run eval:live makes a live run and refuses unless every variable below is set and the model is priced.
- Running `npm run eval:live -- --dry-run` prints "dry run: no call made … live run would be refused: no EVAL_MODEL_API_KEY in the environment: a live run cannot start".
- `npm run eval:live -- --dry-run` prints "dry run: no call made … live run would be refused: no EVAL_MODEL_API_KEY in the environment: a live run cannot start".
- Running `npm run eval:live` prints "refused: no EVAL_MODEL_API_KEY in the environment: a live run cannot start" and exits 2 with no call.
- `npm run eval:live` prints "refused: no EVAL_MODEL_API_KEY in the environment: a live run cannot start" and exits 2 with no call.
- The dry run is to be run first, since it says whether the run could start and how many cases it would run.
- `npm run eval:live -- --dry-run` is to be run first, since it says whether the run could start and how many cases it would run.
## Threads
- The dry run that makes no call and reports whether a live run could start
- npm run eval:live -- --dry-run says what would run, makes no call, and says whether a live run could start.
- `npm run eval:live -- --dry-run` prints "dry run: no call made … live run would be refused: no EVAL_MODEL_API_KEY in the environment: a live run cannot start".
- The live command's refusal and exit 2 when EVAL_MODEL_API_KEY is absent
- `npm run eval:live` prints "refused: no EVAL_MODEL_API_KEY in the environment: a live run cannot start" and exits 2 with no call.
- Running the dry run first to learn the gate and the case count
- `npm run eval:live -- --dry-run` is to be run first, since it says whether the run could start and how many cases it would run.
## What's still open
EVAL_MODEL_API_KEY is absent from the environment, so the live run is refused and no call is made.
- `npm run eval:live -- --dry-run` prints "dry run: no call made … live run would be refused: no EVAL_MODEL_API_KEY in the environment: a live run cannot start".
- `npm run eval:live` prints "refused: no EVAL_MODEL_API_KEY in the environment: a live run cannot start" and exits 2 with no call.
## Consultant
**Where it shows up** — The missing EVAL_MODEL_API_KEY keeps coming up: the dry run reports the live run would be refused for it, and the live command prints the same refusal and exits 2 with no call.
**A way forward** — Keep running the dry run first, and note the case count it reports next to the refusal line, so the gate and the size of the run sit together before any call.
## Ideas
- Run the dry run before a live evaluation so the start gate and the case count are known before any call is made.
## Territories
- [[Bevia/World/Territories/Live run start gate and the dry-run refusal|Live run start gate and the dry-run refusal]]
- [[Bevia/World/Territories/Dry run and live run start gate in README|Dry run and live run start gate in README]]