feat(campaign): surface aggregate reports

This commit is contained in:
2026-07-22 08:49:38 +02:00
parent 7229fb8e3d
commit 8ee87b7558
6 changed files with 56 additions and 25 deletions

View File

@@ -304,8 +304,9 @@ def _build_aggregate_campaign_report(
population=AggregatePopulation(
denominator=denominator,
denominator_definition=(
"All recipient delivery jobs built for the selected campaign version. "
"Inactive source entries are excluded and reported separately."
"All persisted recipient delivery jobs for the selected campaign version, "
"including excluded or blocked jobs. Inactive source entries without a job "
"record are excluded and reported separately."
),
inactive_source_entries=standalone_counts["inactive_source_entries"],
excluded_or_blocked_jobs=standalone_counts["excluded_or_blocked_jobs"],