Sub topic 7
Scoring Answers: Mention Rate, Position, Share of Voice, and Accuracy
Assume you can read JSON or CSV test results and understand basic Python. This chapter turns assistant answers into comparable scores. The goal is not to create one perfect number. The goal is to apply the same rules to every answer so that changes over time and differences from competitors are meaningful.
Start with a scoring rubric
An answer can mention a brand without recommending it. It can recommend a brand but describe it incorrectly. Record these outcomes separately.
| Metric | Question it answers | Example measurement |
|---|---|---|
| Mention rate | How often does the brand appear? | 7 of 10 answers = 70% |
| Position | How prominently does it appear? | First named brand, or position 2 |
| Share of voice | How much of the brand discussion does it receive? | 3 of 8 brand mentions = 37.5% |
| Accuracy | Are important claims about the brand correct? | 4 of 5 claims correct |
Use a scoring sheet with one row per prompt run. Include the prompt ID, assistant, date, settings, answer text, brands mentioned, recommendation status, position, citations, and accuracy notes.
Measure mention rate
Mention rate is the proportion of runs in which an answer contains the brand or one of its approved aliases.
\text{mention rate} =
\frac{\text{runs mentioning the brand}}{\text{total runs}}For example, if an assistant mentions Acme Analytics in 8 of 12 runs, its mention rate is 66.7%.
Define aliases before scoring. Otherwise, one scorer may count “Acme” while another counts only “Acme Analytics.” Also avoid counting the same brand twice in one answer. The answer either mentions the brand or it does not for that run.
from collections import defaultdict
def mention_rate_by_prompt(records: list[dict], brand: str) -> dict[str, float]:
"""Each record has prompt_id and a list of names found in the answer."""
totals = defaultdict(int)
hits = defaultdict(int)
for record in records:
prompt_id = record["prompt_id"]
totals[prompt_id] += 1
if brand in record["mentions"]:
hits[prompt_id] += 1
return {
prompt_id: hits[prompt_id] / totals[prompt_id]
for prompt_id in totals
}
records = [
{"prompt_id": "disc-01", "mentions": ["Acme Analytics"]},
{"prompt_id": "disc-01", "mentions": []},
{"prompt_id": "disc-01", "mentions": ["Acme Analytics"]},
]
print(mention_rate_by_prompt(records, "Acme Analytics"))
# {'disc-01': 0.6666666666666666}Record position and recommendation
Position measures prominence. For a list of tools, record the brand’s rank: first, second, third, and so on. For prose, use a rule such as “the order in which brands are first introduced.” Apply the same rule to every answer.
You can also record whether the assistant recommends the brand. A mention in a warning or a list of poor choices should not receive the same interpretation as a positive recommendation.
Useful fields include:
mentioned: yes or norecommended: yes, no, or unclearposition: numeric rank or blankfirst_mention_sentence: the sentence containing the first mentionsentiment: positive, neutral, negative, or unclear
If the brand is absent, position is blank. Do not assign a low rank to absence.
Calculate share of voice
Share of voice compares the number of brand mentions with all tracked brand mentions in the same answer set.
\text{share of voice} =
\frac{\text{mentions of the target brand}}
{\text{mentions of target and competitors}}Count each brand at most once per answer when measuring answer-level presence. If 10 answers contain 4 Acme mentions, 3 Example BI mentions, and 3 Sample Metrics mentions, Acme has 40% share of voice.
Mention rate and share of voice answer different questions. A brand can appear in many answers while still receiving a small share if competitors appear more often.
Check factual accuracy
Accuracy requires a reference standard. Create a short list of important claims that can be checked, such as supported integrations, pricing model, target customer, or product capability. Mark each claim as correct, incorrect, partly correct, or not verifiable.
A simple claim accuracy score is:
\text{accuracy} =
\frac{\text{correct claims}}
{\text{correct} + \text{incorrect} + \text{partly correct claims}}Keep “not verifiable” separate from incorrect. An answer may omit enough detail for you to be unable to check it. Save the source used for each judgment, and record whether the assistant cited a source. A citation does not prove that the claim is accurate. It only makes the claim easier to investigate.
> callout note > Do not combine mention, recommendation, and accuracy into one score unless you document the weighting. A high mention rate can hide repeated factual errors.
Interpret results by prompt type
Aggregate scores by discovery, comparison, problem-based, and branded prompts. A single overall score can conceal a useful pattern. For example, Acme may perform well for branded questions but rarely appear in discovery questions. That suggests a different problem from inaccurate product descriptions.
Exercise
Acme appears in 6 of 10 runs. In those same runs, tracked brands appear 20 times in total, including 8 Acme mentions. What are Acme's mention rate and share of voice?
Show answer
The mention rate is 6 ÷ 10 = 60%. The share of voice is 8 ÷ 20 = 40%.