From 252e8019f8ebacaafefb7e6520e1a763b6e66dd4 Mon Sep 17 00:00:00 2001 From: Juan Camilo Auriti Date: Tue, 1 Dec 2026 13:24:13 +0000 Subject: [PATCH 1/3] fix(citations): report not_measurable when the provider returns no sources and the brand is not mentioned For every provider except Perplexity the check cannot see sources, so "no citation" is not an observation. With no brand mention either, the verdict was "invisible", which reads as a measured absence. It is now "not_measurable". The existing verdicts keep their names and meaning. --- CHANGELOG.md | 3 +++ src/geo_optimizer/cli/citations_cmd.py | 2 ++ src/geo_optimizer/core/citations.py | 12 +++++++---- src/geo_optimizer/models/results.py | 2 +- tests/test_citations.py | 30 ++++++++++++++++++++++++++ 5 files changed, 44 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72a58f19..5c82d7a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ Format: [Keep a Changelog](https://keepachangelog.com/) ยท [SemVer](https://semv ## [Unreleased] +### Changed +- `geo citations` and `POST /api/citations`: when the provider returns no sources (every provider except Perplexity) and the brand is not mentioned either, the verdict is the new `not_measurable` instead of `invisible`. Without sources the check cannot tell "not cited" from "sources not available". Existing verdicts keep their names and meaning; clients that switch on `verdict` should handle the new value. + ### Fixed - `G-DATES` no longer counts a date that appears only inside an HTML comment (for example ``) as a visible date. The 4.31.1 text-date check read comments by mistake; a page whose only date is in a comment goes back to the "Date only in structured data" warning. Pages that show the date as real text, a `