Docs · Inspect and improve workflows

tempergraph improve

Clusters, proposals, paired trials and cause analyses.

Usage#

usage
tempergraph improve [-h] {backlog,propose,trial,aa,open,show,analyse,review,outbox} ...

improve backlog#

clusters of repeated failures, ranked; read-only

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

improve propose#

draft a change for one cluster, from a person's patch or a proposer session

usage
tempergraph improve propose [-h] [--patch FILE] [--rule RULE] [--executor EXECUTOR] [--json] workflow cluster
ArgumentWhat it is
<workflow>the workflow
<cluster>the cluster id, as improve backlog lists it
OptionWhat it does
--patch FILEa person's unified diff over the package
--rule RULEthe general rule the change states (needed with --patch)
--executor EXECUTORthe executor of the proposer session
--jsonprint the proposal as JSON

improve trial#

run a proposal against the current version on the same cases, in pairs

usage
tempergraph improve trial [-h] [--target TARGET] [--cap USD] [--executor EXECUTOR] [--json] proposal
ArgumentWhat it is
<proposal>the proposal id
OptionWhat it does
--target TARGETfirst_pass_yield(unit), run_cost, outcome_met, ...
--cap USDthe most the trial may spend, in USD
--executor EXECUTORthe executor of the trial runs
--jsonprint the trial record as JSON

improve aa#

run the case set twice on the current version to measure the noise between runs

usage
tempergraph improve aa [-h] [--cap USD] [--json] workflow
ArgumentWhat it is
<workflow>the workflow
OptionWhat it does
--cap USDthe most the runs may spend, in USD
--jsonprint the trial record as JSON

improve open#

open a draft pull request for a proposal, with its trial report; never merges

usage
tempergraph improve open [-h] [--json] proposal
ArgumentWhat it is
<proposal>the proposal id
OptionWhat it does
--jsonprint the pull request as JSON

improve show#

print a proposal, trial or analysis record as JSON

usage
tempergraph improve show [-h] PROPOSAL|TRIAL|ANALYSIS
ArgumentWhat it is
<PROPOSAL|TRIAL|ANALYSIS>the record id

improve analyse#

one read-only session on one cluster and a checked cause record under improve/analyses/

usage
tempergraph improve analyse [-h] [--executor EXECUTOR] [--json] workflow cluster
ArgumentWhat it is
<workflow>the workflow
<cluster>the cluster id, as improve backlog lists it
OptionWhat it does
--executor EXECUTORthe executor of the analysis session
--jsonprint the cause record as JSON

improve review#

the review of a run's sessions: run it, show it, or a summary

usage
tempergraph improve review [-h] [--session KEY] [--full] [--dry-run] [--version VERSION] [--json] selector
ArgumentWhat it is
<selector>a thread selector, or show / summary
OptionWhat it does
--session KEYreview only these sessionsrepeatable
--fullread every session in full
--dry-runprint the plan and the estimate; spend nothing
--version VERSIONsummary: one workflow version
--jsonprint the review as JSON

improve outbox#

the filing outbox: list its waiting entries, clear them, send them under the daily issue cap

usage
tempergraph improve outbox [-h] {list,send,clear} ...

improve outbox list#

print the waiting entries, oldest first, without their text

usage
tempergraph improve outbox list [-h]

improve outbox send#

deliver the waiting entries under the daily issue cap

usage
tempergraph improve outbox send [-h] [--caller {person,agent,pipeline,orchestrator,scheduler,engine}] [--as-agent] [--caller-app CALLER_APP] [--relayed]
OptionWhat it does
--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

improve outbox clear#

remove every entry (--all) or those of one fingerprint (--fingerprint)

usage
tempergraph improve outbox clear [-h] [--all] [--fingerprint FINGERPRINT] [--caller {person,agent,pipeline,orchestrator,scheduler,engine}] [--as-agent] [--caller-app CALLER_APP] [--relayed]
OptionWhat it does
--allremove every entry
--fingerprint FINGERPRINTremove the entries of this fingerprint
--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