cisagov / con-pca-api

API Docker Container for Con-PCA
Creative Commons Zero v1.0 Universal
7 stars 0 forks source link

Fix CPD-1103: Avoid over 100% bug for aggregate stats #938

Closed izzy64 closed 1 year ago

izzy64 commented 1 year ago

๐Ÿ—ฃ Description

Jira Ticket: https://cset.atlassian.net/browse/CPD-1103

๐Ÿ’ญ Motivation and context

When emails are sending as they should, sometimes the calculation identifies more emails sent than scheduled to be sent, and the success rate goes over 100%. By calculating the scheduled and sent emails within the same aggregation, this should hopefully be resolved.

๐Ÿงช Testing

Tested locally

โœ… Pre-approval checklist