StickyExportStats

Documentation for eth_defi.vault.top_vaults_json.StickyExportStats Python class.

class StickyExportStats

Bases: object

Counters emitted by sticky vault export state processing.

The counters are intentionally small and line-oriented, because this script is often run from cron and pipeline logs are the first place operators diagnose data gaps.

Attributes summary

loaded_state_entries

State entries read before this run.

current_filter_passed

Rows passing the current peak TVL export filter.

sticky_additions

Current-filter rows that created a new sticky state entry.

sticky_fallback_exports

Rows replayed from last_exported_record.

current_row_structural_fallbacks

Current rows that could not replace the stored fallback record.

structurally_suppressed_vaults

Rows skipped because of structural suppression.

stale_warning_vaults

Rows carrying stale warning annotations.

missing_protocol_slugs

Exported sticky rows whose protocol slug no longer resolves in Core3.

missing_curator_slugs

Exported sticky rows whose curator slug no longer resolves in curator export.

previous_current_filter_count

Previous successful run's current-filter row count.

Methods summary

__init__([loaded_state_entries, ...])

loaded_state_entries: int

State entries read before this run.

current_filter_passed: int

Rows passing the current peak TVL export filter.

sticky_additions: int

Current-filter rows that created a new sticky state entry.

sticky_fallback_exports: int

Rows replayed from last_exported_record.

current_row_structural_fallbacks: int

Current rows that could not replace the stored fallback record.

structurally_suppressed_vaults: int

Rows skipped because of structural suppression.

stale_warning_vaults: int

Rows carrying stale warning annotations.

missing_protocol_slugs: int

Exported sticky rows whose protocol slug no longer resolves in Core3.

missing_curator_slugs: int

Exported sticky rows whose curator slug no longer resolves in curator export.

previous_current_filter_count: Optional[int]

Previous successful run’s current-filter row count.

__init__(loaded_state_entries=0, current_filter_passed=0, sticky_additions=0, sticky_fallback_exports=0, current_row_structural_fallbacks=0, structurally_suppressed_vaults=0, stale_warning_vaults=0, missing_protocol_slugs=0, missing_curator_slugs=0, previous_current_filter_count=None)
Parameters
  • loaded_state_entries (int) –

  • current_filter_passed (int) –

  • sticky_additions (int) –

  • sticky_fallback_exports (int) –

  • current_row_structural_fallbacks (int) –

  • structurally_suppressed_vaults (int) –

  • stale_warning_vaults (int) –

  • missing_protocol_slugs (int) –

  • missing_curator_slugs (int) –

  • previous_current_filter_count (Optional[int]) –

Return type

None