RunSummary#
- class scikitplot.agent.RunSummary(run_id, goal, parent, status, stop_reason, decisions, tool_calls, outcomes, denials, approvals_requested, approvals_granted, approvals_refused, subruns, plan_changes, tokens, cost, wall_seconds)[source]#
What one run did, read from its audit records.
- Parameters:
- run_idstr
- goalstr
- parentstr or None
The parent run’s id, for a sub-run.
- status, stop_reasonstr or None
From the run’s last
run_endedrecord;Nonewhile it has not ended.- decisionsint
- tool_callsint
Calls started, retries included.
- outcomesdict of str to int
Steps by outcome (
executed,failed,denied, …).- denialsdict of str to int
Denied and failed steps by error code.
- approvals_requested, approvals_granted, approvals_refusedint
- subrunsint
- plan_changesint
Decisions that carried a plan.
- tokensint or None
- costfloat or None
From the
run_endedrecord.- wall_secondsfloat
Last record time minus first.
- Parameters: