{% extends "base.html" %} {% block title %}Metrics Dashboard - Energizados Web Console{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

📈 Metrics Timeline Dashboard

{# Per-type run counts: the timeline is training-only (AUC/F1), so the mix of run types makes the chart's scope legible at a glance. #} {% set type_meta = { "etl": {"icon": "bi-database", "label": "ETL"}, "eda": {"icon": "bi-bar-chart", "label": "EDA"}, "inference": {"icon": "bi-lightning", "label": "Inference"}, "training": {"icon": "bi-cpu", "label": "Training"} } %}
{% for bucket in run_type_buckets %}
{{ run_counts[bucket] }} {{ type_meta[bucket].label }}
{% endfor %}

Training runs — AUC/F1 over time

Loading...

Loading timeline data...

{% endblock %} {% block extra_scripts %} {# Item A: scope the dashboard's fetch/click/redirect URLs to the project when project_id is present in context; otherwise keep the legacy Global URLs. #} {% if project_id %} {% set dash_base = '/projects/' ~ project_id ~ '/dashboard' %} {% set timeline_url = '/projects/' ~ project_id ~ '/api/dashboard/timeline' %} {% set runs_base = '/projects/' ~ project_id ~ '/runs' %} {% else %} {% set dash_base = '/dashboard' %} {% set timeline_url = '/api/dashboard/timeline' %} {% set runs_base = '/runs' %} {% endif %} {% endblock %}