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-11175] Update: Implement Decision Service methods to handle CMAB (#457)
* 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: modify get_variation to return VariationResult and adjust related logic for improved variation handling
* update: unit test fixes
* 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: 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
0 commit comments