CheckDecision
Documentation for eth_defi.vault_report.vault_checks.CheckDecision Python class.
- class CheckDecision
Bases:
objectThe check’s verdict on one candidate.
Comes from three sources: the agent’s decisions file, the editor’s overrides file, or the pipeline itself for
not_in_scopevaults. All agent and editor records pass throughparse_decision().Attributes summary
{chain_id}-{address}exclude,keep,uncertainornot_in_scope; onlyexcluderemoves the vault from the reportExclusion category, or
NoneShort phrase naming the problem, e.g.
One plain-text sentence for readers
Evidence:
{"source": url or data reference, "observed_at": ISO timestamp}high,mediumorlowWhether the vault is blacklisted permanently in
flag.pyVaultFlagvalue of the blacklist entryMethods summary
__init__(vault_id, decision[, category, ...])- vault_id: str
{chain_id}-{address}
- decision: str
exclude,keep,uncertainornot_in_scope; onlyexcluderemoves the vault from the report
- category: Optional[str]
Exclusion category, or
None
- suspicious_item: Optional[str]
Short phrase naming the problem, e.g.
RSS elephanToken collateral
- reason: Optional[str]
One plain-text sentence for readers
- confidence: Optional[str]
high,mediumorlow
- blacklist: bool
Whether the vault is blacklisted permanently in
flag.py
- __init__(vault_id, decision, category=None, suspicious_item=None, reason=None, evidence=<factory>, confidence=None, blacklist=False, vault_flag=None)