From 7fb7d775d8ac729a18f896b81c7b7b3c0218fb4e Mon Sep 17 00:00:00 2001 From: Srilekha Date: Tue, 27 Oct 2026 10:23:02 +0530 Subject: [PATCH] fix: resolve governance gaps, patch credential exposure, and connect multi-platform dashboard --- app.py | 453 +++++++++++---------------- collectors/test_spotify_endpoints.py | 24 +- core/ranking_engine.py | 61 ++-- pipeline/batch_500_runner.py | 84 ++--- test_multiplatform_ranking.py | 89 ++++-- 5 files changed, 324 insertions(+), 387 deletions(-) diff --git a/app.py b/app.py index 61fa80c..b9805b1 100644 --- a/app.py +++ b/app.py @@ -1,30 +1,30 @@ """ app.py -HIFFI Artist Intelligence - Executive Dashboard -Clean dark-themed design with aligned dataframes, responsive cards, and scouting dossier. +HIFFI Artist Intelligence - Multi-Platform Executive Dashboard +Clean dark-themed design with multi-platform evidence tiers, Spotify & Instagram telemetry, +breakout velocity index, and deep-dive scouting dossier. """ import io -import os +from pathlib import Path import pandas as pd import plotly.express as px -import plotly.graph_objects as go import streamlit as st st.set_page_config( - page_title="HIFFI | Artist Intelligence", + page_title="HIFFI | Multi-Platform Intelligence", page_icon="⚡", layout="wide", initial_sidebar_state="expanded", ) -DATA_PATH = "enriched_artists.csv" +DATA_PATH = Path("data/hiffi_multiplatform_500.csv") +FALLBACK_DATA_PATH = Path("enriched_artists.csv") # Global CSS Polish st.markdown( """