Skip to content

[AI-FSSDK] [FSSDK-12369] Add local holdouts support to Python SDK#512

Open
Mat001 wants to merge 3 commits into
masterfrom
ai/mat001/FSSDK-12369-local-holdouts-2
Open

[AI-FSSDK] [FSSDK-12369] Add local holdouts support to Python SDK#512
Mat001 wants to merge 3 commits into
masterfrom
ai/mat001/FSSDK-12369-local-holdouts-2

Conversation

@Mat001
Copy link
Copy Markdown
Contributor

@Mat001 Mat001 commented May 15, 2026

Summary

Adds local holdouts support to the Python SDK. Local holdouts allow targeting specific experiment or delivery rules within a flag, as opposed to global holdouts which apply to all rules across all flags. This introduces rule-level holdout evaluation using the new includedRules field.

Changes

  • Added included_rules field to the Holdout entity with is_global computed property
  • Added get_global_holdouts() and get_holdouts_for_rule() methods to ProjectConfig and HoldoutConfig
  • Updated decision service to evaluate local holdouts per-rule after forced decisions, before regular rule evaluation
  • Added mandatory enforcement test verifying forced decisions beat 100% traffic local holdouts

Jira Ticket

FSSDK-12369

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.

1 participant