EU Parliament Monitor — API Documentation - v0.8.20
    Preparing search index...
    • Build an HTML section summarising analysis pipeline insights.

      Creates a structured <section class="analysis-pipeline-insights"> element containing key findings from loaded analysis files. Each strategy passes the methods it considers relevant; only those with loaded content are rendered.

      Filters out scaffold/template files and files with no substantive AI content. Uses extended paragraph extraction for richer insight content.

      Parameters

      • ctx: LoadedAnalysisContext | null | undefined

        Loaded analysis context (null-safe: returns empty string)

      • relevantMethods: readonly string[]

        Method names this strategy wants to display

      • lang: LanguageCode

        Target language code (used for localized section heading)

      Returns string

      HTML string (empty when no context or no relevant files)