Open nspope opened 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 89.62%. Comparing base (
e6483fc
) to head (62069ec
).
I'd like to generalize this algorithm slightly:
num_windows
by num_nodes
array (which is very large), or a num_windows
by num_time_windows
array where the counts are summed within time windows.So, I think it'd be useful to take the current algorithm, and have it apply a summary function at the end of each window. This would let us calculate any useful summary statistic without having to create a potentially humongous array (windows by nodes by indexes) as an intermediate.
The API would stay the same-- later on, we could add named methods for various summary statistics, and potentially eventually expose a "general summary stat" interface, like is done for the other statistics.
Low level extension of #2915