CheckRound
Documentation for eth_defi.vault_report.vault_checks.CheckRound Python class.
- class CheckRound
Bases:
objectFiles of one check round, in the report bundle.
The file names carry only the round number, so a rerun with the same bundle or a
VAULT_CHECK_DECISIONSdirectory finds the earlier round’s decisions by name; the digest then decides whether they still apply.Attributes summary
Round number, from 1
Candidate file,
vault-check-candidates-N.json, written by the pipelineDeterministic facts file,
vault-check-facts-N.json, written by the pipeline; not written when the round's decisions are reusedAgent decisions file,
vault-check-decisions-N.json, written by the agentSHA-256 of the candidates file; the agent copies it into the decisions header
Methods summary
__init__(number, candidates_path, ...)- number: int
Round number, from 1
- candidates_path: pathlib.Path
Candidate file,
vault-check-candidates-N.json, written by the pipeline
- facts_path: pathlib.Path
Deterministic facts file,
vault-check-facts-N.json, written by the pipeline; not written when the round’s decisions are reused
- decisions_path: pathlib.Path
Agent decisions file,
vault-check-decisions-N.json, written by the agent
- candidates_digest: str
SHA-256 of the candidates file; the agent copies it into the decisions header
- __init__(number, candidates_path, facts_path, decisions_path, candidates_digest)
- Parameters
number (int) –
candidates_path (pathlib.Path) –
facts_path (pathlib.Path) –
decisions_path (pathlib.Path) –
candidates_digest (str) –
- Return type
None