Skip to main content

Purpose

Stores aggregated visibility score calculated from prompt results across 8 AI platforms. Maintains historical score data for trend visualization.

Architecture

Score Formula

Where:
  • total_visible = Sum of all True values across all prompts and platforms
  • num_prompts = Number of prompts analyzed
  • 8 = Number of AI platforms

Request Body

Floor Protection

Scores cannot drop below the historical minimum + 1. This prevents dramatic score drops due to API failures or anomalies.

History Seeding

On first score, seeds 2 days of fake history for better chart visualization:
  • Day -2: Score 0
  • Day -1: Score 35 (signup day baseline)

Code Location