Riksdagsmonitor Intelligence Platform - v0.7.19
    Preparing search index...

    Precomputed values that are expensive to derive and shared across multiple builder functions within a single analyzeDocument() call.

    By computing domains and influenceScore once and threading this context through helpers we avoid 7–11× redundant detectPolicyDomains() and calculateInfluenceScore() calls per document.

    interface PrecomputedContext {
        domains: string[];
        influenceScore: number;
    }
    Index

    Properties

    domains: string[]
    influenceScore: number