Riksdagsmonitor Intelligence Platform โ€” API Documentation - v0.8.68
    Preparing search index...

    Interface ArticleQualityScore

    Quality metrics for a single generated article

    interface ArticleQualityScore {
    ย ย ย ย filename: string;
    ย ย ย ย lang: string;
    ย ย ย ย articleType: string;
    ย ย ย ย wordCount: number;
    ย ย ย ย unknownAuthors: number;
    ย ย ย ย untranslatedSpans: number;
    ย ย ย ย analyticalSections: number;
    ย ย ย ย score: number;
    ย ย ย ย passed: boolean;
    ย ย ย ย multidimensional?: MultiDimensionalQualityAssessment;
    }
    Index

    Properties

    filename: string

    Filename of the article (e.g. "2026-02-23-motions-en.html")

    lang: string

    Language code of the article

    articleType: string

    Article type (e.g. "motions")

    wordCount: number

    Approximate word count based on text content after stripping HTML tags

    unknownAuthors: number

    Number of "Unknown (Unknown)" occurrences

    untranslatedSpans: number

    Number of data-translate="true" spans (should be 0 for non-Swedish)

    analyticalSections: number

    Number of analytical

    sections found

    score: number

    Final 0โ€“100 quality score

    passed: boolean

    Whether the article passed the quality threshold

    Optional multi-dimensional quality assessment (populated by quality-assessor)