File size: 1,179 Bytes
ef78361
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
"""Core infrastructure modules.

Re-exports for backward compatibility and convenience.
"""
from .api_client import ChainShiftClient
from .supabase_client import (
    get_campaign_overview,
    get_campaign_date_range,
    get_false_positives,
    get_llm_verification_stats,
    get_polarity_stats,
    get_answers_by_polarity,
    get_topic_clusters,
    get_topic_map_snapshot,
    get_true_negatives,
)
from .athena_client import fetch_full_answer
from .data_fetchers import get_campaigns
from .utils import (
    format_brands_list,
    get_confidence_tier,
    get_feedback_reason_label,
    get_feedback_type_emoji,
    get_llm_tier_badge,
    highlight_evidence_spans,
    truncate_text,
)
from .charts import (
    CONFIDENCE_TIER_COLORS,
    EMOTION_KO,
    create_brand_sentiment_chart,
    create_confidence_tier_pie_chart,
    create_domain_bar_chart,
    create_nudge_by_cej_bar_chart,
    create_platform_bar_chart,
)
from .export_utils import render_export_component
from .job_realtime import (
    get_active_jobs,
    get_recent_jobs,
    format_job_duration,
    get_status_emoji,
    get_status_label,
)
from .styles import DASHBOARD_CSS, TIER_BORDER_COLORS