libera_utils.l1a.day_coverage.DayCoverageResult#

class libera_utils.l1a.day_coverage.DayCoverageResult(mode: CoverageMode, covers_window: bool, window_frac: float, window_frac_ok: bool)#

Bases: object

Whether L0 spans reach both edges of the buffered day window, and how much of it they cover.

Variables:
  • mode (CoverageMode) – Mode of the policy the result was judged under.

  • covers_window (bool) – Whether the spans that touch the buffered day window [D - B, D + 1 + B] reach both of its edges. Under PRESENCE, equals presence.

  • window_frac (float) – Covered fraction, in [0, 1], of the buffered day window.

  • window_frac_ok (bool) – Whether window_frac meets the policy’s window_coverage_frac. Under PRESENCE, equals presence.

__init__(mode: CoverageMode, covers_window: bool, window_frac: float, window_frac_ok: bool) → None#

Attributes

is_complete

True when both checks pass.

property is_complete: bool#

True when both checks pass.