Skip to content
Talk to our solutions team

Refusals and Exit Codes

A refusal stops the command before anything is kept or sent, and names the eval, the file or the field at fault. The command exits with status 1.

StatusWhen
0Every eval passed, with or without warnings
1An eval failed; its summary line says why
1The eval files, a golden set or the report were refused; the message says where
2--store studio could not use the Studio or its key
RefusalFix
title is required, golden is required, scorers: at least oneGive the eval its required keys
scorers[i]: field and kind are requiredGive each scorer a field and a kind
fail_on "...": fail, any or noneUse one of the three values
a key the eval does not haveRemove it, or move it to the level it belongs to
"..." is not an eval's nameLowercase letters, digits, dots, dashes and underscores, from a letter or a digit
ref "...": an eval's ref is tests/<file>#<name>Name the eval by its file in the tests folder and its name
... has no eval "..." (it has ...)Use one of the names the file lists
... is not an eval file, a document whose only key is evals:Keep evals in a file of their own
run.call is required, run.concurrency ...: from 1 to 32Give the run: block a call, and a concurrency in range
RefusalFix
no golden set <name>: tests/evals/golden/<name>/golden.yamlAdd the set’s golden.yaml, or correct the eval’s golden:
golden set <name> is real ..., or is of no sourceScore against a golden set whose source is synthetic; evals on a customer’s own data stay in the product
golden.yaml names no cases file, no cases file ...Name the cases file in cases: and put it beside golden.yaml
... line N: not a JSON objectOne JSON object a line
... line N: a case's id is required, case ... is there twiceGive each case an id, unique in the set
RefusalFix
no eval in ... has a run: blockGive an eval a run: block, or send a harness’s report with kis test eval send
... has no run: blockThe named eval is run by a harness; send its report
... needs a judge: set KIS_EVAL_AI_URL ... and KIS_EVAL_AI_KEY, or needs embeddingsSet the model endpoint; see Judge and embedding models
... needs a classifier or ... needs a tokenizerScore these kinds in a harness and report them with kis test eval send
scorers[i] ...: ... (kinds: ...)Use a kind from the list the message gives
run.call: ...The call does not load as a test step; the message names the field
RefusalFix
... is not a talos.eval/v1 reportWrite JSON with "schema": "talos.eval/v1" and an evals list
evals[i]: the report gives ... twiceReport each eval once
evals[i].ref "...": an eval's ref is tests/<file>#<name>Use the eval’s ref
evals[i].checks is requiredGive every eval a checks list, empty when nothing was checked
evals[i].checks[j].case is required, and the same for field and differenceGive every check its case, field and difference
evals[i].checks[j].result "...": pass, warn or failUse one of the three results
evals[i].started_at "...": an RFC 3339 time in UTCWrite times such as 2026-10-21T06:00:00Z
its threshold on <metric> names a metric the report does not giveReport the metric, or change the eval’s threshold
golden set ... is realReport against a synthetic golden set
no tests folder at ...: name it with --testsRun from the product root, or pass --tests