Skip to content

Services

The services layer contains all business logic. Each dashboard tab has a dedicated *_tab_logic module, backed by shared supporting services.

ModuleTab
control_tab_logic.pyControl tab — experiment selection and data loading
experiment_tab_logic.pyExperiment tab — time-series exploration
metrics_tab_logic.pyMetrics tab — training/prediction statistics
evaluation_tab_logic.pyEvaluation tab — model vs ground-truth comparison
ModuleRole
data_loader.pyLoads data from backend into DataFrames
experiment_cache.pyIn-memory cache to avoid re-fetching
experiment_fetcher.pyOrchestrates WebSocket fetching
experiment_filter.pyApplies user filter criteria
experiment_loader.pyCache-first loading coordinator
experiment_metadata_fetcher.pyFetches lightweight experiment metadata
experiment_plotter.pyGenerates interactive plots
experiment_selector.pyManages experiment selection state
model_manager.pyModel registry and lifecycle management
prediction_evaluator.pyComputes evaluation metrics
settings_service.pyCredentials and config access
simulation_worker.pySimulation scenario engine