You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3cfb10c
Browse filesBrowse the repository at this point in the historyBrowse files
[AI-FSSDK] [FSSDK-12369] Add local holdouts support with includedRules field
- Add global_holdouts and rule_holdouts_map to DatafileProjectConfig initialization
- Classify holdouts as global (includedRules nil) or local (includedRules array) during config parsing
- Add get_global_holdouts and get_holdouts_for_rule methods to DatafileProjectConfig
- Update get_decision_for_flag to use get_global_holdouts instead of holdout_id_map.values
- Add local holdout checks in get_variation_from_experiment_rule (after forced decisions)
- Add local holdout checks in get_variation_from_delivery_rule (after forced decisions)
- Add CONFIG_BODY_WITH_LOCAL_HOLDOUTS test fixture with mixed global and local holdouts
- Add local_holdouts_spec.rb with 10 tests covering config classification and helper methods
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
message="The user '#{user_context.user_id}' is bucketed into local holdout '#{holdout['key']}' for delivery rule '#{rule['key']}' in flag '#{flag_key}'."
0 commit comments