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

    Variable buildAiMarkerImpactAssessmentConst

    buildAiMarkerImpactAssessment: () => {
        political: string;
        economic: string;
        social: string;
        legal: string;
        geopolitical: string;
    } = buildFallbackImpactAssessment

    Type Declaration

      • (): {
            political: string;
            economic: string;
            social: string;
            legal: string;
            geopolitical: string;
        }
      • Build a placeholder impact assessment with every dimension marked AI_MARKER.

        This is the last-resort fallback used only when no AI-authored ## Impact Assessment block was parseable from the run's synthesis-summary.md or deep-analysis.md. Agentic workflows should satisfy the Analysis-to-Article Data Contract (see .github/prompts/SHARED_PROMPT_PATTERNS.md#-analysis-to-article-data-contract) so this fallback is never rendered. When it is rendered, the downstream article-rewriter step replaces the AI_MARKER strings with real analysis content before publication.

        Returns {
            political: string;
            economic: string;
            social: string;
            legal: string;
            geopolitical: string;
        }

        Impact assessment with AI_MARKER placeholders in every dimension.

    Use buildFallbackImpactAssessment — the name was changed to reflect that this is a last-resort path rather than the AI-integration path. The alias is retained for backward compatibility with internal callers and will be removed after all builders route through buildFallbackImpactAssessment.