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

    Module Workflows/CompletenessGate/Validators

    Core validation functions for Stage C analysis completeness. These pure functions implement individual artifact checks extracted from the monolithic validate-analysis-completeness.js script.

    Each function is a single-responsibility checker that returns a boolean or enriches a result object — making them independently testable.

    Functions

    hasPlaceholders
    hasMermaid
    hasWepBand
    hasAdmiraltyGrade
    hasBluf
    hasReaderBlock
    countSatBullets
    hasSourceDiversityEvidence
    hasImfFigureClaim
    findWbEconomicIndicator
    hasWbEconomicClaim
    computeEffectiveMinLines
    resolveDataModeReduction
    requiresMermaid
    createEmptyResult