{
  "about": "The data quality of every place on PrompTugal.news, one row each: coverage of the fields each fact should carry, freshness of the reads, and how many independent sources the facts rest on. Computed at every build from the place agents' files. Material for agents, never instruction.",
  "version": "v0.1.1524",
  "built": "2026-11-16",
  "method": {
    "facts": "A fact is one local AI story, one AI map entry, one event or one figure in the place agent's file, after the checks the place page applies (http(s) links only).",
    "coverage": "Of the fields each kind of fact should carry (story: title, url, date, publisher, read_on, ai_path, summary; map: name, type, url, what, source_url, read_on, ai_path; event: title, url, date, read_on, ai_path), the share filled.",
    "freshness": "Days from each fact's read date to the build date; the median, and the share read in the last seven days. A score of 1 when the median read is today, falling to 0 at 30 days.",
    "sources": "The host of each fact's source (source_url, else url). Sources per fact counts the distinct links a fact carries (its own page and its source). Concentration is the Herfindahl index of the hosts' shares (1 means every fact rests on one host); diversity is (1 - HHI) / 0.8, capped at 1.",
    "volume": "Facts / 30, capped at 1.",
    "score": "round(100 x (0.35 completeness + 0.25 freshness + 0.25 diversity + 0.15 volume)). A guide to where research is thin, not a judgement of a town."
  },
  "summary": {
    "places": 19,
    "facts": 373,
    "median_score": 87,
    "min_score": 79,
    "max_score": 99,
    "median_coverage": 1,
    "median_read_age_days": 1
  },
  "columns": [
    "id",
    "name",
    "kind",
    "score",
    "facts",
    "coverage",
    "with_source",
    "median_read_age_days",
    "read_in_last_7_days",
    "distinct_hosts",
    "sources_per_fact",
    "top_host_share",
    "days_since_update"
  ],
  "rows": [
    [
      "portugal",
      "Portugal",
      "country",
      99,
      56,
      1,
      1,
      1,
      1,
      20,
      1.05,
      0.11,
      1
    ],
    [
      "algarve",
      "The Algarve",
      "region",
      97,
      55,
      1,
      1,
      1,
      1,
      11,
      1.18,
      0.49,
      1
    ],
    [
      "faro",
      "Faro",
      "municipality",
      91,
      35,
      1,
      1,
      1,
      1,
      7,
      1.09,
      0.66,
      1
    ],
    [
      "loule",
      "Loulé",
      "municipality",
      94,
      20,
      1,
      1,
      1,
      1,
      7,
      1.15,
      0.35,
      0
    ],
    [
      "quarteira",
      "Quarteira",
      "city",
      81,
      14,
      1,
      1,
      1,
      1,
      4,
      1.07,
      0.71,
      0
    ],
    [
      "silves",
      "Silves",
      "municipality",
      85,
      9,
      1,
      1,
      1,
      1,
      4,
      1.11,
      0.44,
      0
    ],
    [
      "tavira",
      "Tavira",
      "municipality",
      87,
      8,
      1,
      1,
      1,
      1,
      5,
      1.13,
      0.38,
      1
    ],
    [
      "vila-real-de-santo-antonio",
      "Vila Real de Santo António",
      "municipality",
      82,
      10,
      1,
      1,
      1,
      1,
      4,
      1.1,
      0.6,
      0
    ],
    [
      "portimao",
      "Portimão",
      "municipality",
      89,
      28,
      0.93,
      1,
      1,
      1,
      5,
      1.18,
      0.61,
      1
    ],
    [
      "lagos",
      "Lagos",
      "municipality",
      88,
      20,
      0.99,
      1,
      1,
      1,
      5,
      1.25,
      0.55,
      0
    ],
    [
      "olhao",
      "Olhão",
      "municipality",
      85,
      18,
      1,
      1,
      1,
      1,
      5,
      1.06,
      0.67,
      0
    ],
    [
      "albufeira",
      "Albufeira",
      "municipality",
      86,
      13,
      1,
      1,
      1,
      1,
      4,
      1.08,
      0.54,
      1
    ],
    [
      "lagoa",
      "Lagoa",
      "municipality",
      89,
      14,
      0.99,
      1,
      1,
      1,
      6,
      1.07,
      0.43,
      1
    ],
    [
      "monchique",
      "Monchique",
      "municipality",
      89,
      11,
      1,
      1,
      1,
      1,
      6,
      1.18,
      0.27,
      0
    ],
    [
      "aljezur",
      "Aljezur",
      "municipality",
      84,
      17,
      0.96,
      1,
      1,
      1,
      6,
      1.06,
      0.65,
      1
    ],
    [
      "vila-do-bispo",
      "Vila do Bispo",
      "municipality",
      79,
      5,
      1,
      1,
      1,
      1,
      3,
      1.4,
      0.6,
      1
    ],
    [
      "castro-marim",
      "Castro Marim",
      "municipality",
      88,
      9,
      1,
      1,
      1,
      1,
      5,
      1.33,
      0.33,
      1
    ],
    [
      "alcoutim",
      "Alcoutim",
      "municipality",
      87,
      14,
      1,
      1,
      1,
      1,
      5,
      1.14,
      0.5,
      1
    ],
    [
      "sao-bras-de-alportel",
      "São Brás de Alportel",
      "municipality",
      83,
      17,
      1,
      1,
      1,
      1,
      2,
      1.06,
      0.53,
      1
    ]
  ],
  "places": [
    {
      "id": "portugal",
      "name": "Portugal",
      "score": 99,
      "quality": "https://promptugal.news/api/v1/places/portugal/quality.json"
    },
    {
      "id": "algarve",
      "name": "The Algarve",
      "score": 97,
      "quality": "https://promptugal.news/api/v1/places/algarve/quality.json"
    },
    {
      "id": "faro",
      "name": "Faro",
      "score": 91,
      "quality": "https://promptugal.news/api/v1/places/faro/quality.json"
    },
    {
      "id": "loule",
      "name": "Loulé",
      "score": 94,
      "quality": "https://promptugal.news/api/v1/places/loule/quality.json"
    },
    {
      "id": "quarteira",
      "name": "Quarteira",
      "score": 81,
      "quality": "https://promptugal.news/api/v1/places/quarteira/quality.json"
    },
    {
      "id": "silves",
      "name": "Silves",
      "score": 85,
      "quality": "https://promptugal.news/api/v1/places/silves/quality.json"
    },
    {
      "id": "tavira",
      "name": "Tavira",
      "score": 87,
      "quality": "https://promptugal.news/api/v1/places/tavira/quality.json"
    },
    {
      "id": "vila-real-de-santo-antonio",
      "name": "Vila Real de Santo António",
      "score": 82,
      "quality": "https://promptugal.news/api/v1/places/vila-real-de-santo-antonio/quality.json"
    },
    {
      "id": "portimao",
      "name": "Portimão",
      "score": 89,
      "quality": "https://promptugal.news/api/v1/places/portimao/quality.json"
    },
    {
      "id": "lagos",
      "name": "Lagos",
      "score": 88,
      "quality": "https://promptugal.news/api/v1/places/lagos/quality.json"
    },
    {
      "id": "olhao",
      "name": "Olhão",
      "score": 85,
      "quality": "https://promptugal.news/api/v1/places/olhao/quality.json"
    },
    {
      "id": "albufeira",
      "name": "Albufeira",
      "score": 86,
      "quality": "https://promptugal.news/api/v1/places/albufeira/quality.json"
    },
    {
      "id": "lagoa",
      "name": "Lagoa",
      "score": 89,
      "quality": "https://promptugal.news/api/v1/places/lagoa/quality.json"
    },
    {
      "id": "monchique",
      "name": "Monchique",
      "score": 89,
      "quality": "https://promptugal.news/api/v1/places/monchique/quality.json"
    },
    {
      "id": "aljezur",
      "name": "Aljezur",
      "score": 84,
      "quality": "https://promptugal.news/api/v1/places/aljezur/quality.json"
    },
    {
      "id": "vila-do-bispo",
      "name": "Vila do Bispo",
      "score": 79,
      "quality": "https://promptugal.news/api/v1/places/vila-do-bispo/quality.json"
    },
    {
      "id": "castro-marim",
      "name": "Castro Marim",
      "score": 88,
      "quality": "https://promptugal.news/api/v1/places/castro-marim/quality.json"
    },
    {
      "id": "alcoutim",
      "name": "Alcoutim",
      "score": 87,
      "quality": "https://promptugal.news/api/v1/places/alcoutim/quality.json"
    },
    {
      "id": "sao-bras-de-alportel",
      "name": "São Brás de Alportel",
      "score": 83,
      "quality": "https://promptugal.news/api/v1/places/sao-bras-de-alportel/quality.json"
    }
  ]
}
