{% extends "base.html" %} {% block title %}Toxicity Analysis Dashboard{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
Total Scored
{{ (stats.total_scored_posts + stats.total_scored_mentions) | format_number }}
{{ stats.total_scored_posts | format_number }} posts + {{ stats.total_scored_mentions | format_number }} mentions
Flagged Posts
{{ stats.flagged_posts | format_number }}
{{ "%.2f" | format(100.0 * stats.flagged_posts / (stats.total_scored_posts or 1)) }}% of scored posts
Flagged Mentions
{{ stats.flagged_mentions | format_number }}
{{ "%.2f" | format(100.0 * stats.flagged_mentions / (stats.total_scored_mentions or 1)) }}% of scored mentions
Average Toxicity
{{ "%.1f" | format(100.0 * ((stats.avg_toxicity_posts + stats.avg_toxicity_mentions) / 2.0)) }}%
Posts: {{ "%.2f" | format(100.0 * stats.avg_toxicity_posts) }}% Mentions: {{ "%.2f" | format(100.0 * stats.avg_toxicity_mentions) }}%
Toxicity Trends Over Time
Toxicity by Category
Recent Analysis Runs
{% if runs %}
{% for run in runs[:5] %} {% endfor %}
Started Duration Posts Scored Mentions Scored Errors Cost Status
{{ run.started_at | time_ago }} {% if run.duration_secs is not none %}{{ "%.0f" | format(run.duration_secs | float) }}s{% else %}—{% endif %} {{ run.posts_scored | format_number }} {{ run.mentions_scored | format_number }} {{ run.errors }} ${{ "%.4f" | format(run.cost_usd | default(0) | float) }} {{ run.status }}
{% else %}

No analysis runs yet. Start a new analysis to see results here.

{% endif %}
{% endblock %}