Internal Service β This is not an HTTP endpoint. Itβs called by the analyze-visibility orchestrator.
Purpose
Calculates visibility scores from raw platform results. Converts boolean arrays into percentages and overall scores.Functions
calculate_platform_scores
calculate_overall_score
(overall_score, total_visible):
- overall_score: 0-100, weighted average across platforms
- total_visible: Total number of (prompt, platform) pairs where visible