Docs · Inspect and improve workflows
tempergraph evals
Judge calibration and eval suites: score, bar, run, report, labels.
Usage#
tempergraph evals [-h] {score,bar,run,report,grade,harvest,replay,label} ...evals score#
score the gate's judge on its reviewed cases (spends)
tempergraph evals score [-h] [--executor EXECUTOR] [--repeat REPEAT] [--variants VARIANTS] [--cap USD] [--level LEVEL] [--json] workflow gate| Argument | What it is |
|---|---|
<workflow> | the workflow |
<gate> | the gate whose judge is scored |
| Option | What it does |
|---|---|
--executor EXECUTOR | the executor of the judge sessions |
--repeat REPEAT | how many times each case is judged (default 3)default 3 |
--variants VARIANTS | comma-separated kinds, or nonedefault persuasive_account,out_of_reach |
--cap USD | the most the scoring may spend, in USD |
--level LEVEL | score the judge of this risk level |
--json | print the score as JSON |
evals bar#
each gate's acceptance state, figures and failing rules
tempergraph evals bar [-h] [--json] [workflow]| Argument | What it is |
|---|---|
<workflow> | one workflow; with none, every registered workflowoptional |
| Option | What it does |
|---|---|
--json | print the bar as JSON |
evals run#
run the eval suites of one kind and record the results
tempergraph evals run [-h] --kind {check,judge,step,workflow} [--role {regression,capability}] [--trials TRIALS] [--executor EXECUTOR] [--cap USD] [--json] workflow| Argument | What it is |
|---|---|
<workflow> | the workflow |
| Option | What it does |
|---|---|
--kind {check,judge,step,workflow} | which suites to run: check, judge, step or workflowrequired |
--role {regression,capability} | only the regression or the capability suites |
--trials TRIALS | how many times each case runs |
--executor EXECUTOR | the executor of live suites |
--cap USD | the most the run may spend, in USD |
--json | print the results as JSON |
evals report#
figures per suite and case, graduation, stale and waiting results
tempergraph evals report [-h] [--json] workflow| Argument | What it is |
|---|---|
<workflow> | the workflow |
| Option | What it does |
|---|---|
--json | print the report as JSON |
evals grade#
a person's grade for a trial no grader could decide
tempergraph evals grade [-h] (--pass | --fail) --reason REASON [--json] result| Argument | What it is |
|---|---|
<result> | the result id, as evals report lists it |
| Option | What it does |
|---|---|
--pass | the trial passed |
--fail | the trial failed |
--reason REASON | why, in a sentencerequired |
--json | print the recorded grade as JSON |
evals harvest#
turn recorded judge misses into local calibration case candidates
tempergraph evals harvest [-h] [--json] workflow gate| Argument | What it is |
|---|---|
<workflow> | the workflow |
<gate> | the gate whose judge misses are harvested |
| Option | What it does |
|---|---|
--json | print the candidates as JSON |
evals replay#
rerun the judges on kept cases and compare with the recorded score
tempergraph evals replay [-h] [--executor EXECUTOR] [--cap USD] [--json] workflow| Argument | What it is |
|---|---|
<workflow> | the workflow |
| Option | What it does |
|---|---|
--executor EXECUTOR | the executor of the judge sessions |
--cap USD | the most the replay may spend, in USD |
--json | print the comparison as JSON |
evals label#
write or confirm one gold label as a reviewer
tempergraph evals label [-h] --criterion CRITERION --expected {MET,PARTIAL,UNMET,N/A,UNVERIFIABLE} --reason REASON [--reviewer REVIEWER] [--json] [--caller {person,agent,pipeline,orchestrator,scheduler,engine}] [--as-agent] [--caller-app CALLER_APP] [--relayed] WORKFLOW/GATE/CASE| Argument | What it is |
|---|---|
<WORKFLOW/GATE/CASE> | the calibration case, as <workflow>/<gate>/<case> |
| Option | What it does |
|---|---|
--criterion CRITERION | the criterion idrequired |
--expected {MET,PARTIAL,UNMET,N/A,UNVERIFIABLE} | the status the judge should giverequired |
--reason REASON | why, in a sentencerequired |
--reviewer REVIEWER | the reviewer's handle (default the caller) |
--json | print the label as JSON |
--caller {person,agent,pipeline,orchestrator,scheduler,engine} | who is calling: person, agent or pipeline (the others are kept for the engine's own supervisors); a declaration can only lower trust |
--as-agent | the same as --caller agent |
--caller-app CALLER_APP | the name of the calling agent or pipeline application, recorded with the call |
--relayed | the decision is a person's, carried by an agent; checked against the person's last turn |
Edit this page on GitHub · engine 0.9.0