Docs · Inspect and improve workflows

tempergraph evals

Judge calibration and eval suites: score, bar, run, report, labels.

Usage#

usage
tempergraph evals [-h] {score,bar,run,report,grade,harvest,replay,label} ...

evals score#

score the gate's judge on its reviewed cases (spends)

usage
tempergraph evals score [-h] [--executor EXECUTOR] [--repeat REPEAT] [--variants VARIANTS] [--cap USD] [--level LEVEL] [--json] workflow gate
ArgumentWhat it is
<workflow>the workflow
<gate>the gate whose judge is scored
OptionWhat it does
--executor EXECUTORthe executor of the judge sessions
--repeat REPEAThow many times each case is judged (default 3)default 3
--variants VARIANTScomma-separated kinds, or nonedefault persuasive_account,out_of_reach
--cap USDthe most the scoring may spend, in USD
--level LEVELscore the judge of this risk level
--jsonprint the score as JSON

evals bar#

each gate's acceptance state, figures and failing rules

usage
tempergraph evals bar [-h] [--json] [workflow]
ArgumentWhat it is
<workflow>one workflow; with none, every registered workflowoptional
OptionWhat it does
--jsonprint the bar as JSON

evals run#

run the eval suites of one kind and record the results

usage
tempergraph evals run [-h] --kind {check,judge,step,workflow} [--role {regression,capability}] [--trials TRIALS] [--executor EXECUTOR] [--cap USD] [--json] workflow
ArgumentWhat it is
<workflow>the workflow
OptionWhat 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 TRIALShow many times each case runs
--executor EXECUTORthe executor of live suites
--cap USDthe most the run may spend, in USD
--jsonprint the results as JSON

evals report#

figures per suite and case, graduation, stale and waiting results

usage
tempergraph evals report [-h] [--json] workflow
ArgumentWhat it is
<workflow>the workflow
OptionWhat it does
--jsonprint the report as JSON

evals grade#

a person's grade for a trial no grader could decide

usage
tempergraph evals grade [-h] (--pass | --fail) --reason REASON [--json] result
ArgumentWhat it is
<result>the result id, as evals report lists it
OptionWhat it does
--passthe trial passed
--failthe trial failed
--reason REASONwhy, in a sentencerequired
--jsonprint the recorded grade as JSON

evals harvest#

turn recorded judge misses into local calibration case candidates

usage
tempergraph evals harvest [-h] [--json] workflow gate
ArgumentWhat it is
<workflow>the workflow
<gate>the gate whose judge misses are harvested
OptionWhat it does
--jsonprint the candidates as JSON

evals replay#

rerun the judges on kept cases and compare with the recorded score

usage
tempergraph evals replay [-h] [--executor EXECUTOR] [--cap USD] [--json] workflow
ArgumentWhat it is
<workflow>the workflow
OptionWhat it does
--executor EXECUTORthe executor of the judge sessions
--cap USDthe most the replay may spend, in USD
--jsonprint the comparison as JSON

evals label#

write or confirm one gold label as a reviewer

usage
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
ArgumentWhat it is
<WORKFLOW/GATE/CASE>the calibration case, as <workflow>/<gate>/<case>
OptionWhat it does
--criterion CRITERIONthe criterion idrequired
--expected {MET,PARTIAL,UNMET,N/A,UNVERIFIABLE}the status the judge should giverequired
--reason REASONwhy, in a sentencerequired
--reviewer REVIEWERthe reviewer's handle (default the caller)
--jsonprint 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-agentthe same as --caller agent
--caller-app CALLER_APPthe name of the calling agent or pipeline application, recorded with the call
--relayedthe 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