Brand visibility is calculated by scaling the proportion of brand mentions against total category mentions, weighted across ranked positions using a calibrated decay formula and rolled up through a hierarchical brand structure.

flowchart TD
    A[Raw Model Output] --> B[Parse Brand Mentions]
    B --> C["Rank Decay Weighting<br/>max(0, N + 1 - rank) / N"]
    C --> D[Matryoshka Rollup to Root Entity]
    D --> E["Visibility Score<br/>100 * Sum(Weights) / Total Mentions"]