Why projection, not aggregation
A delivery event is the source of truth. The metered unit is a projection — derived from the event, not stored alongside it. Two properties follow:- Re-projectable. Given the same delivery events and the same projection rules, the metered units are bit-identical. This is how the auditor checks the platform’s numbers.
- Versioned. When the projection rules change (e.g. a new IAB viewability standard), we version the rule set and reproject historical data. Old rules are kept reachable for compliance audit.
Substrate-specific projection rules
Each substrate has its own projection rules. The headline ones:
The full rule set ships in the
@enfinitos/sdk-auditor package
(metering module) with every release — so a regulator can
reproject historic packs offline.