COB summary working

This commit is contained in:
Dobromir Popov
2025-06-30 02:20:36 +03:00
parent fab25ffe6f
commit 4c53871014
3 changed files with 467 additions and 855 deletions

View File

@ -607,6 +607,18 @@ class DashboardComponentManager:
html.Span(f" @ {pred_time}", className="text-muted small")
], className="mb-1"),
# Timing information (NEW)
html.Div([
html.Span("Timing: ", className="text-muted small"),
html.Span(f"Inf: {model_info.get('timing', {}).get('last_inference', 'None')}", className="text-info small"),
html.Span(" | ", className="text-muted small"),
html.Span(f"Train: {model_info.get('timing', {}).get('last_training', 'None')}", className="text-warning small"),
html.Br(),
html.Span(f"Rate: {model_info.get('timing', {}).get('inferences_per_second', '0.00')}/s", className="text-success small"),
html.Span(" | ", className="text-muted small"),
html.Span(f"24h: {model_info.get('timing', {}).get('predictions_24h', 0)}", className="text-primary small")
], className="mb-1"),
# Loss metrics with improvement tracking
html.Div([
html.Span("Current Loss: ", className="text-muted small"),