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

    Interface QualityMetrics

    Measured quality metrics for a single article

    interface QualityMetrics {
    ย ย ย ย analyticalDepth: number;
    ย ย ย ย partyCount: number;
    ย ย ย ย crossReferences: number;
    ย ย ย ย hasWhyThisMatters: boolean;
    ย ย ย ย hasHistoricalContext: boolean;
    ย ย ย ย hasInternationalComparison: boolean;
    ย ย ย ย hasEconomicContext?: boolean;
    ย ย ย ย hasSCBContext?: boolean;
    ย ย ย ย hasStatisticalClaims?: boolean;
    ย ย ย ย hasLanguageSwitcher?: boolean;
    ย ย ย ย hasArticleTopNav?: boolean;
    ย ย ย ย hasBackToNews?: boolean;
    ย ย ย ย hasWhatHappensNext?: boolean;
    ย ย ย ย hasWinnersLosers?: boolean;
    ย ย ย ย specificClaimsCount?: number;
    ย ย ย ย hasSubstantialLede?: boolean;
    }
    Index

    Properties

    analyticalDepth: number
    partyCount: number
    crossReferences: number
    hasWhyThisMatters: boolean
    hasHistoricalContext: boolean
    hasInternationalComparison: boolean
    hasEconomicContext?: boolean

    Whether the article contains economic context (World Bank indicators, GDP, unemployment, etc.)

    hasSCBContext?: boolean

    Whether the article contains Swedish statistical context (SCB official statistics)

    hasStatisticalClaims?: boolean

    Whether the article contains statistical claims that could be fact-checked

    hasLanguageSwitcher?: boolean

    Whether the article has a language-switcher nav element

    hasArticleTopNav?: boolean

    Whether the article has an article-top-nav div with back-to-news link

    hasBackToNews?: boolean

    Whether the article has a back-to-news link (in top nav or footer)

    hasWhatHappensNext?: boolean

    Whether the article contains a "What Happens Next" legislative timeline section

    hasWinnersLosers?: boolean

    Whether the article contains a "Winners & Losers" political analysis section

    specificClaimsCount?: number

    Number of specific, verifiable factual claims detected (documents, percentages, named actors)

    hasSubstantialLede?: boolean

    Whether the lede paragraph has at least 30 words (not a stub)