CheckResult

Documentation for eth_defi.vault_report.vault_checks.CheckResult Python class.

class CheckResult

Bases: object

Decisions of all rounds.

Consumed by the report renderer, which drops excluded from every ranking and chart, and by the excluded vaults record and the report.json summary.

Attributes summary

decisions

Vault id -> decision, including not_in_scope and editor overrides

candidates

Vault id -> candidate, every vault any round or the prescreen saw

rounds

Rounds that ran

excluded

Ids of excluded vaults.

excluded_candidates

Excluded candidates, in the order of the list and rank they would have appeared at.

uncertain

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_scope and 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: frozenset[str]

Ids of excluded vaults.

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
Return type

None