Skip to content
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

Merged
merged 6 commits into from
Jun 6, 2024

Conversation

anzelpwj
Copy link
Contributor

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.

@anzelpwj
Copy link
Contributor Author

Tagging @shaunagm and @matthewkrausse as interested parties.

@anzelpwj anzelpwj requested a review from shaunagm May 29, 2024 23:35
Copy link
Collaborator

@shaunagm shaunagm left a 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.

mock_response_enriched[3]["emailMessageContent"] = sample_content_single
mock_response_enriched[4]["emailMessageContent"] = sample_content_full

print(mock_response_enriched)
Copy link
Collaborator

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?

Copy link
Contributor Author

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).

Copy link
Collaborator

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

@shaunagm shaunagm merged commit d512faa into move-coop:main Jun 6, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants