-
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
| - "3.10" | ||
| # disabled due to librt is not available on this pypy version | ||
| # - "pypy-3.9" | ||
| # - "pypy-3.10" |
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.
Couldn't we find a way to check with those versions?
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.
Disabled because of Matjaz's suggestion
optimizely/bucketer.py
Outdated
| experiment: Experiment, user_id: str, bucketing_id: str | ||
| ) -> tuple[Optional[Variation], list[str]]: | ||
| experiment: Experiment | Holdout, user_id: str, bucketing_id: str | ||
| ) -> tuple[Optional[Variation | VariationDict], list[str]]: |
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.
Why do we return VariationDict? Can we use Variation here?
Summary
Test plan
Issues