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

    Function groupRunsForCollision

    • Group discovered runs by (date, articleType) so callers can decide whether a collision-suffix is needed when writing articles.

      Insertion order is preserved within each bucket — the batch driver iterates the original runs list in order and looks up its own bucket by key, so the collision-suffix is appended deterministically.

      Parameters

      Returns Map<string, DiscoveredRun[]>

      Map from "<date>|<articleType>" to the runs in that group