# VisibilityOS by PodPitch | Matched AI answer outcomes
# Source: https://v...content-available-to-author-only...s.co/research/ai-answer-visibility
# Data: https://p...content-available-to-author-only...b.io/visibilityos-audit-template/study/dataset/

presence_gains = 45
presence_losses = 37
presence_unchanged = 735
official_link_changes = 79

matched_pairs = presence_gains + presence_losses + presence_unchanged
presence_changes = presence_gains + presence_losses
assert (matched_pairs, presence_changes) == (817, 82)

outcomes = [
    ("Brand presence gained", presence_gains),
    ("Brand presence lost", presence_losses),
    ("Brand presence unchanged", presence_unchanged),
    ("Any brand presence change", presence_changes),
    ("Official-link status changed", official_link_changes),
]

print("VisibilityOS by PodPitch | Matched AI answer outcomes")
print("Share of {:,} matched comparisons".format(matched_pairs))
print()
for label, count in outcomes:
    print("{:<30} {:>3}  {:>6.1%}".format(label, count, count / matched_pairs))

print()
print("Brand presence means a brand mention or a link to its official site.")
print("Gains, losses, and unchanged pairs are mutually exclusive.")
print("Official-link changes can overlap any of those outcomes.")
print("The sample covers PodPitch-owned sites across eight AI engine views.")
print("Read the study: https://v...content-available-to-author-only...s.co/research/ai-answer-visibility")
