[AI-FSSDK] (DO NOT REVIEW) [FSSDK-12262] Exclude CMAB from UserProfileService by jaeopt · Pull Request #1 · jaeopt/python-sdk
Summary
CMAB should not use UPS for sticky bucketing. UPS maintains decisions across the experiment lifetime without considering TTL or user attributes, which contradicts CMAB's dynamic nature. This PR updates the SDK to explicitly exclude CMAB from UPS logic.
Changes
- Modified
decision_service.pyto exclude CMAB experiments from user profile service updates - Added test
test_get_variation_cmab_experiment_excludes_user_profile_serviceto verify CMAB decisions are not saved to UPS
Test Results
✅ All 49 decision service tests pass
✅ New test validates CMAB exclusion from UPS
Reference
- Jira Ticket: FSSDK-12262
- Reference Implementation: [FSSDK-12031] exclude CMAB from user profile service optimizely/javascript-sdk#1105
🤖 Generated with Claude Code