EU Parliament Monitor — API Documentation - v0.8.17
    Preparing search index...
    • Test whether a text string is placeholder/fallback content that should be excluded from user-visible metadata (e.g. SEO keywords, descriptions).

      Matches known placeholder patterns including:

      • "placeholder" (case-insensitive)
      • "data unavailable" / "data_unavailable" / "data-unavailable"
      • "Example motion", "Example amendment", "Example group"

      Keep this regex in sync with the shell quality-gate patterns in the gh-aw workflow files (.github/workflows/news-*.md).

      Parameters

      • text: string

        Candidate text to test

      Returns boolean

      true when the text matches known placeholder patterns