[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.py to exclude CMAB experiments from user profile service updates
  • Added test test_get_variation_cmab_experiment_excludes_user_profile_service to verify CMAB decisions are not saved to UPS

Test Results

✅ All 49 decision service tests pass
✅ New test validates CMAB exclusion from UPS

Reference

🤖 Generated with Claude Code