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

    Interface AnalysisIterationMetadata

    Metadata record written after each analysis run for audit and debugging. Stored as news/metadata/ai-analysis-<slug>-<lang>.json.

    interface AnalysisIterationMetadata {
        articleSlug: string;
        lang: Language;
        depth: AnalysisDepth;
        iterationsCompleted: number;
        iterationDurationsMs: number[];
        confidenceScore: number;
        validationResult: ValidationResult;
        documentCount: number;
        enrichedCount: number;
        focusTopic: string;
        completedAt: string;
    }
    Index

    Properties

    articleSlug: string

    Article slug this analysis was produced for

    lang: Language

    Language of the analysis

    Analysis depth used

    iterationsCompleted: number

    Number of iterations completed

    iterationDurationsMs: number[]

    Per-iteration duration in milliseconds

    confidenceScore: number

    Final confidence score

    validationResult: ValidationResult

    Validation result (null when depth < 'deep')

    documentCount: number

    Number of documents analysed

    enrichedCount: number

    Number of metadata-enriched documents (contentFetched = true)

    focusTopic: string

    Focus topic (null if none)

    completedAt: string

    ISO timestamp when analysis completed