CheckResult
Documentation for eth_defi.vault_report.vault_checks.CheckResult Python class.
- class CheckResult
Bases:
objectDecisions of all rounds.
Consumed by the report renderer, which drops
excludedfrom every ranking and chart, and by the excluded vaults record and thereport.jsonsummary.Attributes summary
Vault id -> decision, including
not_in_scopeand editor overridesVault id -> candidate, every vault any round or the prescreen saw
Rounds that ran
Ids of excluded vaults.
Excluded candidates, in the order of the list and rank they would have appeared at.
Candidates the check could not decide.
Methods summary
__init__([decisions, candidates, rounds])- decisions: dict[str, eth_defi.vault_report.vault_checks.CheckDecision]
Vault id -> decision, including
not_in_scopeand editor overrides
- candidates: dict[str, eth_defi.vault_report.vault_checks.CheckCandidate]
Vault id -> candidate, every vault any round or the prescreen saw
- rounds: list[eth_defi.vault_report.vault_checks.CheckRound]
Rounds that ran
- property excluded_candidates: list[eth_defi.vault_report.vault_checks.CheckCandidate]
Excluded candidates, in the order of the list and rank they would have appeared at.
- property uncertain: list[eth_defi.vault_report.vault_checks.CheckCandidate]
Candidates the check could not decide.
- __init__(decisions=<factory>, candidates=<factory>, rounds=<factory>)
- Parameters
decisions (dict[str, eth_defi.vault_report.vault_checks.CheckDecision]) –
candidates (dict[str, eth_defi.vault_report.vault_checks.CheckCandidate]) –
rounds (list[eth_defi.vault_report.vault_checks.CheckRound]) –
- Return type
None