move-coop / parsons

A python library of connectors for the progressive community.
Other
254 stars 125 forks source link

[Feature] Add optional parameter to disaggregate A/B tests in NGP email code #1059

Open anzelpwj opened 1 month ago

anzelpwj commented 1 month ago

Detailed Description

I'd like to add an optional parameter to ngpvan.email code that allows you to avoid aggregating A/B test results in the get_email_stats method.

Context

Possible Implementation

New method call: get_email_stats(aggregate_ab=True), and if aggregate_ab is false then the try block does not aggregate.

Priority

Medium. I can do this.