← Back to list feature
Grouped Reporting - Consistent Aggregation
report-grouped endpoint with filters consistent with the raw report, so the FE does not need two parsers.
Problem
FE needs different parsers for raw vs grouped; aggregation output inconsistent.
Decision
Shared filter; grouped uses reference grouping (in/out) or consecutive grouping (all).
Result
One FE parser handles both; aggregation output consistent with raw.
Implementation
- Filter is shared between raw and grouped - duplicate validation on the FE.
- Reference grouping when type ∈ in/out; consecutive grouping when type = all.