European Parliament MCP Server API - v1.3.9
    Preparing search index...

    Function buildLifecycleStatistics

    • Build the lifecycle statistics model from a procedure corpus and their event timelines.

      Deterministic: identical input procedures and events produce identical statistics (the model is independent of Map insertion order — only the byTypeAndStage map's Map/Object.entries iteration order may differ, but the per-key values are stable).

      Parameters

      Returns LifecycleStatisticsModel

      Frozen lifecycle statistics model