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
[FSSDK-11184] Update: Send CMAB uuid in impression events (#458)
* update: integrate CMAB components into OptimizelyFactory
* update: add cmab_service parameter to Optimizely constructor for CMAB support
* update: add docstring to DefaultCmabService class for improved documentation
* update: implement CMAB support in bucketer and decision service, revert OptimizelyFactory
* linting fix
* update: add cmab_uuid handling in DecisionService and related tests
* - updated function bucket_to_entity_id
- test_optimizely.py fixed to expect new Decision objects
* update: add None parameter to Decision constructor in user context tests
* update: enhance CMAB decision handling and add related tests
* update: fix logger message formatting in CMAB experiment tests
* mypy fix
* update: refine traffic allocation type hints and key naming in bucketer and decision service
* update: remove unused import of cast in bucketer.py
* update: fix return type for numeric_metric_value in get_numeric_value and ensure key is of bytes type in hash128
* update: specify type hint for numeric_metric_value in get_numeric_value function
* update: fix logger reference in DefaultCmabClient initialization and add __init__.py for cmab module
* update: enhance error logging for CMAB fetch failures with detailed messages and add a test for handling 500 errors
* update: enhance decision result handling by introducing VariationResult and updating get_variation return type to include detailed error information
* update: refactor get_variation return structure and change tests accordingly
* -Error propagated to optimizely.py
-test cases changed to handle return type dicts of DecisionResult and VariationResult
* update: add cmab_uuid parameter to impression events
* update: add None parameter to impression events in decision tests
* update: modify get_variation to return VariationResult and adjust related logic for improved variation handling
* update: unit test fixes
* update: include CMAB UUID in activation and add corresponding tests
* update: add tests for get_variation with and without CMAB UUID
* Revert "update: unit test fixes"
This reverts commit d2fc631.
* Revert "update: modify get_variation to return VariationResult and adjust related logic for improved variation handling"
This reverts commit b901c5f.
* update: make cmab_uuid parameter optional in _send_impression_event method
* chore: trigger CI by turning on python flag
* update: new class method to handle optimizely error decisions
* fix unit test
* fix: update error logging format for CMAB fetch failures
* chore: trigger CI
* update: enhance decision service to handle error states and improve bucketing logic
* update: remove debug print statement from Optimizely class
* update: enhance bucketing logic to support CMAB traffic allocations
* update: improve error logging for CMAB decision fetch failures
* update: improve logging and error handling in bucketer and decision service
* update: add test for CMAB UUID handling in decision events. Removed two redundant tests on legacy api.
* update: enhance CMAB UUID handling in decide method and verify dispatched events
0 commit comments