statsig-python-core 0.23.2rc2610231715__tar.gz → 0.24.0__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.
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/Cargo.lock +24 -14
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/Cargo.toml +1 -1
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/PKG-INFO +1 -1
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/Cargo.toml +2 -2
- statsig_python_core-0.24.0/statsig-rust/src/evaluation/__tests__/evaluator_context_tests.rs +188 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/__tests__/mod.rs +1 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluator.rs +95 -44
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluator_context.rs +78 -1
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_metadata.rs +1 -1
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/cmab_exposure_rule_id_tests.rs +13 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/direct_gcir_tests.rs +45 -61
- statsig_python_core-0.24.0/statsig-rust/tests/evaluator_isolation_tests.rs +433 -0
- statsig_python_core-0.24.0/statsig-rust/tests/gcir_experiment_group_tests.rs +539 -0
- statsig_python_core-0.24.0/statsig-rust/tests/tls_distrust_tests.rs +94 -0
- statsig_python_core-0.24.0/statsig-rust/tests/utils/gcir.rs +67 -0
- statsig_python_core-0.24.0/statsig-rust/tests/utils/gcir_experiment_group_fixtures.rs +304 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mock_specs_adapter.rs +30 -4
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mod.rs +6 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/py_src/statsig_python_core/__init__.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/py_src/statsig_python_core/data_store.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/py_src/statsig_python_core/error_boundary.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/py_src/statsig_python_core/observability_client.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/py_src/statsig_python_core/output_logger_provider.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/py_src/statsig_python_core/persistent_storage.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/py_src/statsig_python_core/py.typed +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/py_src/statsig_python_core/requirements.txt +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/py_src/statsig_python_core/statsig.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/py_src/statsig_python_core/statsig_python_core.pyi +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/py_src/statsig_python_core/statsig_types.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/pyproject.toml +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-grpc/Cargo.toml +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-grpc/README.md +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-grpc/build.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-grpc/src/lib.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-grpc/src/mock_forward_proxy.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-grpc/src/protos/statsig_forward_proxy.proto +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-grpc/src/statsig_forward_proxy.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-grpc/src/statsig_grpc_client.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-grpc/src/statsig_grpc_err.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/.github/workflows/CI.yml +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/.gitignore +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/Cargo.toml +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/README.md +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/bin/stub_gen.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/data_store_base_py.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/interned_store_py.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/lib.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/observability_client_base_py.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/output_logger_provider_base_py.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/pyo_utils.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/raw_evaluation_compat_py.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/safe_gil.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/statsig_base_py.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/statsig_metadata_py.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/statsig_options_py.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/statsig_persistent_storage_override_adapter_py.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/statsig_types_py.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/statsig_user_py.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/unit_id_py.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/src/valid_primitives_py.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/data/enforce_sticky_dcs.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/fork_runner.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/integration/celery_prefork/README.md +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/integration/celery_prefork/celery_app.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/integration/celery_prefork/test_celery_prefork.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/mock_output_logger.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/mock_scrapi.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/profile_util.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/shutdown_sub_proc.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_data_store.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_enforce_sticky_values.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_error_boundary.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_experiment_group_targeting.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_experiment_serialization.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_exposure_logging.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_feature_gate_serialization.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_forking.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_get_autotune_list.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_get_dynamic_config.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_get_experiment_groups.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_get_layer_list.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_initialize_with_details.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_interned_store_preload.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_layer_param_exposure_sampling.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_layer_serialization.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_observability_client.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_output_logger_provider.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_override_adapter.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_performance.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_sdk_event_emitter.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_sec_expo_as_primary.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_shared_statsig.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_shutdown.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_statsig.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_statsig_options.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_statsig_user.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_statsig_user_json_serialization.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_statsig_user_none_fields.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_statsig_user_pickle.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_user_exposure_e2e.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-pyo3/tests/utils.py +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/build.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/examples/eval_contention_bench.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/examples/intern_contention_bench.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/resources/ip_supalite.table +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/resources/ua_parser_regex.yaml +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/resources/ua_parser_regex_lite.yaml +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/__tests__/interned_string_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/__tests__/spec_store_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/compression/compression_helper.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/compression/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/console_capture/console_capture_handler.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/console_capture/console_capture_instances.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/console_capture/console_capture_options.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/console_capture/console_log_line_levels.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/console_capture/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/data_store_interface.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/data_store_lifecycle.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/dcs_str.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/__tests__/dynamic_returnable_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/__tests__/rkyv_value_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/cmab_evaluator.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/comparisons/compare_arrays.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/comparisons/compare_numbers.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/comparisons/compare_str_with_regex.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/comparisons/compare_strings_in_array.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/comparisons/compare_time.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/comparisons/compare_versions.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/comparisons/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/country_lookup.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/dynamic_returnable.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/dynamic_string.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/dynamic_value.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluation_details.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluation_types.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluation_types_initialize_v2.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluation_types_v2.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluator_result.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluator_value.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/get_unit_id.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/rkyv_value.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/secondary_exposure_key.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/first_party_ua_parser.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_helpers.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_tokenizer.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_ua_parser_browser.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_ua_parser_os.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/tokenizer.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/ua_parser.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/window_iter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/third_party_ua_parser.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/ua_parser.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_emitter/statsig_event_emitter_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_logger.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_logger_constants.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_logger_ops_stats.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/batch.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queue.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_config_expo.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_event.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_experiment_expo.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_expo.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_gate_expo.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_layer_param_expo.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_passthrough.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_secondary_expo.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/exposure_sampling.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/exposure_utils.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/flush_interval.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/flush_type.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/sec_expo_as_primary_experiment.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/statsig_event.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/statsig_event_internal.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging_adapter/event_logging_adapter_trait.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging_adapter/log_event_payload.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging_adapter/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging_adapter/statsig_http_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging_adapter/statsig_local_file_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/dynamic_configs_processor.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/feature_gates_processor.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/gcir_formatter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/gcir_options.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/gcir_process_iter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/layer_configs_processor.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/param_stores_processor.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/stringify_sec_exposures.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/target_app_id_utils.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/global_configs.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/hashing/ahash.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/hashing/djb2.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/hashing/hash_util.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/hashing/memo_sha_256.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/hashing/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/id_lists_adapter/id_list.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/id_lists_adapter/id_lists_adapter_trait.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/id_lists_adapter/id_lists_data_store_writer.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/id_lists_adapter/id_lists_snapshot.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/id_lists_adapter/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/id_lists_adapter/statsig_data_store_id_lists_adapter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/id_lists_adapter/statsig_data_store_id_lists_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/id_lists_adapter/statsig_http_id_lists_adapter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/init_details.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/initialize_evaluations_response.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/initialize_response.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/initialize_v2_response.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/instance_registry.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/interned_string.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/interned_values/__tests__/interned_store_eval_value_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/interned_values/__tests__/interned_store_returnable_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/interned_values/__tests__/interned_store_string_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/interned_values/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/interned_values/interned_store.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/interned_values/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/lib.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/logging_utils.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/macros.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/networking/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/networking/__tests__/response_data_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/networking/ca_bundle.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/networking/http_types.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/networking/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/networking/network_client.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/networking/network_error.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/networking/providers/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/networking/providers/net_provider_global.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/networking/providers/net_provider_noop.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/networking/providers/net_provider_reqwest.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/networking/proxy_config.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/observability/console_capture_observer.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/observability/diagnostics_observer.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/observability/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/observability/observability_client_adapter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/observability/ops_stats.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/observability/sdk_errors_observer.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/output_logger.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/override_adapter/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/override_adapter/override_adapter_trait.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/override_adapter/statsig_local_override_adapter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/persistent_storage/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/persistent_storage/__tests__/sticky_values_serialization_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/persistent_storage/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/persistent_storage/persistent_storage_trait.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/persistent_storage/persistent_values_manager.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_diagnostics/diagnostics.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_diagnostics/diagnostics_utils.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_diagnostics/marker.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_diagnostics/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_event_emitter/event_emitter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_event_emitter/event_emitter_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_event_emitter/event_types.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_event_emitter/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/spec_store.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/config_spec_background_sync_metrics.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/response_format.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/specs_adapter_trait.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/statsig_bootstrap_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/statsig_customized_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/statsig_data_store_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/statsig_grpc_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/statsig_http_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/statsig_local_file_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/__tests__/proto_specs_syncing_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/__tests__/proto_specs_unknown_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/__tests__/proto_specs_vs_json_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/__tests__/proto_stream_reader_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/cmab_types.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/explicit_params.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/param_store_types.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/proto_specs.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/proto_stream_reader.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/spec_types.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/specs_hash_map.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/statsig_config_specs.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/statsig.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_core_api_options.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_err.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_global.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_id_list_recovery_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_id_list_source_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_options.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_runtime.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_type_factories.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_types.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_types_raw.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/user/into_optional.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/user/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/user/statsig_user.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/user/statsig_user_builder.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/user/statsig_user_internal.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/user/statsig_user_loggable.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/user/unit_id.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/user/user_data.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/src/utils/mod.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/check_gate_concurrency_bench.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/check_gate_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/customized_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/big_number_dcs.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/check_gate_perf_dcs.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/company_id_list +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_cmab_exposure_rule_id.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_error.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_missing_gates.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_non_case_sensitive.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_target_app_filtering.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_target_app_filtering_hashed_keys.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_user_agent_versions.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_with_analytical_exposure_sampling.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_with_checksum.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_with_sampling.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_with_sdk_configs.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/demo_proj_dcs.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/demo_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/eval_proj_dcs.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/eval_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/get_id_lists.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/perf_proj_dcs.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/perf_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/shared_dict_dict_only.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/shared_dict_original_dcs.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/shared_dict_response_uncompressed.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/shared_dict_response_with_dict.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/shared_dict_response_without_dict.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/test_must_pass_user_agents.txt +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/test_user_agents.txt +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/ua_string_cases.json +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data/unknown_enum.pb.br +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data_store_bytes_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data_store_json_bytes_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data_store_json_only_no_bytes_methods_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data_store_lock_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/data_store_proto_bytes_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/dynamic_string_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/dynamic_value_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/evaluation_details_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/evaluator_value_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/event_logger_failing_flush_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/event_logger_flush_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/event_logger_high_qps_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/event_logger_usage_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/expected_evaluation_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/exposure_sampling_key_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/exposure_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/flushing_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/fork_safety_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/gate_inversion_eval_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/gcir_group_alias_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/gcir_target_app_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/gcir_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/global_configs_test.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/grpc_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/hash_util_evaluation_hash_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/http_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/id_list_memberships_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/initialize_timeout_test.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/instance_registry_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/layer_serialization_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/list_methods_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/memory_leak_per_request_users_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/network_client_streaming_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/network_client_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/network_failure_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/network_tls_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/observability_client_usage_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/output_logger_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/override_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/parameter_store_parameter_names_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/perf_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/persistent_storage_enforce_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/proto_specs_usage_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/spec_store_lock_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/spec_types_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_disable_network_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_environment_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_event_emitter_usage_test.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_global_fork_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_global_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_local_file_event_logging_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_local_file_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_options_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_shared_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_user_builder_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_user_field_accessor_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_user_internal_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_user_loggable_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_user_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/syncing_network_failure_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/typed_getters_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/ua_parser_util_test.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/user_agent_tests_first_party.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/user_json_tests.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/env_var_guard.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/helpers.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mock_data_store.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mock_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mock_log_provider.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mock_observability_client.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mock_scrapi.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mock_specs_listener.rs +0 -0
- {statsig_python_core-0.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/tls_test_server.rs +0 -0
|
@@ -1096,7 +1096,7 @@ dependencies = [
|
|
|
1096
1096
|
"tokio",
|
|
1097
1097
|
"tokio-rustls",
|
|
1098
1098
|
"tower-service",
|
|
1099
|
-
"webpki-roots",
|
|
1099
|
+
"webpki-roots 0.26.11",
|
|
1100
1100
|
]
|
|
1101
1101
|
|
|
1102
1102
|
[[package]]
|
|
@@ -2507,7 +2507,7 @@ dependencies = [
|
|
|
2507
2507
|
"wasm-bindgen",
|
|
2508
2508
|
"wasm-bindgen-futures",
|
|
2509
2509
|
"web-sys",
|
|
2510
|
-
"webpki-roots",
|
|
2510
|
+
"webpki-roots 0.26.11",
|
|
2511
2511
|
"windows-registry",
|
|
2512
2512
|
]
|
|
2513
2513
|
|
|
@@ -2660,18 +2660,19 @@ dependencies = [
|
|
|
2660
2660
|
|
|
2661
2661
|
[[package]]
|
|
2662
2662
|
name = "rustls-pki-types"
|
|
2663
|
-
version = "1.
|
|
2663
|
+
version = "1.15.1"
|
|
2664
2664
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2665
|
-
checksum = "
|
|
2665
|
+
checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96"
|
|
2666
2666
|
dependencies = [
|
|
2667
2667
|
"web-time",
|
|
2668
|
+
"zeroize",
|
|
2668
2669
|
]
|
|
2669
2670
|
|
|
2670
2671
|
[[package]]
|
|
2671
2672
|
name = "rustls-webpki"
|
|
2672
|
-
version = "0.103.
|
|
2673
|
+
version = "0.103.16"
|
|
2673
2674
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2674
|
-
checksum = "
|
|
2675
|
+
checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281"
|
|
2675
2676
|
dependencies = [
|
|
2676
2677
|
"ring",
|
|
2677
2678
|
"rustls-pki-types",
|
|
@@ -2987,7 +2988,7 @@ dependencies = [
|
|
|
2987
2988
|
|
|
2988
2989
|
[[package]]
|
|
2989
2990
|
name = "sigstat-grpc"
|
|
2990
|
-
version = "0.
|
|
2991
|
+
version = "0.24.0"
|
|
2991
2992
|
dependencies = [
|
|
2992
2993
|
"async-trait",
|
|
2993
2994
|
"chrono",
|
|
@@ -3079,7 +3080,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
|
3079
3080
|
|
|
3080
3081
|
[[package]]
|
|
3081
3082
|
name = "statsig-node"
|
|
3082
|
-
version = "0.
|
|
3083
|
+
version = "0.24.0"
|
|
3083
3084
|
dependencies = [
|
|
3084
3085
|
"async-trait",
|
|
3085
3086
|
"napi",
|
|
@@ -3094,7 +3095,7 @@ dependencies = [
|
|
|
3094
3095
|
|
|
3095
3096
|
[[package]]
|
|
3096
3097
|
name = "statsig-pyo3"
|
|
3097
|
-
version = "0.
|
|
3098
|
+
version = "0.24.0"
|
|
3098
3099
|
dependencies = [
|
|
3099
3100
|
"async-trait",
|
|
3100
3101
|
"lazy_static",
|
|
@@ -3109,7 +3110,7 @@ dependencies = [
|
|
|
3109
3110
|
|
|
3110
3111
|
[[package]]
|
|
3111
3112
|
name = "statsig-rust"
|
|
3112
|
-
version = "0.
|
|
3113
|
+
version = "0.24.0"
|
|
3113
3114
|
dependencies = [
|
|
3114
3115
|
"ahash",
|
|
3115
3116
|
"arc-swap",
|
|
@@ -3163,7 +3164,7 @@ dependencies = [
|
|
|
3163
3164
|
|
|
3164
3165
|
[[package]]
|
|
3165
3166
|
name = "statsig_elixir"
|
|
3166
|
-
version = "0.
|
|
3167
|
+
version = "0.24.0"
|
|
3167
3168
|
dependencies = [
|
|
3168
3169
|
"async-trait",
|
|
3169
3170
|
"parking_lot",
|
|
@@ -3176,7 +3177,7 @@ dependencies = [
|
|
|
3176
3177
|
|
|
3177
3178
|
[[package]]
|
|
3178
3179
|
name = "statsig_ffi"
|
|
3179
|
-
version = "0.
|
|
3180
|
+
version = "0.24.0"
|
|
3180
3181
|
dependencies = [
|
|
3181
3182
|
"async-trait",
|
|
3182
3183
|
"cbindgen",
|
|
@@ -3999,9 +4000,18 @@ dependencies = [
|
|
|
3999
4000
|
|
|
4000
4001
|
[[package]]
|
|
4001
4002
|
name = "webpki-roots"
|
|
4002
|
-
version = "0.26.
|
|
4003
|
+
version = "0.26.11"
|
|
4004
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4005
|
+
checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
|
|
4006
|
+
dependencies = [
|
|
4007
|
+
"webpki-roots 1.0.11",
|
|
4008
|
+
]
|
|
4009
|
+
|
|
4010
|
+
[[package]]
|
|
4011
|
+
name = "webpki-roots"
|
|
4012
|
+
version = "1.0.11"
|
|
4003
4013
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4004
|
-
checksum = "
|
|
4014
|
+
checksum = "f5f280bbb2b287bc8e7de7e3852945a0ff50d1bbcb5ed42b6c7a568c546df171"
|
|
4005
4015
|
dependencies = [
|
|
4006
4016
|
"rustls-pki-types",
|
|
4007
4017
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: statsig_python_core
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.24.0
|
|
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.23.2rc2610231715 → statsig_python_core-0.24.0}/statsig-rust/Cargo.toml
RENAMED
|
@@ -44,7 +44,7 @@ serde_json = { version = "1.0.143", features = [
|
|
|
44
44
|
] }
|
|
45
45
|
serde_with = "3.4.0"
|
|
46
46
|
sha2 = "0.10.8"
|
|
47
|
-
sigstat-grpc = { path = "../statsig-grpc", version = "0.
|
|
47
|
+
sigstat-grpc = { path = "../statsig-grpc", version = "0.24.0", optional = true }
|
|
48
48
|
simple_logger = { version = "5.0.0" }
|
|
49
49
|
tempfile = "3.8.1"
|
|
50
50
|
tokio = { version = "1.39.1", features = ["full"] }
|
|
@@ -72,7 +72,7 @@ wiremock = "0.6.2"
|
|
|
72
72
|
more-asserts = "0.3.1"
|
|
73
73
|
libc = "0.2"
|
|
74
74
|
serial_test = "3.2.0"
|
|
75
|
-
rusty-fork = "0.3.0"
|
|
75
|
+
rusty-fork = { version = "0.3.0", features = ["timeout"] }
|
|
76
76
|
rcgen = "0.13"
|
|
77
77
|
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "logging", "tls12"] }
|
|
78
78
|
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
use std::collections::HashMap;
|
|
2
|
+
|
|
3
|
+
use crate::{
|
|
4
|
+
evaluation::evaluator_context::{EvaluatorContext, IdListResolution},
|
|
5
|
+
hashing::HashUtil,
|
|
6
|
+
interned_string::InternedString,
|
|
7
|
+
specs_response::spec_types::SpecsResponseFull,
|
|
8
|
+
user::StatsigUserInternal,
|
|
9
|
+
SecondaryExposure, StatsigErr, StatsigUser,
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
fn evaluate_isolated_recursively(
|
|
13
|
+
context: &mut EvaluatorContext,
|
|
14
|
+
remaining_levels: u16,
|
|
15
|
+
) -> Result<(), StatsigErr> {
|
|
16
|
+
if remaining_levels == 0 {
|
|
17
|
+
return Ok(());
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
context
|
|
21
|
+
.evaluate_with_isolated_result(|child| {
|
|
22
|
+
evaluate_isolated_recursively(child, remaining_levels - 1)
|
|
23
|
+
})
|
|
24
|
+
.map(|_| ())
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
fn evaluate_isolated_with_result_resets_recursively(
|
|
28
|
+
context: &mut EvaluatorContext,
|
|
29
|
+
remaining_levels: u16,
|
|
30
|
+
) -> Result<(), StatsigErr> {
|
|
31
|
+
if remaining_levels == 0 {
|
|
32
|
+
return Ok(());
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
context
|
|
36
|
+
.evaluate_with_isolated_result(|child| {
|
|
37
|
+
child.reset_result();
|
|
38
|
+
evaluate_isolated_with_result_resets_recursively(child, remaining_levels - 1)
|
|
39
|
+
})
|
|
40
|
+
.map(|_| ())
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
#[test]
|
|
44
|
+
fn isolated_evaluation_restores_parent_result_and_recursive_depth() {
|
|
45
|
+
let user = StatsigUser::with_user_id("user");
|
|
46
|
+
let user_internal = StatsigUserInternal {
|
|
47
|
+
user_ref: &user,
|
|
48
|
+
statsig_instance: None,
|
|
49
|
+
};
|
|
50
|
+
let specs = SpecsResponseFull::default();
|
|
51
|
+
let id_lists = HashMap::new();
|
|
52
|
+
let hashing = HashUtil::new();
|
|
53
|
+
let mut context = EvaluatorContext::new(
|
|
54
|
+
&user_internal,
|
|
55
|
+
&specs,
|
|
56
|
+
IdListResolution::MapLookup(&id_lists),
|
|
57
|
+
&hashing,
|
|
58
|
+
None,
|
|
59
|
+
None,
|
|
60
|
+
false,
|
|
61
|
+
None,
|
|
62
|
+
true,
|
|
63
|
+
);
|
|
64
|
+
context.result.name = Some(InternedString::from_str_ref("outer"));
|
|
65
|
+
context.result.rule_id = Some(InternedString::from_str_ref("outer-rule"));
|
|
66
|
+
let outer_exposure = SecondaryExposure {
|
|
67
|
+
gate: InternedString::from_str_ref("outer-gate"),
|
|
68
|
+
gate_value: InternedString::from_str_ref("true"),
|
|
69
|
+
rule_id: InternedString::from_str_ref("outer-rule"),
|
|
70
|
+
};
|
|
71
|
+
context.result.secondary_exposures = vec![outer_exposure.clone()];
|
|
72
|
+
context.result.undelegated_secondary_exposures = Some(vec![outer_exposure.clone()]);
|
|
73
|
+
|
|
74
|
+
let (_, child_result) = context
|
|
75
|
+
.evaluate_with_isolated_result(|child| {
|
|
76
|
+
assert_eq!(child.nested_count, 1);
|
|
77
|
+
child.result.name = Some(InternedString::from_str_ref("child"));
|
|
78
|
+
Ok(())
|
|
79
|
+
})
|
|
80
|
+
.unwrap();
|
|
81
|
+
|
|
82
|
+
assert_eq!(child_result.name.as_deref(), Some("child"));
|
|
83
|
+
assert_eq!(context.nested_count, 0);
|
|
84
|
+
assert_eq!(context.result.name.as_deref(), Some("outer"));
|
|
85
|
+
assert_eq!(context.result.rule_id.as_deref(), Some("outer-rule"));
|
|
86
|
+
assert_eq!(context.result.secondary_exposures.len(), 1);
|
|
87
|
+
assert_eq!(
|
|
88
|
+
context.result.secondary_exposures[0].gate.as_str(),
|
|
89
|
+
outer_exposure.gate.as_str()
|
|
90
|
+
);
|
|
91
|
+
let undelegated = context
|
|
92
|
+
.result
|
|
93
|
+
.undelegated_secondary_exposures
|
|
94
|
+
.as_ref()
|
|
95
|
+
.expect("parent undelegated exposures should be restored");
|
|
96
|
+
assert_eq!(undelegated.len(), 1);
|
|
97
|
+
assert_eq!(undelegated[0].gate.as_str(), outer_exposure.gate.as_str());
|
|
98
|
+
|
|
99
|
+
let error = context.evaluate_with_isolated_result::<()>(|child| {
|
|
100
|
+
child.result.secondary_exposures.clear();
|
|
101
|
+
child.result.undelegated_secondary_exposures = None;
|
|
102
|
+
child.result.name = Some(InternedString::from_str_ref("failed-child"));
|
|
103
|
+
Err(StatsigErr::StackOverflowError)
|
|
104
|
+
});
|
|
105
|
+
assert!(matches!(error, Err(StatsigErr::StackOverflowError)));
|
|
106
|
+
assert_eq!(context.nested_count, 0);
|
|
107
|
+
assert_eq!(context.result.name.as_deref(), Some("outer"));
|
|
108
|
+
assert_eq!(context.result.rule_id.as_deref(), Some("outer-rule"));
|
|
109
|
+
assert_eq!(context.result.secondary_exposures.len(), 1);
|
|
110
|
+
assert_eq!(
|
|
111
|
+
context.result.secondary_exposures[0].gate.as_str(),
|
|
112
|
+
outer_exposure.gate.as_str()
|
|
113
|
+
);
|
|
114
|
+
let undelegated = context
|
|
115
|
+
.result
|
|
116
|
+
.undelegated_secondary_exposures
|
|
117
|
+
.as_ref()
|
|
118
|
+
.expect("parent undelegated exposures should be restored after error");
|
|
119
|
+
assert_eq!(undelegated.len(), 1);
|
|
120
|
+
assert_eq!(undelegated[0].gate.as_str(), outer_exposure.gate.as_str());
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
#[test]
|
|
124
|
+
fn isolated_evaluation_enforces_recursive_depth_limit() {
|
|
125
|
+
let user = StatsigUser::with_user_id("user");
|
|
126
|
+
let user_internal = StatsigUserInternal {
|
|
127
|
+
user_ref: &user,
|
|
128
|
+
statsig_instance: None,
|
|
129
|
+
};
|
|
130
|
+
let specs = SpecsResponseFull::default();
|
|
131
|
+
let id_lists = HashMap::new();
|
|
132
|
+
let hashing = HashUtil::new();
|
|
133
|
+
let mut context = EvaluatorContext::new(
|
|
134
|
+
&user_internal,
|
|
135
|
+
&specs,
|
|
136
|
+
IdListResolution::MapLookup(&id_lists),
|
|
137
|
+
&hashing,
|
|
138
|
+
None,
|
|
139
|
+
None,
|
|
140
|
+
false,
|
|
141
|
+
None,
|
|
142
|
+
true,
|
|
143
|
+
);
|
|
144
|
+
|
|
145
|
+
assert!(evaluate_isolated_recursively(&mut context, 64).is_ok());
|
|
146
|
+
assert_eq!(context.nested_count, 0);
|
|
147
|
+
|
|
148
|
+
assert!(matches!(
|
|
149
|
+
evaluate_isolated_recursively(&mut context, 65),
|
|
150
|
+
Err(StatsigErr::StackOverflowError)
|
|
151
|
+
));
|
|
152
|
+
assert_eq!(context.nested_count, 0);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
#[test]
|
|
156
|
+
fn isolated_evaluation_depth_survives_result_resets() {
|
|
157
|
+
let user = StatsigUser::with_user_id("user");
|
|
158
|
+
let user_internal = StatsigUserInternal {
|
|
159
|
+
user_ref: &user,
|
|
160
|
+
statsig_instance: None,
|
|
161
|
+
};
|
|
162
|
+
let specs = SpecsResponseFull::default();
|
|
163
|
+
let id_lists = HashMap::new();
|
|
164
|
+
let hashing = HashUtil::new();
|
|
165
|
+
let mut context = EvaluatorContext::new(
|
|
166
|
+
&user_internal,
|
|
167
|
+
&specs,
|
|
168
|
+
IdListResolution::MapLookup(&id_lists),
|
|
169
|
+
&hashing,
|
|
170
|
+
None,
|
|
171
|
+
None,
|
|
172
|
+
false,
|
|
173
|
+
None,
|
|
174
|
+
true,
|
|
175
|
+
);
|
|
176
|
+
context.result.name = Some(InternedString::from_str_ref("outer"));
|
|
177
|
+
|
|
178
|
+
assert!(evaluate_isolated_with_result_resets_recursively(&mut context, 64).is_ok());
|
|
179
|
+
assert_eq!(context.nested_count, 0);
|
|
180
|
+
assert_eq!(context.result.name.as_deref(), Some("outer"));
|
|
181
|
+
|
|
182
|
+
assert!(matches!(
|
|
183
|
+
evaluate_isolated_with_result_resets_recursively(&mut context, 65),
|
|
184
|
+
Err(StatsigErr::StackOverflowError)
|
|
185
|
+
));
|
|
186
|
+
assert_eq!(context.nested_count, 0);
|
|
187
|
+
assert_eq!(context.result.name.as_deref(), Some("outer"));
|
|
188
|
+
}
|
|
@@ -214,11 +214,12 @@ fn new_layer_eval<'a>(
|
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
evaluate_rule(ctx, rule)?;
|
|
217
|
+
undelegated_secondary_exposures.extend(ctx.result.secondary_exposures.iter().cloned());
|
|
217
218
|
secondary_exposures.append(&mut ctx.result.secondary_exposures);
|
|
218
|
-
undelegated_secondary_exposures.append(&mut ctx.result.secondary_exposures);
|
|
219
|
-
ctx.result.secondary_exposures.clear();
|
|
220
219
|
|
|
221
220
|
if ctx.result.unsupported {
|
|
221
|
+
ctx.result.secondary_exposures = secondary_exposures;
|
|
222
|
+
ctx.result.undelegated_secondary_exposures = Some(undelegated_secondary_exposures);
|
|
222
223
|
return Ok(Recognition::Recognized);
|
|
223
224
|
}
|
|
224
225
|
|
|
@@ -480,7 +481,7 @@ fn evaluate_condition<'a>(
|
|
|
480
481
|
return Ok(());
|
|
481
482
|
}
|
|
482
483
|
"experiment_group" => {
|
|
483
|
-
let group_name = evaluate_experiment_group(ctx, &condition.field)
|
|
484
|
+
let group_name = evaluate_experiment_group(ctx, &condition.field)?;
|
|
484
485
|
match group_name {
|
|
485
486
|
Some(name) => {
|
|
486
487
|
temp_value = Some(DynamicValue::from(name));
|
|
@@ -647,31 +648,54 @@ pub(crate) fn id_list_lookup_id(hashing: &HashUtil, unit_id: &str) -> String {
|
|
|
647
648
|
fn evaluate_experiment_group<'a>(
|
|
648
649
|
ctx: &mut EvaluatorContext<'a>,
|
|
649
650
|
experiment_name: &Option<DynamicString>,
|
|
650
|
-
) -> Option<String> {
|
|
651
|
+
) -> Result<Option<String>, StatsigErr> {
|
|
651
652
|
let exp_name = match experiment_name {
|
|
652
653
|
Some(name) => &name.value,
|
|
653
654
|
None => {
|
|
654
|
-
return None;
|
|
655
|
+
return Ok(None);
|
|
655
656
|
}
|
|
656
657
|
};
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
ctx.
|
|
661
|
-
|
|
662
|
-
|
|
658
|
+
|
|
659
|
+
if let Some(statsig) = ctx.statsig {
|
|
660
|
+
let res = statsig.get_experiment_with_options(
|
|
661
|
+
ctx.user.user_ref,
|
|
662
|
+
exp_name.as_str(),
|
|
663
|
+
ExperimentEvaluationOptions {
|
|
664
|
+
disable_exposure_logging: ctx.disable_exposure_logging,
|
|
665
|
+
user_persisted_values: None,
|
|
666
|
+
enforce_overrides: false,
|
|
667
|
+
enforce_targeting: false,
|
|
668
|
+
},
|
|
669
|
+
);
|
|
670
|
+
return Ok(res.group_name);
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
// GCIR intentionally has no live Statsig handle because it evaluates a
|
|
674
|
+
// single immutable specs snapshot while the store read lock is held.
|
|
675
|
+
// Isolate the nested result while retaining the same snapshot, memo, and
|
|
676
|
+
// no-log context so the referenced experiment cannot replace the outer
|
|
677
|
+
// experiment or gate.
|
|
678
|
+
// A group reference only needs the referenced experiment's group name. A
|
|
679
|
+
// recursive re-entry therefore has no resolvable group; it must not rely
|
|
680
|
+
// on the depth backstop, whose error would blank the whole GCIR response.
|
|
681
|
+
// Keep this set path-local so independent sequential references are not
|
|
682
|
+
// mistaken for a cycle.
|
|
683
|
+
let _resolution_guard = match ctx.enter_experiment_group_resolution(exp_name.clone()) {
|
|
684
|
+
Some(guard) => guard,
|
|
685
|
+
None => return Ok(None),
|
|
663
686
|
};
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
exp_name.as_str(),
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
687
|
+
|
|
688
|
+
let (recognition, child_result) = ctx.evaluate_with_isolated_result(|child| {
|
|
689
|
+
Evaluator::evaluate(child, exp_name.as_str(), &SpecType::Experiment)
|
|
690
|
+
})?;
|
|
691
|
+
|
|
692
|
+
// A referenced experiment that cannot be evaluated has no group, matching
|
|
693
|
+
// the existing Statsig-backed path's observable condition behavior.
|
|
694
|
+
if recognition == Recognition::Unrecognized || child_result.unsupported {
|
|
695
|
+
return Ok(None);
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
Ok(child_result.group_name.map(|name| name.as_str().to_owned()))
|
|
675
699
|
}
|
|
676
700
|
|
|
677
701
|
fn evaluate_nested_gate<'a>(
|
|
@@ -685,7 +709,7 @@ fn evaluate_nested_gate<'a>(
|
|
|
685
709
|
.map(|name| &name.value)
|
|
686
710
|
.unwrap_or(InternedString::empty_ref());
|
|
687
711
|
|
|
688
|
-
match ctx.nested_gate_memo.get(gate_name) {
|
|
712
|
+
let nested_is_analytical = match ctx.nested_gate_memo.get(gate_name) {
|
|
689
713
|
Some((
|
|
690
714
|
previous_bool,
|
|
691
715
|
previous_rule_id,
|
|
@@ -697,43 +721,75 @@ fn evaluate_nested_gate<'a>(
|
|
|
697
721
|
ctx.result
|
|
698
722
|
.secondary_exposures
|
|
699
723
|
.extend_from_slice(previous_secondary_exposures);
|
|
700
|
-
ctx.result.id_list_source =
|
|
724
|
+
ctx.result.id_list_source = previous_id_list_source.or(ctx.result.id_list_source);
|
|
725
|
+
// Only nested gates without analytical or override metadata are
|
|
726
|
+
// memoized, so a cache hit cannot change the parent's metadata.
|
|
727
|
+
false
|
|
701
728
|
}
|
|
702
729
|
None => {
|
|
703
|
-
ctx.
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
730
|
+
let (_, child_result) = ctx.evaluate_with_isolated_result(|child| {
|
|
731
|
+
Evaluator::evaluate(child, gate_name.as_str(), &SpecType::Gate)
|
|
732
|
+
})?;
|
|
733
|
+
|
|
734
|
+
// An isolated child starts without the parent's provenance. Keep
|
|
735
|
+
// an earlier ID-list source when this child did not consult a list.
|
|
736
|
+
ctx.result.id_list_source = child_result.id_list_source.or(ctx.result.id_list_source);
|
|
737
|
+
if child_result.unsupported {
|
|
738
|
+
ctx.result
|
|
739
|
+
.secondary_exposures
|
|
740
|
+
.extend(child_result.secondary_exposures);
|
|
741
|
+
if child_result.has_seen_analytical_gates == Some(true) {
|
|
742
|
+
ctx.result.has_seen_analytical_gates = Some(true);
|
|
743
|
+
}
|
|
744
|
+
ctx.result.unsupported = true;
|
|
710
745
|
return Ok(());
|
|
711
746
|
}
|
|
712
747
|
|
|
713
|
-
|
|
748
|
+
// Segment specs do not carry their own sampling rate. Their
|
|
749
|
+
// analytical state comes from gates evaluated inside the segment.
|
|
750
|
+
let is_analytical = child_result.has_seen_analytical_gates == Some(true)
|
|
751
|
+
|| (!gate_name.starts_with("segment:") && child_result.sampling_rate.is_none());
|
|
752
|
+
|
|
753
|
+
// Keep main's bool/rule/exposures/ID-list-source memo tuple.
|
|
754
|
+
// Re-evaluate gates whose result carries
|
|
755
|
+
// analytical or release-pipeline override metadata so cache hits
|
|
756
|
+
// never drop fields that must be propagated to the parent.
|
|
757
|
+
if !gate_name.as_str().is_empty()
|
|
758
|
+
&& !is_analytical
|
|
759
|
+
&& child_result.override_config_name.is_none()
|
|
760
|
+
{
|
|
714
761
|
ctx.nested_gate_memo.insert(
|
|
715
762
|
gate_name.clone(),
|
|
716
763
|
(
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
764
|
+
child_result.bool_value,
|
|
765
|
+
child_result.rule_id.clone(),
|
|
766
|
+
child_result.secondary_exposures.clone(),
|
|
767
|
+
child_result.id_list_source,
|
|
721
768
|
),
|
|
722
769
|
);
|
|
723
770
|
}
|
|
724
771
|
|
|
725
|
-
|
|
772
|
+
ctx.result.bool_value = child_result.bool_value;
|
|
773
|
+
ctx.result.rule_id = child_result.rule_id;
|
|
774
|
+
if child_result.override_config_name.is_some() {
|
|
775
|
+
ctx.result.override_config_name = child_result.override_config_name;
|
|
776
|
+
}
|
|
726
777
|
ctx.result
|
|
727
778
|
.secondary_exposures
|
|
728
|
-
.
|
|
779
|
+
.extend(child_result.secondary_exposures);
|
|
780
|
+
is_analytical
|
|
729
781
|
}
|
|
730
|
-
}
|
|
782
|
+
};
|
|
731
783
|
|
|
732
784
|
let is_empty_rule_id = match &ctx.result.rule_id {
|
|
733
785
|
Some(id) => id.as_str().is_empty(),
|
|
734
786
|
None => true,
|
|
735
787
|
};
|
|
736
788
|
|
|
789
|
+
if nested_is_analytical {
|
|
790
|
+
ctx.result.has_seen_analytical_gates = Some(true);
|
|
791
|
+
}
|
|
792
|
+
|
|
737
793
|
if !&gate_name.starts_with("segment:") && !is_empty_rule_id {
|
|
738
794
|
let res = &ctx.result;
|
|
739
795
|
let expo = SecondaryExposure {
|
|
@@ -741,11 +797,6 @@ fn evaluate_nested_gate<'a>(
|
|
|
741
797
|
gate_value: InternedString::from_bool(res.bool_value),
|
|
742
798
|
rule_id: res.rule_id.clone().unwrap_or_default(),
|
|
743
799
|
};
|
|
744
|
-
|
|
745
|
-
if res.sampling_rate.is_none() {
|
|
746
|
-
ctx.result.has_seen_analytical_gates = Option::from(true);
|
|
747
|
-
}
|
|
748
|
-
|
|
749
800
|
ctx.result.secondary_exposures.push(expo);
|
|
750
801
|
}
|
|
751
802
|
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
use std::
|
|
1
|
+
use std::cell::RefCell;
|
|
2
|
+
use std::collections::{HashMap, HashSet};
|
|
3
|
+
use std::rc::Rc;
|
|
2
4
|
use std::sync::Arc;
|
|
3
5
|
|
|
4
6
|
use crate::evaluation::dynamic_value::DynamicValue;
|
|
@@ -12,6 +14,10 @@ use crate::StatsigErr::StackOverflowError;
|
|
|
12
14
|
use crate::{OverrideAdapter, SecondaryExposure, Statsig, StatsigErr};
|
|
13
15
|
|
|
14
16
|
const MAX_RECURSIVE_DEPTH: u16 = 300;
|
|
17
|
+
// Isolated nested evaluation still consumes native stack at each dependency
|
|
18
|
+
// level. Keep its limit below the legacy general limit so malformed cycles
|
|
19
|
+
// return an error before exhausting the thread stack.
|
|
20
|
+
const MAX_ISOLATED_RECURSIVE_DEPTH: u16 = 64;
|
|
15
21
|
|
|
16
22
|
// (gate_name, (bool_value, rule_id, secondary_exposures, id_list_source))
|
|
17
23
|
type NestedGateMemo = HashMap<
|
|
@@ -24,6 +30,18 @@ type NestedGateMemo = HashMap<
|
|
|
24
30
|
),
|
|
25
31
|
>;
|
|
26
32
|
|
|
33
|
+
pub(crate) struct ExperimentGroupResolutionGuard {
|
|
34
|
+
path: Rc<RefCell<HashSet<InternedString>>>,
|
|
35
|
+
experiment_name: InternedString,
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
impl Drop for ExperimentGroupResolutionGuard {
|
|
39
|
+
fn drop(&mut self) {
|
|
40
|
+
self.path.borrow_mut().remove(&self.experiment_name);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
#[derive(Clone, Copy)]
|
|
27
45
|
pub enum IdListResolution<'a> {
|
|
28
46
|
MapLookup(&'a HashMap<String, IdList>),
|
|
29
47
|
Callback(&'a dyn Fn(&str, &str) -> bool),
|
|
@@ -36,6 +54,14 @@ pub struct EvaluatorContext<'a> {
|
|
|
36
54
|
pub hashing: &'a HashUtil,
|
|
37
55
|
pub result: EvaluatorResult,
|
|
38
56
|
pub nested_count: u16,
|
|
57
|
+
// This tracks only the active `evaluate_with_isolated_result` call stack.
|
|
58
|
+
// Unlike `nested_count`, it must survive `reset_result()` because config
|
|
59
|
+
// mapping intentionally resets the latter while evaluating a nested spec.
|
|
60
|
+
isolated_evaluation_depth: u16,
|
|
61
|
+
// Experiment-group references are resolved recursively. This is an active
|
|
62
|
+
// path, rather than a global cache, so sequential references remain valid
|
|
63
|
+
// while a re-entry on the current path safely has no resolvable group.
|
|
64
|
+
experiment_group_resolution_path: Rc<RefCell<HashSet<InternedString>>>,
|
|
39
65
|
pub app_id: Option<&'a DynamicValue>,
|
|
40
66
|
pub override_adapter: Option<&'a Arc<dyn OverrideAdapter>>,
|
|
41
67
|
pub nested_gate_memo: NestedGateMemo,
|
|
@@ -74,6 +100,8 @@ impl<'a> EvaluatorContext<'a> {
|
|
|
74
100
|
result,
|
|
75
101
|
override_adapter,
|
|
76
102
|
nested_count: 0,
|
|
103
|
+
isolated_evaluation_depth: 0,
|
|
104
|
+
experiment_group_resolution_path: Rc::new(RefCell::new(HashSet::new())),
|
|
77
105
|
nested_gate_memo: HashMap::new(),
|
|
78
106
|
should_user_third_party_parser,
|
|
79
107
|
statsig,
|
|
@@ -89,6 +117,26 @@ impl<'a> EvaluatorContext<'a> {
|
|
|
89
117
|
self.result = EvaluatorResult::default();
|
|
90
118
|
}
|
|
91
119
|
|
|
120
|
+
/// Enters a path-local experiment-group resolution scope. The returned
|
|
121
|
+
/// guard removes the name during normal returns, errors, and panic unwind.
|
|
122
|
+
pub(crate) fn enter_experiment_group_resolution(
|
|
123
|
+
&self,
|
|
124
|
+
experiment_name: InternedString,
|
|
125
|
+
) -> Option<ExperimentGroupResolutionGuard> {
|
|
126
|
+
if !self
|
|
127
|
+
.experiment_group_resolution_path
|
|
128
|
+
.borrow_mut()
|
|
129
|
+
.insert(experiment_name.clone())
|
|
130
|
+
{
|
|
131
|
+
return None;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
Some(ExperimentGroupResolutionGuard {
|
|
135
|
+
path: Rc::clone(&self.experiment_group_resolution_path),
|
|
136
|
+
experiment_name,
|
|
137
|
+
})
|
|
138
|
+
}
|
|
139
|
+
|
|
92
140
|
pub fn finalize_evaluation(&mut self, spec: &Spec, rule: Option<&Rule>) {
|
|
93
141
|
self.result.sampling_rate = rule.and_then(|r| r.sampling_rate);
|
|
94
142
|
self.result.forward_all_exposures = spec.forward_all_exposures;
|
|
@@ -121,4 +169,33 @@ impl<'a> EvaluatorContext<'a> {
|
|
|
121
169
|
|
|
122
170
|
Ok(())
|
|
123
171
|
}
|
|
172
|
+
|
|
173
|
+
/// Evaluates a nested spec with an isolated result while preserving all
|
|
174
|
+
/// other context state, including the shared nested-gate memo.
|
|
175
|
+
///
|
|
176
|
+
/// The parent result and recursive depths are restored on both success and
|
|
177
|
+
/// error. Callers explicitly merge only the child fields owned by their
|
|
178
|
+
/// condition, preventing nested results from replacing the outer result.
|
|
179
|
+
pub(crate) fn evaluate_with_isolated_result<T>(
|
|
180
|
+
&mut self,
|
|
181
|
+
evaluate: impl FnOnce(&mut Self) -> Result<T, StatsigErr>,
|
|
182
|
+
) -> Result<(T, EvaluatorResult), StatsigErr> {
|
|
183
|
+
if self.isolated_evaluation_depth >= MAX_ISOLATED_RECURSIVE_DEPTH {
|
|
184
|
+
return Err(StackOverflowError);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
let parent_result = std::mem::take(&mut self.result);
|
|
188
|
+
let parent_nested_count = self.nested_count;
|
|
189
|
+
let parent_isolated_evaluation_depth = self.isolated_evaluation_depth;
|
|
190
|
+
self.nested_count += 1;
|
|
191
|
+
self.isolated_evaluation_depth += 1;
|
|
192
|
+
|
|
193
|
+
let evaluation = evaluate(self);
|
|
194
|
+
|
|
195
|
+
self.nested_count = parent_nested_count;
|
|
196
|
+
self.isolated_evaluation_depth = parent_isolated_evaluation_depth;
|
|
197
|
+
let child_result = std::mem::replace(&mut self.result, parent_result);
|
|
198
|
+
|
|
199
|
+
evaluation.map(|value| (value, child_result))
|
|
200
|
+
}
|
|
124
201
|
}
|
|
@@ -10,7 +10,7 @@ lazy_static! {
|
|
|
10
10
|
static ref STATSIG_METADATA: RwLock<StatsigMetadata> = RwLock::new(StatsigMetadata::new());
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
pub const SDK_VERSION: &str = "0.
|
|
13
|
+
pub const SDK_VERSION: &str = "0.24.0";
|
|
14
14
|
|
|
15
15
|
const TAG: &str = stringify!(StatsigMetadata);
|
|
16
16
|
|