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

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.

self.audienceConditions = audienceConditions
self.includedFlags = includedFlags or []
self.excludedFlags = excludedFlags or []
self.layerId = ''

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Add flag-specific included holdouts AFTER global holdouts
# Add flag-specific local holdouts AFTER global holdouts

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.

3 participants