-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to disaggregate A/B test emails #1065
Conversation
Tagging @shaunagm and @matthewkrausse as interested parties. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you confirm that you checked the data structures with @matthewkrausse? If yes, and if the print statement is meant to be there, I'll go ahead and merge.
test/test_van/test_email.py
Outdated
mock_response_enriched[3]["emailMessageContent"] = sample_content_single | ||
mock_response_enriched[4]["emailMessageContent"] = sample_content_full | ||
|
||
print(mock_response_enriched) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason we're printing something here, or is it left over from when you were debugging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was probably a holdover from testing things in a notebook. Will delete. The data structures I got directly from @matthewkrausse , just with a bit of field value changing (so it didn't have GGT data in it).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, just @ me once you've done that and I'll merge
Addresses #1059 - this gives us an optional parameter to the NGP email endpoint that lets us dis-aggregate A/B test results from the endpoint. I also did a bit of code cleanup and added some tests.