Skip to main content

Module stats

Module stats 

Source
Expand description

Aggregate statistics computed over collections of model objects.

These functions consolidate business logic that was previously duplicated between the TUI and GUI interfaces.

Structs§

PatrolBreakdown
Rank breakdown within a single patrol.
RenewalStats
Aggregated membership renewal status across youth and adults.
TrainingStats
Aggregated training status across all adults in a unit.

Functions§

patrol_rank_breakdown
Compute patrol rank breakdown from a slice of youth.