-
Notifications
You must be signed in to change notification settings - Fork 36
[FSSDK-12094] Fix Python holdout implementation which related to FSC failures #471
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
base: master
Are you sure you want to change the base?
Conversation
muzahidul-opti
left a comment
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.
Looks good to me. We need to figure out, how can we reuse Variation instead VariationDict
muzahidul-opti
left a comment
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.
Looks good to me.
| self.audienceConditions = audienceConditions | ||
| self.includedFlags = includedFlags or [] | ||
| self.excludedFlags = excludedFlags or [] | ||
| self.layerId = '' |
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.
nit: can we remove it, layerId doesn't need for holdout
| if holdout not in excluded_holdouts: | ||
| applicable_holdouts.append(holdout) | ||
|
|
||
| # Add flag-specific included holdouts AFTER global holdouts |
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.
| # Add flag-specific included holdouts AFTER global holdouts | |
| # Add flag-specific local holdouts AFTER global holdouts |
Summary
Test plan
Issues