EU Parliament Monitor — API Documentation - v0.8.24
    Preparing search index...
    • Compute a novelty bonus (0 or 5) for items appearing for the first time in a monitoring window.

      An item is considered novel when its identifier does not appear in the set of previously seen identifiers. Novel items receive a bonus equal to half the maximum score, calibrated to reward fresh intelligence signals.

      Parameters

      • itemId: string

        Unique identifier for the item being scored

      • previouslySeenIds: ReadonlySet<string>

        Set of identifiers already observed in the window

      Returns number

      Novelty bonus value (0 = previously seen, 5 = novel)