EU Parliament Monitor — API Documentation - v0.8.53
    Preparing search index...

    Optional horizon-profile bucket attached to a manifest, derived from the canonical import('../../config/article-horizons.js').ArticleHorizonConfig registry entry that matches the manifest's articleType slug.

    Threading this onto the manifest lets downstream auditing (run discovery, dashboards, prior-run-diff) filter and bucket runs by horizon length and electoral overlay without re-resolving the slug against the registry.

    Always absent for legacy / unknown slugs (no registry entry matches).

    interface HorizonProfile {
        horizonDays: number;
        electoralOverlay: boolean;
    }
    Index

    Properties

    horizonDays: number

    Horizon length in days. Derived from the registry's dataWindow.days for forward / backward directions, falling back to forwardStatementsHorizonDays for span and point directions where the data window is anchored (e.g. election-cycle → 1825, breaking → 0).

    electoralOverlay: boolean

    Mirrors the registry's electoralOverlay flag.