Skip to content

Conversation

@esrakartalOpt
Copy link
Contributor

@esrakartalOpt esrakartalOpt commented Dec 10, 2025

Summary

  • Fixed Python Holdout implementation

Test plan

Issues

@esrakartalOpt esrakartalOpt changed the title [FSSDK-12094] Fix Ruby holdout implementation which related to FSC failures [FSSDK-12094] Fix Python holdout implementation which related to FSC failures Dec 11, 2025
@esrakartalOpt esrakartalOpt marked this pull request as ready for review December 16, 2025 18:23
Copy link

@muzahidul-opti muzahidul-opti left a 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"

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?

Copy link
Contributor Author

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

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]]:

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?

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