statsig-python-core 0.11.0__tar.gz → 0.11.1b2510300237__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of statsig-python-core might be problematic. Click here for more details.
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/Cargo.lock +6 -6
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/Cargo.toml +1 -1
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/PKG-INFO +1 -1
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/Cargo.toml +1 -1
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/__tests__/spec_store_tests.rs +4 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/dynamic_returnable.rs +4 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/evaluation_types.rs +13 -1
- statsig_python_core-0.11.1b2510300237/statsig-rust/src/evaluation/evaluation_types_initialize_v2.rs +95 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/evaluator_result.rs +208 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/mod.rs +2 -0
- statsig_python_core-0.11.1b2510300237/statsig-rust/src/evaluation/secondary_exposure_key.rs +16 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/gcir/dynamic_configs_processor.rs +100 -2
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/gcir/feature_gates_processor.rs +34 -1
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/gcir/gcir_formatter.rs +65 -1
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/gcir/layer_configs_processor.rs +47 -1
- statsig_python_core-0.11.1b2510300237/statsig-rust/src/initialize_v2_response.rs +68 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/lib.rs +1 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/networking/network_client.rs +8 -1
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/sdk_event_emitter/event_types.rs +24 -1
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/spec_store.rs +20 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/statsig.rs +10 -2
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/statsig_metadata.rs +1 -1
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/user/statsig_user_builder.rs +14 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/user/statsig_user_internal.rs +17 -7
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/user/user_data.rs +1 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/global_configs_test.rs +3 -2
- statsig_python_core-0.11.1b2510300237/statsig-rust/tests/statsig_environment_tests.rs +203 -0
- statsig_python_core-0.11.1b2510300237/statsig-rust/tests/statsig_event_emitter_usage_test.rs +156 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/statsig_user_loggable_tests.rs +4 -0
- statsig_python_core-0.11.0/statsig-rust/tests/statsig_event_emitter_usage_test.rs +0 -107
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/py_src/statsig_python_core/__init__.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/py_src/statsig_python_core/data_store.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/py_src/statsig_python_core/error_boundary.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/py_src/statsig_python_core/observability_client.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/py_src/statsig_python_core/output_logger_provider.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/py_src/statsig_python_core/persistent_storage.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/py_src/statsig_python_core/py.typed +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/py_src/statsig_python_core/requirements.txt +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/py_src/statsig_python_core/statsig.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/py_src/statsig_python_core/statsig_python_core.pyi +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/pyproject.toml +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-grpc/Cargo.toml +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-grpc/README.md +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-grpc/api-interface-definitions/README.md +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-grpc/api-interface-definitions/protos/data_adapter.proto +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-grpc/api-interface-definitions/protos/grpc_health.proto +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-grpc/api-interface-definitions/protos/statsig_forward_proxy.proto +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-grpc/build.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-grpc/src/lib.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-grpc/src/mock_forward_proxy.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-grpc/src/statsig_forward_proxy.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-grpc/src/statsig_grpc_client.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-grpc/src/statsig_grpc_err.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/.github/workflows/CI.yml +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/.gitignore +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/Cargo.toml +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/README.md +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/py_src/statsig_python_core/__init__.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/py_src/statsig_python_core/data_store.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/py_src/statsig_python_core/error_boundary.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/py_src/statsig_python_core/observability_client.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/py_src/statsig_python_core/output_logger_provider.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/py_src/statsig_python_core/persistent_storage.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/py_src/statsig_python_core/py.typed +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/py_src/statsig_python_core/requirements.txt +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/py_src/statsig_python_core/statsig.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/py_src/statsig_python_core/statsig_python_core.pyi +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/src/bin/stub_gen.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/src/data_store_base_py.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/src/lib.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/src/observability_client_base_py.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/src/output_logger_provider_base_py.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/src/pyo_utils.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/src/safe_gil.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/src/statsig_base_py.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/src/statsig_metadata_py.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/src/statsig_options_py.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/src/statsig_persistent_storage_override_adapter_py.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/src/statsig_types_py.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/src/statsig_user_py.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/src/unit_id_py.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/src/valid_primitives_py.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/fork_runner.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/mock_scrapi.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/shutdown_sub_proc.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/test_data_store.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/test_error_boundary.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/test_exposure_logging.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/test_forking.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/test_initialize_with_details.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/test_observability_client.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/test_output_logger_provider.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/test_override_adapter.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/test_shared_statsig.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/test_shutdown.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/test_statsig.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/test_statsig_options.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/test_statsig_user.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/test_statsig_user_pickle.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-pyo3/tests/utils.py +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/resources/ip_supalite.table +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/resources/ua_parser_regex.yaml +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/resources/ua_parser_regex_lite.yaml +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/__tests__/interned_string_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/__tests__/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/compression/compression_helper.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/compression/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/data_store_interface.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/dcs_str.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/__tests__/dynamic_returnable_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/__tests__/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/cmab_evaluator.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/comparisons/compare_arrays.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/comparisons/compare_numbers.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/comparisons/compare_str_with_regex.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/comparisons/compare_strings_in_array.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/comparisons/compare_time.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/comparisons/compare_versions.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/comparisons/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/country_lookup.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/dynamic_string.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/dynamic_value.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/evaluation_details.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/evaluation_types_v2.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/evaluator.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/evaluator_context.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/evaluator_value.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/get_unit_id.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/user_agent_parsing/first_party_ua_parser.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/user_agent_parsing/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_helpers.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_tokenizer.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_ua_parser_browser.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_ua_parser_os.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/tokenizer.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/ua_parser.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/window_iter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/user_agent_parsing/third_party_ua_parser.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/evaluation/user_agent_parsing/ua_parser.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_emitter/statsig_event_emitter_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/event_logger.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/event_logger_constants.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/event_logger_ops_stats.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/event_queue/batch.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/event_queue/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/event_queue/queue.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/event_queue/queued_config_expo.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/event_queue/queued_event.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/event_queue/queued_experiment_expo.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/event_queue/queued_gate_expo.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/event_queue/queued_layer_param_expo.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/event_queue/queued_passthrough.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/exposure_sampling.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/exposure_utils.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/flush_interval.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/flush_type.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/statsig_event.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging/statsig_event_internal.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging_adapter/event_logging_adapter_trait.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging_adapter/log_event_payload.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging_adapter/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging_adapter/statsig_http_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/event_logging_adapter/statsig_local_file_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/gcir/gcir_options.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/gcir/gcir_process_iter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/gcir/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/gcir/param_stores_processor.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/gcir/stringify_sec_exposures.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/gcir/target_app_id_utils.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/global_configs.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/hashing/ahash.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/hashing/djb2.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/hashing/hash_util.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/hashing/memo_sha_256.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/hashing/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/id_lists_adapter/id_list.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/id_lists_adapter/id_lists_adapter_trait.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/id_lists_adapter/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/id_lists_adapter/statsig_http_id_lists_adapter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/init_details.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/initialize_evaluations_response.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/initialize_response.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/instance_registry.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/interned_string.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/interned_value_store.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/macros.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/networking/__tests__/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/networking/__tests__/response_data_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/networking/http_types.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/networking/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/networking/network_error.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/networking/providers/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/networking/providers/net_provider_global.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/networking/providers/net_provider_noop.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/networking/providers/net_provider_reqwest.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/networking/proxy_config.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/observability/diagnostics_observer.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/observability/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/observability/observability_client_adapter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/observability/ops_stats.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/observability/sdk_errors_observer.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/output_logger.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/override_adapter/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/override_adapter/override_adapter_trait.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/override_adapter/statsig_local_override_adapter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/persistent_storage/__tests__/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/persistent_storage/__tests__/sticky_values_serialization_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/persistent_storage/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/persistent_storage/persistent_storage_trait.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/persistent_storage/persistent_values_manager.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/sdk_diagnostics/diagnostics.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/sdk_diagnostics/diagnostics_utils.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/sdk_diagnostics/marker.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/sdk_diagnostics/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/sdk_event_emitter/event_emitter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/sdk_event_emitter/event_emitter_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/sdk_event_emitter/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/specs_adapter/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/specs_adapter/specs_adapter_trait.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/specs_adapter/statsig_bootstrap_specs_adapter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/specs_adapter/statsig_customized_specs_adapter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/specs_adapter/statsig_data_store_specs_adapter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/specs_adapter/statsig_grpc_specs_adapter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/specs_adapter/statsig_http_specs_adapter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/specs_adapter/statsig_local_file_specs_adapter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/specs_response/cmab_types.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/specs_response/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/specs_response/param_store_types.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/specs_response/spec_directory.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/specs_response/spec_types.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/statsig_core_api_options.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/statsig_err.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/statsig_global.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/statsig_options.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/statsig_runtime.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/statsig_type_factories.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/statsig_types.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/user/into_optional.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/user/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/user/statsig_user.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/user/statsig_user_loggable.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/user/unit_id.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/src/utils/mod.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/check_gate_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/customized_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/big_number_dcs.json +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/check_gate_perf_dcs.json +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/company_id_list +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/dcs_missing_gates.json +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/dcs_with_checksum.json +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/dcs_with_sampling.json +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/dcs_with_sdk_configs.json +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/eval_proj_dcs.json +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/get_id_lists.json +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/shared_dict_dict_only.json +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/shared_dict_original_dcs.json +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/shared_dict_response_uncompressed.json +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/shared_dict_response_with_dict.json +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/shared_dict_response_without_dict.json +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/test_must_pass_user_agents.txt +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/test_user_agents.txt +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data/ua_string_cases.json +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/data_store_lock_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/direct_gcir_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/dynamic_string_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/dynamic_value_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/evaluation_details_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/evaluator_value_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/event_logger_failing_flush_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/event_logger_flush_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/event_logger_high_qps_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/event_logger_usage_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/expected_evaluation_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/exposure_sampling_key_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/exposure_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/flushing_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/gate_inversion_eval_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/gcir_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/grpc_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/hash_util_evaluation_hash_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/http_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/initialize_timeout_test.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/instance_registry_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/layer_serialization_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/list_methods_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/network_client_streaming_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/network_client_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/network_failure_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/observability_client_usage_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/output_logger_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/override_adapter_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/perf_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/spec_types_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/statsig_disable_network_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/statsig_global_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/statsig_local_file_event_logging_adapter_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/statsig_local_file_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/statsig_options_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/statsig_shared_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/statsig_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/statsig_user_builder_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/statsig_user_field_accessor_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/statsig_user_internal_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/statsig_user_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/syncing_network_failure_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/typed_getters_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/ua_parser_util_test.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/user_agent_tests_first_party.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/user_agent_tests_third_party.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/user_json_tests.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/utils/helpers.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/utils/mock_data_store.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/utils/mock_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/utils/mock_log_provider.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/utils/mock_observability_client.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/utils/mock_scrapi.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/utils/mock_specs_adapter.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/utils/mock_specs_listener.rs +0 -0
- {statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/tests/utils/mod.rs +0 -0
|
@@ -2374,7 +2374,7 @@ dependencies = [
|
|
|
2374
2374
|
|
|
2375
2375
|
[[package]]
|
|
2376
2376
|
name = "sigstat-grpc"
|
|
2377
|
-
version = "0.11.
|
|
2377
|
+
version = "0.11.1-beta.2510300237"
|
|
2378
2378
|
dependencies = [
|
|
2379
2379
|
"async-trait",
|
|
2380
2380
|
"chrono",
|
|
@@ -2438,7 +2438,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
|
|
|
2438
2438
|
|
|
2439
2439
|
[[package]]
|
|
2440
2440
|
name = "statsig-node"
|
|
2441
|
-
version = "0.11.
|
|
2441
|
+
version = "0.11.1-beta.2510300237"
|
|
2442
2442
|
dependencies = [
|
|
2443
2443
|
"async-trait",
|
|
2444
2444
|
"napi",
|
|
@@ -2452,7 +2452,7 @@ dependencies = [
|
|
|
2452
2452
|
|
|
2453
2453
|
[[package]]
|
|
2454
2454
|
name = "statsig-pyo3"
|
|
2455
|
-
version = "0.11.
|
|
2455
|
+
version = "0.11.1-beta.2510300237"
|
|
2456
2456
|
dependencies = [
|
|
2457
2457
|
"async-trait",
|
|
2458
2458
|
"lazy_static",
|
|
@@ -2466,7 +2466,7 @@ dependencies = [
|
|
|
2466
2466
|
|
|
2467
2467
|
[[package]]
|
|
2468
2468
|
name = "statsig-rust"
|
|
2469
|
-
version = "0.11.
|
|
2469
|
+
version = "0.11.1-beta.2510300237"
|
|
2470
2470
|
dependencies = [
|
|
2471
2471
|
"ahash",
|
|
2472
2472
|
"arc-swap",
|
|
@@ -2507,7 +2507,7 @@ dependencies = [
|
|
|
2507
2507
|
|
|
2508
2508
|
[[package]]
|
|
2509
2509
|
name = "statsig_elixir"
|
|
2510
|
-
version = "0.11.
|
|
2510
|
+
version = "0.11.1-beta.2510300237"
|
|
2511
2511
|
dependencies = [
|
|
2512
2512
|
"parking_lot",
|
|
2513
2513
|
"rustler",
|
|
@@ -2519,7 +2519,7 @@ dependencies = [
|
|
|
2519
2519
|
|
|
2520
2520
|
[[package]]
|
|
2521
2521
|
name = "statsig_ffi"
|
|
2522
|
-
version = "0.11.
|
|
2522
|
+
version = "0.11.1-beta.2510300237"
|
|
2523
2523
|
dependencies = [
|
|
2524
2524
|
"async-trait",
|
|
2525
2525
|
"cbindgen",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: statsig_python_core
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.1b2510300237
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
{statsig_python_core-0.11.0 → statsig_python_core-0.11.1b2510300237}/statsig-rust/Cargo.toml
RENAMED
|
@@ -38,7 +38,7 @@ serde_json = { version = "1.0.143", features = [
|
|
|
38
38
|
] }
|
|
39
39
|
serde_with = "3.4.0"
|
|
40
40
|
sha2 = "0.10.8"
|
|
41
|
-
sigstat-grpc = { path = "../statsig-grpc", version = "0.11.
|
|
41
|
+
sigstat-grpc = { path = "../statsig-grpc", version = "0.11.1-beta.2510300237", optional = true }
|
|
42
42
|
simple_logger = { version = "5.0.0" }
|
|
43
43
|
tempfile = "3.8.1"
|
|
44
44
|
tokio = { version = "1.39.1", features = ["full"] }
|
|
@@ -6,6 +6,7 @@ use parking_lot::Mutex;
|
|
|
6
6
|
use crate::{
|
|
7
7
|
data_store_interface::{DataStoreResponse, DataStoreTrait, RequestPath},
|
|
8
8
|
networking::ResponseData,
|
|
9
|
+
sdk_event_emitter::SdkEventEmitter,
|
|
9
10
|
SpecStore, SpecsSource, SpecsUpdate, StatsigErr, StatsigRuntime,
|
|
10
11
|
};
|
|
11
12
|
|
|
@@ -65,6 +66,7 @@ async fn test_spec_store_data_store_updates_forwarded_to_data_store() {
|
|
|
65
66
|
"test",
|
|
66
67
|
"test".to_string(),
|
|
67
68
|
StatsigRuntime::get_runtime(),
|
|
69
|
+
Arc::new(SdkEventEmitter::default()),
|
|
68
70
|
Some(data_store.clone()),
|
|
69
71
|
);
|
|
70
72
|
|
|
@@ -97,6 +99,7 @@ fn test_failure_to_update() {
|
|
|
97
99
|
"test",
|
|
98
100
|
"test".to_string(),
|
|
99
101
|
StatsigRuntime::get_runtime(),
|
|
102
|
+
Arc::new(SdkEventEmitter::default()),
|
|
100
103
|
None,
|
|
101
104
|
);
|
|
102
105
|
|
|
@@ -116,6 +119,7 @@ fn test_no_updates() {
|
|
|
116
119
|
"test",
|
|
117
120
|
"test".to_string(),
|
|
118
121
|
StatsigRuntime::get_runtime(),
|
|
122
|
+
Arc::new(SdkEventEmitter::default()),
|
|
119
123
|
None,
|
|
120
124
|
);
|
|
121
125
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
use super::dynamic_returnable::DynamicReturnable;
|
|
2
|
-
use crate::
|
|
2
|
+
use crate::{
|
|
3
|
+
evaluation::secondary_exposure_key::SecondaryExposureKey, interned_string::InternedString,
|
|
4
|
+
};
|
|
3
5
|
use serde::{Deserialize, Serialize};
|
|
4
6
|
|
|
5
7
|
pub fn is_false(v: &bool) -> bool {
|
|
@@ -27,6 +29,16 @@ impl SecondaryExposure {
|
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
|
|
32
|
+
impl From<&SecondaryExposure> for SecondaryExposureKey {
|
|
33
|
+
fn from(val: &SecondaryExposure) -> Self {
|
|
34
|
+
SecondaryExposureKey {
|
|
35
|
+
gate_name_hash: val.gate.hash,
|
|
36
|
+
rule_id_hash: val.rule_id.hash,
|
|
37
|
+
gate_value_hash: val.gate_value.hash,
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
30
42
|
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
|
|
31
43
|
pub struct ExtraExposureInfo {
|
|
32
44
|
pub sampling_rate: Option<u64>,
|
statsig_python_core-0.11.1b2510300237/statsig-rust/src/evaluation/evaluation_types_initialize_v2.rs
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
use crate::interned_string::InternedString;
|
|
2
|
+
use serde::{Deserialize, Serialize};
|
|
3
|
+
use serde_with::skip_serializing_none;
|
|
4
|
+
|
|
5
|
+
#[skip_serializing_none]
|
|
6
|
+
#[derive(Serialize, Deserialize, Clone)]
|
|
7
|
+
pub struct BaseEvaluationInitV2 {
|
|
8
|
+
#[serde(rename = "r")]
|
|
9
|
+
pub rule_id: Option<InternedString>,
|
|
10
|
+
#[serde(rename = "s")]
|
|
11
|
+
pub secondary_exposures: Option<Vec<InternedString>>,
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
#[skip_serializing_none]
|
|
15
|
+
#[derive(Serialize, Deserialize, Clone)]
|
|
16
|
+
pub struct GateEvaluationInitV2 {
|
|
17
|
+
#[serde(flatten)]
|
|
18
|
+
pub base: BaseEvaluationInitV2,
|
|
19
|
+
|
|
20
|
+
#[serde(rename = "i")]
|
|
21
|
+
pub id_type: Option<InternedString>,
|
|
22
|
+
#[serde(rename = "v")]
|
|
23
|
+
pub value: Option<bool>,
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
#[skip_serializing_none]
|
|
27
|
+
#[derive(Serialize, Deserialize, Clone)]
|
|
28
|
+
pub struct DynamicConfigEvaluationInitV2 {
|
|
29
|
+
#[serde(flatten)]
|
|
30
|
+
pub base: BaseEvaluationInitV2,
|
|
31
|
+
|
|
32
|
+
#[serde(rename = "i")]
|
|
33
|
+
pub id_type: Option<InternedString>,
|
|
34
|
+
#[serde(rename = "v")]
|
|
35
|
+
pub value: InternedString,
|
|
36
|
+
#[serde(rename = "p")]
|
|
37
|
+
pub passed: bool,
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
#[skip_serializing_none]
|
|
41
|
+
#[derive(Serialize, Deserialize, Clone)]
|
|
42
|
+
pub struct ExperimentEvaluationInitV2 {
|
|
43
|
+
#[serde(flatten)]
|
|
44
|
+
pub base: BaseEvaluationInitV2,
|
|
45
|
+
|
|
46
|
+
#[serde(rename = "i")]
|
|
47
|
+
pub id_type: Option<InternedString>,
|
|
48
|
+
#[serde(rename = "v")]
|
|
49
|
+
pub value: InternedString,
|
|
50
|
+
|
|
51
|
+
#[serde(rename = "gn")]
|
|
52
|
+
pub group_name: Option<InternedString>,
|
|
53
|
+
|
|
54
|
+
#[serde(rename = "ea")]
|
|
55
|
+
pub is_experiment_active: Option<bool>,
|
|
56
|
+
|
|
57
|
+
#[serde(rename = "ue")]
|
|
58
|
+
pub is_user_in_experiment: Option<bool>,
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
#[derive(Serialize, Deserialize, Clone)]
|
|
62
|
+
#[serde(untagged)]
|
|
63
|
+
pub enum AnyConfigEvaluationInitV2 {
|
|
64
|
+
DynamicConfig(DynamicConfigEvaluationInitV2),
|
|
65
|
+
Experiment(ExperimentEvaluationInitV2),
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
#[skip_serializing_none]
|
|
69
|
+
#[derive(Serialize, Deserialize, Clone)]
|
|
70
|
+
pub struct LayerEvaluationInitV2 {
|
|
71
|
+
#[serde(flatten)]
|
|
72
|
+
pub base: BaseEvaluationInitV2,
|
|
73
|
+
|
|
74
|
+
#[serde(rename = "v")]
|
|
75
|
+
pub value: InternedString,
|
|
76
|
+
|
|
77
|
+
#[serde(rename = "i")]
|
|
78
|
+
pub id_type: Option<InternedString>,
|
|
79
|
+
|
|
80
|
+
#[serde(rename = "gn")]
|
|
81
|
+
pub group_name: Option<InternedString>,
|
|
82
|
+
|
|
83
|
+
#[serde(rename = "ea")]
|
|
84
|
+
pub is_experiment_active: Option<bool>,
|
|
85
|
+
|
|
86
|
+
#[serde(rename = "ue")]
|
|
87
|
+
pub is_user_in_experiment: Option<bool>,
|
|
88
|
+
|
|
89
|
+
#[serde(rename = "ae")]
|
|
90
|
+
pub allocated_experiment_name: Option<InternedString>,
|
|
91
|
+
#[serde(rename = "ep")]
|
|
92
|
+
pub explicit_parameters: Option<Vec<InternedString>>,
|
|
93
|
+
#[serde(rename = "us")]
|
|
94
|
+
pub undelegated_secondary_exposures: Option<Vec<InternedString>>,
|
|
95
|
+
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
use std::collections::HashMap;
|
|
2
|
+
|
|
3
|
+
use ahash::AHashMap;
|
|
4
|
+
|
|
1
5
|
use super::dynamic_returnable::DynamicReturnable;
|
|
2
6
|
use super::evaluation_types::ExtraExposureInfo;
|
|
3
7
|
use super::evaluation_types_v2::{
|
|
@@ -8,6 +12,11 @@ use crate::evaluation::evaluation_types::{
|
|
|
8
12
|
BaseEvaluation, DynamicConfigEvaluation, ExperimentEvaluation, GateEvaluation, LayerEvaluation,
|
|
9
13
|
SecondaryExposure,
|
|
10
14
|
};
|
|
15
|
+
use crate::evaluation::evaluation_types_initialize_v2::{
|
|
16
|
+
BaseEvaluationInitV2, DynamicConfigEvaluationInitV2, ExperimentEvaluationInitV2,
|
|
17
|
+
GateEvaluationInitV2, LayerEvaluationInitV2,
|
|
18
|
+
};
|
|
19
|
+
use crate::evaluation::secondary_exposure_key::SecondaryExposureKey;
|
|
11
20
|
use crate::hashing::{HashAlgorithm, HashUtil};
|
|
12
21
|
use crate::interned_string::InternedString;
|
|
13
22
|
|
|
@@ -57,6 +66,22 @@ pub fn result_to_gate_eval_v2(
|
|
|
57
66
|
}
|
|
58
67
|
}
|
|
59
68
|
|
|
69
|
+
pub fn result_to_gate_eval_init_v2(
|
|
70
|
+
result: &mut EvaluatorResult,
|
|
71
|
+
expo_id_to_exposure_map: &mut HashMap<InternedString, SecondaryExposure>,
|
|
72
|
+
expo_key_to_expo_id_map: &mut AHashMap<SecondaryExposureKey, InternedString>,
|
|
73
|
+
) -> GateEvaluationInitV2 {
|
|
74
|
+
let value: Option<bool> = match result.bool_value {
|
|
75
|
+
true => Some(true),
|
|
76
|
+
_ => None,
|
|
77
|
+
};
|
|
78
|
+
GateEvaluationInitV2 {
|
|
79
|
+
base: result_to_base_eval_init_v2(result, expo_id_to_exposure_map, expo_key_to_expo_id_map),
|
|
80
|
+
id_type: result.id_type.take(),
|
|
81
|
+
value,
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
60
85
|
pub fn result_to_experiment_eval(
|
|
61
86
|
experiment_name: &str,
|
|
62
87
|
spec_entity: Option<&str>,
|
|
@@ -120,6 +145,40 @@ pub fn result_to_experiment_eval_v2(
|
|
|
120
145
|
}
|
|
121
146
|
}
|
|
122
147
|
|
|
148
|
+
pub fn result_to_experiment_eval_init_v2(
|
|
149
|
+
spec_entity: Option<&str>,
|
|
150
|
+
result: &mut EvaluatorResult,
|
|
151
|
+
expo_id_to_exposure_map: &mut HashMap<InternedString, SecondaryExposure>,
|
|
152
|
+
expo_key_to_expo_id_map: &mut AHashMap<SecondaryExposureKey, InternedString>,
|
|
153
|
+
value_id_to_value_map: &mut HashMap<InternedString, DynamicReturnable>,
|
|
154
|
+
value_key_to_value_id: &mut AHashMap<u64, InternedString>,
|
|
155
|
+
) -> ExperimentEvaluationInitV2 {
|
|
156
|
+
let value: Option<DynamicReturnable> = result.json_value.take();
|
|
157
|
+
|
|
158
|
+
let id_type = result.id_type.take();
|
|
159
|
+
|
|
160
|
+
let mut is_experiment_active = None;
|
|
161
|
+
let mut is_user_in_experiment = None;
|
|
162
|
+
|
|
163
|
+
if let Some(spec_entity) = spec_entity {
|
|
164
|
+
if spec_entity == "experiment" {
|
|
165
|
+
is_experiment_active = Some(result.is_experiment_active);
|
|
166
|
+
is_user_in_experiment = Some(result.is_experiment_group);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
let mapped_value = self::get_mapped_value(value, value_id_to_value_map, value_key_to_value_id);
|
|
171
|
+
|
|
172
|
+
ExperimentEvaluationInitV2 {
|
|
173
|
+
base: result_to_base_eval_init_v2(result, expo_id_to_exposure_map, expo_key_to_expo_id_map),
|
|
174
|
+
id_type,
|
|
175
|
+
value: mapped_value,
|
|
176
|
+
group_name: result.group_name.take(),
|
|
177
|
+
is_experiment_active,
|
|
178
|
+
is_user_in_experiment,
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
123
182
|
pub fn eval_result_to_experiment_eval(
|
|
124
183
|
experiment_name: &str,
|
|
125
184
|
result: &mut EvaluatorResult,
|
|
@@ -220,6 +279,58 @@ pub fn result_to_layer_eval_v2(
|
|
|
220
279
|
}
|
|
221
280
|
}
|
|
222
281
|
|
|
282
|
+
pub fn result_to_layer_eval_init_v2(
|
|
283
|
+
result: &mut EvaluatorResult,
|
|
284
|
+
expo_id_to_exposure_map: &mut HashMap<InternedString, SecondaryExposure>,
|
|
285
|
+
expo_key_to_expo_id_map: &mut AHashMap<SecondaryExposureKey, InternedString>,
|
|
286
|
+
value_id_to_value_map: &mut HashMap<InternedString, DynamicReturnable>,
|
|
287
|
+
value_key_to_value_id: &mut AHashMap<u64, InternedString>,
|
|
288
|
+
) -> LayerEvaluationInitV2 {
|
|
289
|
+
let value: Option<DynamicReturnable> = result.json_value.take();
|
|
290
|
+
|
|
291
|
+
let mut allocated_experiment_name = None;
|
|
292
|
+
let mut is_experiment_active = None;
|
|
293
|
+
let mut is_user_in_experiment = None;
|
|
294
|
+
|
|
295
|
+
if let Some(config_delegate) = result.config_delegate.take() {
|
|
296
|
+
if !config_delegate.is_empty() {
|
|
297
|
+
allocated_experiment_name = Some(config_delegate.clone());
|
|
298
|
+
is_experiment_active = Some(result.is_experiment_active);
|
|
299
|
+
is_user_in_experiment = Some(result.is_experiment_group);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
let id_type = result.id_type.take();
|
|
304
|
+
|
|
305
|
+
let mapped_exposures: Option<Vec<InternedString>> = match result
|
|
306
|
+
.undelegated_secondary_exposures
|
|
307
|
+
.as_mut()
|
|
308
|
+
{
|
|
309
|
+
Some(undelegated_secondary_exposures) if !&undelegated_secondary_exposures.is_empty() => {
|
|
310
|
+
Some(self::map_exposures(
|
|
311
|
+
undelegated_secondary_exposures,
|
|
312
|
+
expo_id_to_exposure_map,
|
|
313
|
+
expo_key_to_expo_id_map,
|
|
314
|
+
))
|
|
315
|
+
}
|
|
316
|
+
_ => None,
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
let mapped_value = self::get_mapped_value(value, value_id_to_value_map, value_key_to_value_id);
|
|
320
|
+
|
|
321
|
+
LayerEvaluationInitV2 {
|
|
322
|
+
base: result_to_base_eval_init_v2(result, expo_id_to_exposure_map, expo_key_to_expo_id_map),
|
|
323
|
+
id_type,
|
|
324
|
+
value: mapped_value,
|
|
325
|
+
group_name: result.group_name.take(),
|
|
326
|
+
is_experiment_active,
|
|
327
|
+
is_user_in_experiment,
|
|
328
|
+
allocated_experiment_name,
|
|
329
|
+
explicit_parameters: result.explicit_parameters.cloned(),
|
|
330
|
+
undelegated_secondary_exposures: mapped_exposures,
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
223
334
|
pub fn result_to_dynamic_config_eval(
|
|
224
335
|
dynamic_config_name: &str,
|
|
225
336
|
result: &mut EvaluatorResult,
|
|
@@ -251,6 +362,48 @@ pub fn result_to_dynamic_config_eval_v2(
|
|
|
251
362
|
}
|
|
252
363
|
}
|
|
253
364
|
|
|
365
|
+
pub fn result_to_dynamic_config_eval_init_v2(
|
|
366
|
+
result: &mut EvaluatorResult,
|
|
367
|
+
expo_id_to_exposure_map: &mut HashMap<InternedString, SecondaryExposure>,
|
|
368
|
+
expo_key_to_expo_id_map: &mut AHashMap<SecondaryExposureKey, InternedString>,
|
|
369
|
+
value_id_to_value_map: &mut HashMap<InternedString, DynamicReturnable>,
|
|
370
|
+
value_key_to_value_id: &mut AHashMap<u64, InternedString>,
|
|
371
|
+
) -> DynamicConfigEvaluationInitV2 {
|
|
372
|
+
let value: Option<DynamicReturnable> = result.json_value.take();
|
|
373
|
+
|
|
374
|
+
let id_type = result.id_type.take();
|
|
375
|
+
|
|
376
|
+
let mapped_value = self::get_mapped_value(value, value_id_to_value_map, value_key_to_value_id);
|
|
377
|
+
|
|
378
|
+
DynamicConfigEvaluationInitV2 {
|
|
379
|
+
base: result_to_base_eval_init_v2(result, expo_id_to_exposure_map, expo_key_to_expo_id_map),
|
|
380
|
+
id_type,
|
|
381
|
+
value: mapped_value,
|
|
382
|
+
passed: result.bool_value,
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
fn get_mapped_value(
|
|
387
|
+
value: Option<DynamicReturnable>,
|
|
388
|
+
value_id_to_value_map: &mut HashMap<InternedString, DynamicReturnable>,
|
|
389
|
+
value_key_to_value_id: &mut AHashMap<u64, InternedString>,
|
|
390
|
+
) -> InternedString {
|
|
391
|
+
let val = match &value {
|
|
392
|
+
Some(v) => v,
|
|
393
|
+
None => &DynamicReturnable::empty(),
|
|
394
|
+
};
|
|
395
|
+
let hash = val.get_hash();
|
|
396
|
+
match value_key_to_value_id.get(&hash) {
|
|
397
|
+
Some(mapped_key) => mapped_key.clone(),
|
|
398
|
+
None => {
|
|
399
|
+
let value_id = InternedString::from_string(value_id_to_value_map.len().to_string());
|
|
400
|
+
value_id_to_value_map.insert(value_id.clone(), val.clone());
|
|
401
|
+
value_key_to_value_id.insert(hash, value_id.clone());
|
|
402
|
+
value_id
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
254
407
|
fn get_id_type_info(id_type: Option<&InternedString>) -> (InternedString, bool) {
|
|
255
408
|
let id_type = id_type.cloned().unwrap_or_default();
|
|
256
409
|
let is_device_based = id_type == "stableID" || id_type == "stableid";
|
|
@@ -325,6 +478,61 @@ fn result_to_base_eval_v2(
|
|
|
325
478
|
}
|
|
326
479
|
}
|
|
327
480
|
|
|
481
|
+
fn result_to_base_eval_init_v2(
|
|
482
|
+
result: &mut EvaluatorResult,
|
|
483
|
+
expo_id_to_exposure_map: &mut HashMap<InternedString, SecondaryExposure>,
|
|
484
|
+
expo_key_to_expo_id_map: &mut AHashMap<SecondaryExposureKey, InternedString>,
|
|
485
|
+
) -> BaseEvaluationInitV2 {
|
|
486
|
+
let rule_id = create_suffixed_rule_id(result.rule_id, result.rule_id_suffix);
|
|
487
|
+
let opt_rule_id = match rule_id.as_str() {
|
|
488
|
+
"default" => None,
|
|
489
|
+
_ => Some(rule_id),
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
if result.secondary_exposures.is_empty() {
|
|
493
|
+
return BaseEvaluationInitV2 {
|
|
494
|
+
rule_id: opt_rule_id,
|
|
495
|
+
secondary_exposures: None,
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
BaseEvaluationInitV2 {
|
|
500
|
+
rule_id: opt_rule_id,
|
|
501
|
+
secondary_exposures: Some(self::map_exposures(
|
|
502
|
+
&mut result.secondary_exposures,
|
|
503
|
+
expo_id_to_exposure_map,
|
|
504
|
+
expo_key_to_expo_id_map,
|
|
505
|
+
)),
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
fn map_exposures(
|
|
510
|
+
input_exposures: &mut Vec<SecondaryExposure>,
|
|
511
|
+
expo_id_to_exposure_map: &mut HashMap<InternedString, SecondaryExposure>,
|
|
512
|
+
expo_key_to_expo_id_map: &mut AHashMap<SecondaryExposureKey, InternedString>,
|
|
513
|
+
) -> Vec<InternedString> {
|
|
514
|
+
let my_exposures = std::mem::take(input_exposures);
|
|
515
|
+
my_exposures
|
|
516
|
+
.into_iter()
|
|
517
|
+
.map(|exposure| {
|
|
518
|
+
let expo_key = SecondaryExposureKey::from(&exposure);
|
|
519
|
+
|
|
520
|
+
match expo_key_to_expo_id_map.get(&expo_key) {
|
|
521
|
+
Some(expo_id) => expo_id.clone(),
|
|
522
|
+
None => {
|
|
523
|
+
let expo_id =
|
|
524
|
+
InternedString::from_string(expo_id_to_exposure_map.len().to_string());
|
|
525
|
+
|
|
526
|
+
expo_id_to_exposure_map.insert(expo_id.clone(), exposure);
|
|
527
|
+
expo_key_to_expo_id_map.insert(expo_key, expo_id.clone());
|
|
528
|
+
|
|
529
|
+
expo_id
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
})
|
|
533
|
+
.collect()
|
|
534
|
+
}
|
|
535
|
+
|
|
328
536
|
fn create_suffixed_rule_id(
|
|
329
537
|
rule_id: Option<&InternedString>,
|
|
330
538
|
suffix: Option<&str>,
|
|
@@ -3,11 +3,13 @@ pub mod dynamic_string;
|
|
|
3
3
|
pub mod dynamic_value;
|
|
4
4
|
pub mod evaluation_details;
|
|
5
5
|
pub mod evaluation_types;
|
|
6
|
+
pub mod evaluation_types_initialize_v2;
|
|
6
7
|
pub mod evaluation_types_v2;
|
|
7
8
|
pub mod evaluator;
|
|
8
9
|
pub mod evaluator_context;
|
|
9
10
|
pub mod evaluator_result;
|
|
10
11
|
pub mod evaluator_value;
|
|
12
|
+
pub mod secondary_exposure_key;
|
|
11
13
|
pub mod user_agent_parsing;
|
|
12
14
|
|
|
13
15
|
pub(crate) mod cmab_evaluator;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#[derive(Debug, PartialEq, Eq, Hash, Clone)]
|
|
2
|
+
pub struct SecondaryExposureKey {
|
|
3
|
+
pub gate_name_hash: u64,
|
|
4
|
+
pub rule_id_hash: u64,
|
|
5
|
+
pub gate_value_hash: u64,
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
impl SecondaryExposureKey {
|
|
9
|
+
pub fn new(gate_name_hash: u64, rule_id_hash: u64, gate_value_hash: u64) -> Self {
|
|
10
|
+
Self {
|
|
11
|
+
gate_name_hash,
|
|
12
|
+
rule_id_hash,
|
|
13
|
+
gate_value_hash,
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
+
use ahash::AHashMap;
|
|
1
2
|
use std::collections::HashMap;
|
|
2
3
|
|
|
3
4
|
use crate::{
|
|
4
5
|
evaluation::{
|
|
6
|
+
dynamic_returnable::DynamicReturnable,
|
|
5
7
|
evaluation_types::AnyConfigEvaluation,
|
|
8
|
+
evaluation_types_initialize_v2::AnyConfigEvaluationInitV2,
|
|
6
9
|
evaluation_types_v2::AnyConfigEvaluationV2,
|
|
7
10
|
evaluator::{Evaluator, SpecType},
|
|
8
11
|
evaluator_context::EvaluatorContext,
|
|
9
12
|
evaluator_result::{
|
|
10
|
-
result_to_dynamic_config_eval,
|
|
11
|
-
|
|
13
|
+
result_to_dynamic_config_eval, result_to_dynamic_config_eval_init_v2,
|
|
14
|
+
result_to_dynamic_config_eval_v2, result_to_experiment_eval,
|
|
15
|
+
result_to_experiment_eval_init_v2, result_to_experiment_eval_v2,
|
|
12
16
|
},
|
|
17
|
+
secondary_exposure_key::SecondaryExposureKey,
|
|
13
18
|
},
|
|
14
19
|
gcir::{
|
|
15
20
|
gcir_process_iter::hash_secondary_exposures,
|
|
@@ -190,6 +195,99 @@ pub(crate) fn get_dynamic_config_evaluations_v2(
|
|
|
190
195
|
Ok(result)
|
|
191
196
|
}
|
|
192
197
|
|
|
198
|
+
pub(crate) fn get_dynamic_config_evaluations_init_v2(
|
|
199
|
+
context: &mut EvaluatorContext,
|
|
200
|
+
options: &ClientInitResponseOptions,
|
|
201
|
+
expo_id_to_exposure_map: &mut HashMap<InternedString, SecondaryExposure>,
|
|
202
|
+
expo_key_to_expo_id_map: &mut AHashMap<SecondaryExposureKey, InternedString>,
|
|
203
|
+
value_id_to_value_map: &mut HashMap<InternedString, DynamicReturnable>,
|
|
204
|
+
value_key_to_value_id: &mut AHashMap<u64, InternedString>,
|
|
205
|
+
) -> Result<HashMap<String, AnyConfigEvaluationInitV2>, StatsigErr> {
|
|
206
|
+
let factory = |spec_entity: &str, _: &str, ctx: &mut EvaluatorContext| {
|
|
207
|
+
if spec_entity == "dynamic_config" {
|
|
208
|
+
let mut res = result_to_dynamic_config_eval_init_v2(
|
|
209
|
+
&mut ctx.result,
|
|
210
|
+
expo_id_to_exposure_map,
|
|
211
|
+
expo_key_to_expo_id_map,
|
|
212
|
+
value_id_to_value_map,
|
|
213
|
+
value_key_to_value_id,
|
|
214
|
+
);
|
|
215
|
+
if options.remove_id_type.unwrap_or(false) {
|
|
216
|
+
res.id_type = None
|
|
217
|
+
}
|
|
218
|
+
return AnyConfigEvaluationInitV2::DynamicConfig(res);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
let mut evaluation = result_to_experiment_eval_init_v2(
|
|
222
|
+
Some(spec_entity),
|
|
223
|
+
&mut ctx.result,
|
|
224
|
+
expo_id_to_exposure_map,
|
|
225
|
+
expo_key_to_expo_id_map,
|
|
226
|
+
value_id_to_value_map,
|
|
227
|
+
value_key_to_value_id,
|
|
228
|
+
);
|
|
229
|
+
if options.remove_id_type.unwrap_or(false) {
|
|
230
|
+
evaluation.id_type = None
|
|
231
|
+
}
|
|
232
|
+
AnyConfigEvaluationInitV2::Experiment(evaluation)
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
let mut result = gcir_process_iter(
|
|
236
|
+
context,
|
|
237
|
+
options,
|
|
238
|
+
&mut HashMap::new(),
|
|
239
|
+
&context.specs_data.dynamic_configs,
|
|
240
|
+
get_dynamic_config_type,
|
|
241
|
+
factory,
|
|
242
|
+
)?;
|
|
243
|
+
|
|
244
|
+
let cmab_configs = match &context.specs_data.cmab_configs {
|
|
245
|
+
Some(cmab_configs) => cmab_configs,
|
|
246
|
+
None => return Ok(result),
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
for config_name in cmab_configs.keys() {
|
|
250
|
+
let hashed_name = context
|
|
251
|
+
.hashing
|
|
252
|
+
.hash(config_name.as_str(), options.get_hash_algorithm());
|
|
253
|
+
if options
|
|
254
|
+
.experiment_filter
|
|
255
|
+
.as_ref()
|
|
256
|
+
.is_some_and(|f| !f.contains(config_name))
|
|
257
|
+
{
|
|
258
|
+
continue;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
let target_app_ids = cmab_configs
|
|
262
|
+
.get(config_name)
|
|
263
|
+
.and_then(|c| c.target_app_ids.as_ref());
|
|
264
|
+
if should_filter_config_for_app(target_app_ids, &context.app_id, &options.client_sdk_key) {
|
|
265
|
+
continue;
|
|
266
|
+
}
|
|
267
|
+
context.reset_result();
|
|
268
|
+
let _ = Evaluator::evaluate(context, config_name.as_str(), &SpecType::Experiment);
|
|
269
|
+
|
|
270
|
+
let mut evaluation = result_to_experiment_eval_init_v2(
|
|
271
|
+
Some("autotune"),
|
|
272
|
+
&mut context.result,
|
|
273
|
+
expo_id_to_exposure_map,
|
|
274
|
+
expo_key_to_expo_id_map,
|
|
275
|
+
value_id_to_value_map,
|
|
276
|
+
value_key_to_value_id,
|
|
277
|
+
);
|
|
278
|
+
if options.remove_id_type.unwrap_or(false) {
|
|
279
|
+
evaluation.id_type = None
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
result.insert(
|
|
283
|
+
hashed_name,
|
|
284
|
+
AnyConfigEvaluationInitV2::Experiment(evaluation),
|
|
285
|
+
);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
Ok(result)
|
|
289
|
+
}
|
|
290
|
+
|
|
193
291
|
fn get_dynamic_config_type(spec: &Spec) -> SpecType {
|
|
194
292
|
if spec.entity == "dynamic_config" {
|
|
195
293
|
SpecType::DynamicConfig
|