Metrics and Statistics
Collection hooks, timeline buckets, protobuf encoding, and result aggregation
Metric dimensions (total_damage, casts, hits, crits, resource_spent, resource_gained, resource_wasted, time_at_cap), per-spell/per-aura/per-resource/per-cooldown aggregates, collection hooks (CastHook, DamageHook, AuraHook, CooldownHook, ResourceHook, SimEndHook), timeline support (1-second DPS buckets, aura windows, cooldown windows, timeline markers), SimulationResult (mean_dps, std_dps, min_dps, max_dps), protobuf encoding for efficient binary storage (sim_result.proto), metric descriptors for extensible metrics, statistical functions from wowlab-common (correlation, regression, EMA), result aggregation across parallel batches.
Next steps