Skip to content
Talk to our solutions team

CLI and Report Format

Two commands produce eval runs. kis test eval run runs evals that have a run: block. kis test eval send keeps the report a harness wrote. Both judge each eval by its eval file and keep the result as an eval run, in the stores --store names.

Runs evals with a run: block: the call is made for each case of the eval’s golden set, under each provider profile, and the scorers check the answers.

Terminal window
kis test eval run # every eval with a run: block
kis test eval run tests/evals/support.yaml#triage # one eval, by its ref
kis test eval run --profile azure-prod # under one provider profile only
kis test eval run --store duckdb,studio # and send the runs to the Studio
kis test eval run --report triage.json # and write the talos.eval/v1 report
kis test eval run --dry-run # print the records; keep and send nothing
FlagDefaultDescription
[ref...]every eval with run:tests/<file>#<name>, <file> relative to the tests folder
--tests, -ttests under the product rootThe tests folder
--env, -efound in the tests folderEnvironment file
--name, -nEnvironment name in a multi-environment file
--varsA variable, key=value. Repeatable
--secretA secret, name=value, masked in the run’s text. Repeatable
--profilethe eval’s run.profilesRun under this provider profile instead. Repeatable
--reportAlso write what was found as a talos.eval/v1 report, masked
--storeduckdbWhere the run is kept: duckdb[=<file>], jsonl[=<dir>], studio, comma-separated, or none
--db.kis/test/results.dbThe DuckDB file
--keep-runs$KIS_TEST_KEEP_RUNS, else 10How many runs the DuckDB file keeps, the newest; 0 keeps every run
--studio-key$KIS_STUDIO_KEY, else the key kis test login keptThe key --store studio sends with
--dry-runfalsePrint the records on stdout, one JSON object a line, and the verdicts on stderr; keep and send nothing

Each case is called in a scope of its own: the run’s variables (suite.yaml files, the environment file, --vars, --secret), then case and profile. Each profile’s evals are one eval run, whose result names the profile and the models that answered.

ran tests/evals/support.yaml#triage under azure-prod: 40 cases called, 1 of the calls failed
✗ tests/evals/support.yaml#triage fail 121 checks: 110 pass, 6 warn, 5 fail; score 0.909 (5 of 121 checks failed)

Keeps a harness’s talos.eval/v1 report as an eval run.

Terminal window
kis test eval send qc-report.json # keep it in .kis/test/results.db
kis test eval send qc-report.json --store duckdb,studio # and send it to the Studio
kis test eval send qc-report.json -t tests/api # a tests folder other than tests/
kis test eval send - < qc-report.json # the report on stdin
kis test eval send qc-report.json --dry-run # print the records; keep and send nothing
FlagDefaultDescription
--tests, -ttests under the product rootThe tests folder the report’s refs name
--env, -efound in the tests folderEnvironment file whose secrets are masked
--name, -nEnvironment name in a multi-environment file
--secretA secret, name=value, masked in the run’s text. Repeatable
--store, --db, --keep-runs, --studio-key, --dry-runas for eval runWhere the run is kept and sent

A harness writes one report for a run, with an entry for each eval it scored:

{"schema": "talos.eval/v1",
"evals": [{
"ref": "tests/evals/servicing.yaml#grade",
"golden": {"name": "servicing-comments", "version": "3f2a91c", "source": "synthetic", "cases": 44},
"subject": {"scores": "servicing_comments", "prompt": "grade.v3", "build": "a1b2c3d", "config": "c41d9e2"},
"provider": {"profile": "azure-prod", "model": "gpt-4.1"},
"score": 0.647,
"metrics": {"f1": 0.71},
"started_at": "2026-10-21T06:00:00Z", "finished_at": "2026-10-21T06:02:10Z",
"checks": [
{"case": "L-1001", "field": "grade", "expected": "B", "actual": "A", "difference": "higher",
"result": "fail", "score": 0, "reason": "graded higher than the reviewer",
"evidence": [{"label": "drivers", "text": "two late payments in 2025"}]}
]}]}
FieldRequiredDescription
schemayestalos.eval/v1
evals[].refyestests/<file>#<name>, <file> relative to the tests folder
evals[].checksyesEvery check, passes included; an empty list when nothing was checked
evals[].goldennoname, version, source, cases. What it leaves out is read from the golden set’s folder
evals[].subjectnoscores, prompt, build, and config, a hash of the harness’s configuration: two runs with the same hash ran the same way
evals[].providernoprofile and model
evals[].scorenoThe eval’s score; the pass rate when not given
evals[].metricsnoMetrics by name, which thresholds may bound
evals[].started_at, finished_atnoRFC 3339 times in UTC

A check:

FieldRequiredDescription
caseyesThe golden case’s id
fieldyesWhat was checked
differenceyesmatch, or the harness’s word for how the answer differs
resultyespass, warn or fail
expected, actualnoThe values compared
scorenoA graded score
reasonnoWhy it did not pass
evidenceno[{label, text}]

The report’s JSON Schema is eval-report.v1.json.

For each eval in the report, talos reads the eval at its ref in the tests folder at HEAD, and:

  1. counts the checks by result, and the distinct cases checked;
  2. works out pass_rate, the passed checks over all checks, unless metrics gives it;
  3. judges each of the eval’s thresholds on the metrics;
  4. gives the verdict by fail_on (see Verdict);
  5. names the golden set and its version: what the report gives, and the rest from tests/evals/golden/<name>/, the version being the content hash of the folder’s files at the commit.

kis test eval run builds the same report from the checks it made, and judges it the same way.

An eval run is a test run of type eval with one root suite and, for each eval:

  • a test: the eval’s ref, name, file and tags, passed for pass and warn and failed for fail, with what failed it;
  • an eval result: golden set and version, subject, provider, verdict, counts, score, metrics, thresholds with their actual values, and fail_on;
  • an eval check for every check, in the order reported.

It carries the run record every run carries (commit, branch, trigger, host, runner version), and secrets are masked in its text as in any run. Sent to the Studio, a check’s expected, actual or evidence text over 64 KB is uploaded and the check carries its reference. See Keeping runs and the Studio.

Continue with Running AI evals.