Store visibility results and calculate final score for an entity
total_true / (num_prompts * 8) * 100entity_prompts_tracker - Per-prompt visibility resultsvisibility_score_history - Single row per entity with recent_score and history_scores JSONBtotal_true_values is the count of True across all checks (e.g., 10 prompts Γ 8 platforms = 80 checks).
Example: If 40 out of 80 are True β raw_score = 50
prompt (string): The prompt textchatgpt (boolean): Visibility on ChatGPTclaude (boolean): Visibility on Claudegemini (boolean): Visibility on Geminiperplexity (boolean): Visibility on Perplexitycopilot (boolean): Visibility on Copilotdeepseek (boolean): Visibility on DeepSeekgrok (boolean): Visibility on Grokgoogle_ai (boolean): Visibility on Google AI"success" or "error"recent_score with latest scorehistory_scores JSONB array[{"date": "2025-12-15", "score": 41, "platforms": {...}}]