Ask a language model for a brand's proof points and it will give you proof points. Some are on the page. Some are what a brand like this one would plausibly claim. The two look identical in the output, and the second kind is how "clinically tested" ends up in an article for a brand that never said it. This stage makes the model show its source and then does not take its word for that either.
The problem
The old flow asked the model to read the site and fill in the brand’s fields. Whatever came back was stored as fact and later given to generators as things the brand may say. There was no step at which anyone, or anything, compared a value with the page.
A second model checking the first would be one unverifiable judgement on top of another. What I wanted was a check a program can do with certainty. A program cannot tell whether a claim is true. It can tell whether a given sentence is in a given text.
The contract with the model
Fields are extracted in four groups, one call each: basics, offer, market and direction. For every factual or observed field the model must return a value and a quote.
- The quote is one sentence copied from the page. It is not translated, shortened or joined with an ellipsis.
- Any number, certification or award in the value must appear in the quote.
Each field has a rule that says what kind of support it needs.
| Basis | Fields | What is required |
|---|---|---|
| explicit | key features, proof points, products | a quote, verified |
| observed | name, category, industry, value proposition, identity, differentiators and similar | a quote, verified |
| inferred | competitors, personas, marketing strategy, words to avoid | no quote is possible |
The third row is its own path, described below. No page states its own personas.
Checking the quote

def locate_quote(quote: str, text: str) -> tuple[int, int] | None:
q = normalize_quote(quote)
if len(q) < QUOTE_MIN_CHARS:
return None
folded_q, _ = _folded(q)
folded_t, index = _folded(text)
at = folded_t.find(folded_q)
if at < 0:
return None
return index[at], index[at + len(folded_q) - 1] + 1
def numbers_supported(value: str, quote: str) -> bool:
return numbers_in(value) <= numbers_in(quote)
locate_quote allows exactly two differences between the model’s quote and the page: letter case and spacing. It strips wrapping quotation marks, folds both strings to lower case with single spaces, and does an exact search. While folding the page it keeps a map from each folded position back to the original position, so a match is returned as offsets into the stored text.
It does not do fuzzy matching. A quote that is almost on the page is not on the page. A model that paraphrased, merged two sentences or corrected a typo has produced a sentence the brand did not write, and the value that rests on it is dropped.
numbers_supported is a subset test. It collects the numbers in the value and in the quote, ignoring thousands separators, and requires every number in the value to be among those in the quote. A value that says “30 years” resting on a quote that says “decades of experience” fails. This is the check that catches the commonest invention, a real claim with a number attached that the page never gave.
What happens to each value
evidence = _locate(quote, pages) if quote else None
if evidence is None:
if name == "name":
proposals.append(Proposal(name, value, "observed"))
else:
dropped.append(Dropped(name, value, "quote_not_found" if quote else "no_quote"))
continue
if not numbers_supported(_value_text(value), evidence.quote):
dropped.append(Dropped(name, value, "numbers_unsupported"))
continue
proposals.append(Proposal(name, value, rule.basis, [evidence]))
| Outcome | Reason code | What it means |
|---|---|---|
| dropped | no_quote | the model gave a value with no quote |
| dropped | quote_not_found | the quote is not in any readable page |
| dropped | numbers_unsupported | the value has a number the quote lacks |
| accepted | the value goes on to the write rules with its evidence |
The one exception is the brand’s name, which is kept as observed even without a quote. A site does not always state its own name in a sentence, and a brand with no name cannot be shown to the customer at all.
An accepted value carries an evidence record: the source key and URL, the id of the chunk that contains the start of the quote, the start and end offsets into the stored page text, and the quote. The quote that is stored is cut from the page using those offsets. It is the page’s text, not the string the model returned.
Fields with no quote
Competitors, personas, strategy and words to avoid are inferences. They are not written to the brand’s fields. Each becomes a candidate: a proposal with its value, its basis and no evidence, waiting for a person.
A person adopts a candidate or rejects it. Adopting writes the value with the person as its origin. Rejecting is remembered: the candidate’s id is a hash of the field and the normalised value, and the same proposal is never raised again. A brand holds at most 60 pending candidates.
Failure modes
| What goes wrong | What happens | Regression test |
|---|---|---|
| The model gives a claim with no quote, or with a quote not on the page | it never becomes a proposal | test_f3_unquoted_or_unsupported_claims_never_become_proposals |
| The quote differs only in case or spacing | it is found | test_locate_quote_ignores_spacing_and_case_only |
| The value adds a number | dropped | test_numbers_in_value_must_appear_in_quote |
| An accepted value needs to be re-checked later | its evidence carries offsets into the stored text | test_quote_verified_values_carry_evidence_offsets |
| An inferred field arrives | it is a proposal without evidence | test_inferred_fields_are_proposals_without_evidence |
| A reply is cut off at the token limit | the group is retried once, shorter; a second failure marks the group failed | the group tests in test_brand_readout_groups.py |
Limits I know about
A found quote is not a true claim. The check proves the brand’s page says this sentence. It does not prove the page is right, or that the value is a fair reading of the sentence. A value that stretches what its quote says, without adding a number, passes.
Dropped values are not kept. The function returns what it dropped and why, and neither the run record nor the API response stores that list. A customer cannot see what the model proposed and the checks refused, and I cannot count drop reasons over time without re-running. Storing them is a small change that I have not made.
The minimum quote length is short. The prompt asks for at least 8 characters and the code accepts 4. A very short quote can match by accident on a long page.
Only the first 4,000 characters of each page are sent to the model, up to 12,000 in total. A fact stated further down is never proposed, though it would verify if it were.
