WorkflowView#
- class scikitplot.agent.WorkflowView(goal, node, channels, visits, last=None, branches=<factory>, finished=False)[source]#
Where a run stands in its workflow, rebuilt from the recorded steps.
- Parameters:
- goalstr
The run’s goal.
- nodestr or None
The node the run is at;
Noneonce it finished.- channelsmapping
Every channel’s current value (a read-only copy).
- visitsmapping of str to int
How many times each node has been entered.
- lastStepSummary or None
The most recent step.
- branchesmapping of str to StepSummary
The branches of the most recent fan-out, by branch name.
- finishedbool
Whether a
Finishnode’s answer was accepted.
- Parameters:
- branches: Mapping[str, StepSummary][source]#
- digest()[source]#
Return the digest of this position: node, channels and visit counts.
- Returns:
- str
64 hexadecimal digits; equal for equal positions.
- Return type:
- last: StepSummary | None = None#