statsig-python-core 0.21.0__tar.gz → 0.22.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.
Potentially problematic release.
This version of statsig-python-core might be problematic. Click here for more details.
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/Cargo.lock +6 -6
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/Cargo.toml +2 -2
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/PKG-INFO +2 -3
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_sec_expo_as_primary.py +1 -1
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/Cargo.toml +1 -1
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/comparisons/compare_strings_in_array.rs +2 -2
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging_adapter/statsig_http_event_logging_adapter.rs +1 -1
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/statsig.rs +14 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/statsig_metadata.rs +1 -1
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/statsig_types.rs +7 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/exposure_tests.rs +1 -1
- statsig_python_core-0.22.0/statsig-rust/tests/parameter_store_parameter_names_tests.rs +201 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/statsig_tests.rs +5 -5
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/py_src/statsig_python_core/__init__.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/py_src/statsig_python_core/data_store.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/py_src/statsig_python_core/error_boundary.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/py_src/statsig_python_core/observability_client.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/py_src/statsig_python_core/output_logger_provider.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/py_src/statsig_python_core/persistent_storage.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/py_src/statsig_python_core/py.typed +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/py_src/statsig_python_core/requirements.txt +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/py_src/statsig_python_core/statsig.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/py_src/statsig_python_core/statsig_python_core.pyi +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/py_src/statsig_python_core/statsig_types.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/pyproject.toml +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-grpc/Cargo.toml +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-grpc/README.md +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-grpc/build.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-grpc/src/lib.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-grpc/src/mock_forward_proxy.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-grpc/src/protos/statsig_forward_proxy.proto +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-grpc/src/statsig_forward_proxy.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-grpc/src/statsig_grpc_client.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-grpc/src/statsig_grpc_err.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/.github/workflows/CI.yml +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/.gitignore +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/Cargo.toml +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/README.md +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/bin/stub_gen.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/data_store_base_py.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/interned_store_py.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/lib.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/observability_client_base_py.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/output_logger_provider_base_py.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/pyo_utils.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/raw_evaluation_compat_py.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/safe_gil.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/statsig_base_py.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/statsig_metadata_py.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/statsig_options_py.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/statsig_persistent_storage_override_adapter_py.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/statsig_types_py.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/statsig_user_py.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/unit_id_py.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/valid_primitives_py.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/data/enforce_sticky_dcs.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/fork_runner.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/mock_output_logger.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/mock_scrapi.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/profile_util.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/shutdown_sub_proc.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_data_store.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_enforce_sticky_values.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_error_boundary.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_experiment_group_targeting.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_experiment_serialization.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_exposure_logging.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_feature_gate_serialization.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_forking.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_get_autotune_list.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_get_dynamic_config.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_get_experiment_groups.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_initialize_with_details.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_interned_store_preload.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_layer_param_exposure_sampling.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_layer_serialization.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_observability_client.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_output_logger_provider.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_override_adapter.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_performance.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_shared_statsig.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_shutdown.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_statsig.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_statsig_options.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_statsig_user.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_statsig_user_json_serialization.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_statsig_user_none_fields.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_statsig_user_pickle.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_user_exposure_e2e.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/utils.py +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/build.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/examples/eval_contention_bench.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/examples/intern_contention_bench.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/resources/ip_supalite.table +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/resources/ua_parser_regex.yaml +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/resources/ua_parser_regex_lite.yaml +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/__tests__/interned_string_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/__tests__/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/__tests__/spec_store_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/compression/compression_helper.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/compression/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/console_capture/console_capture_handler.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/console_capture/console_capture_instances.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/console_capture/console_capture_options.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/console_capture/console_log_line_levels.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/console_capture/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/data_store_interface.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/dcs_str.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/__tests__/dynamic_returnable_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/__tests__/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/__tests__/rkyv_value_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/cmab_evaluator.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/comparisons/compare_arrays.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/comparisons/compare_numbers.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/comparisons/compare_str_with_regex.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/comparisons/compare_time.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/comparisons/compare_versions.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/comparisons/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/country_lookup.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/dynamic_returnable.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/dynamic_string.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/dynamic_value.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/evaluation_details.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/evaluation_types.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/evaluation_types_initialize_v2.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/evaluation_types_v2.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/evaluator.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/evaluator_context.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/evaluator_result.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/evaluator_value.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/get_unit_id.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/rkyv_value.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/secondary_exposure_key.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/user_agent_parsing/first_party_ua_parser.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/user_agent_parsing/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_helpers.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_tokenizer.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_ua_parser_browser.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_ua_parser_os.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/tokenizer.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/ua_parser.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/window_iter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/user_agent_parsing/third_party_ua_parser.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/evaluation/user_agent_parsing/ua_parser.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_emitter/statsig_event_emitter_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/event_logger.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/event_logger_constants.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/event_logger_ops_stats.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/event_queue/batch.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/event_queue/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/event_queue/queue.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/event_queue/queued_config_expo.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/event_queue/queued_event.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/event_queue/queued_experiment_expo.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/event_queue/queued_expo.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/event_queue/queued_gate_expo.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/event_queue/queued_layer_param_expo.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/event_queue/queued_passthrough.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/event_queue/queued_secondary_expo.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/exposure_sampling.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/exposure_utils.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/flush_interval.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/flush_type.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/sec_expo_as_primary_experiment.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/statsig_event.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging/statsig_event_internal.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging_adapter/event_logging_adapter_trait.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging_adapter/log_event_payload.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging_adapter/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/event_logging_adapter/statsig_local_file_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/gcir/dynamic_configs_processor.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/gcir/feature_gates_processor.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/gcir/gcir_formatter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/gcir/gcir_options.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/gcir/gcir_process_iter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/gcir/layer_configs_processor.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/gcir/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/gcir/param_stores_processor.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/gcir/stringify_sec_exposures.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/gcir/target_app_id_utils.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/global_configs.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/hashing/ahash.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/hashing/djb2.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/hashing/hash_util.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/hashing/memo_sha_256.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/hashing/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/id_lists_adapter/id_list.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/id_lists_adapter/id_lists_adapter_trait.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/id_lists_adapter/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/id_lists_adapter/statsig_http_id_lists_adapter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/init_details.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/initialize_evaluations_response.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/initialize_response.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/initialize_v2_response.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/instance_registry.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/interned_string.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/interned_values/__tests__/interned_store_eval_value_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/interned_values/__tests__/interned_store_returnable_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/interned_values/__tests__/interned_store_string_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/interned_values/__tests__/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/interned_values/interned_store.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/interned_values/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/lib.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/logging_utils.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/macros.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/networking/__tests__/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/networking/__tests__/response_data_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/networking/ca_bundle.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/networking/http_types.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/networking/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/networking/network_client.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/networking/network_error.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/networking/providers/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/networking/providers/net_provider_global.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/networking/providers/net_provider_noop.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/networking/providers/net_provider_reqwest.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/networking/proxy_config.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/observability/console_capture_observer.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/observability/diagnostics_observer.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/observability/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/observability/observability_client_adapter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/observability/ops_stats.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/observability/sdk_errors_observer.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/output_logger.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/override_adapter/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/override_adapter/override_adapter_trait.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/override_adapter/statsig_local_override_adapter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/persistent_storage/__tests__/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/persistent_storage/__tests__/sticky_values_serialization_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/persistent_storage/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/persistent_storage/persistent_storage_trait.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/persistent_storage/persistent_values_manager.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/sdk_diagnostics/diagnostics.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/sdk_diagnostics/diagnostics_utils.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/sdk_diagnostics/marker.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/sdk_diagnostics/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/sdk_event_emitter/event_emitter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/sdk_event_emitter/event_emitter_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/sdk_event_emitter/event_types.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/sdk_event_emitter/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/spec_store.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_adapter/config_spec_background_sync_metrics.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_adapter/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_adapter/response_format.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_adapter/specs_adapter_trait.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_adapter/statsig_bootstrap_specs_adapter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_adapter/statsig_customized_specs_adapter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_adapter/statsig_data_store_specs_adapter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_adapter/statsig_grpc_specs_adapter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_adapter/statsig_http_specs_adapter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_adapter/statsig_local_file_specs_adapter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_response/__tests__/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_response/__tests__/proto_specs_syncing_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_response/__tests__/proto_specs_unknown_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_response/__tests__/proto_specs_vs_json_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_response/__tests__/proto_stream_reader_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_response/cmab_types.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_response/explicit_params.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_response/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_response/param_store_types.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_response/proto_specs.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_response/proto_stream_reader.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_response/spec_types.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_response/specs_hash_map.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/specs_response/statsig_config_specs.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/statsig_core_api_options.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/statsig_err.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/statsig_global.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/statsig_options.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/statsig_runtime.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/statsig_type_factories.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/statsig_types_raw.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/user/into_optional.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/user/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/user/statsig_user.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/user/statsig_user_builder.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/user/statsig_user_internal.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/user/statsig_user_loggable.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/user/unit_id.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/user/user_data.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/src/utils/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/check_gate_concurrency_bench.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/check_gate_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/customized_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/big_number_dcs.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/check_gate_perf_dcs.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/company_id_list +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/dcs_error.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/dcs_missing_gates.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/dcs_non_case_sensitive.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/dcs_target_app_filtering.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/dcs_target_app_filtering_hashed_keys.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/dcs_user_agent_versions.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/dcs_with_analytical_exposure_sampling.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/dcs_with_checksum.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/dcs_with_sampling.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/dcs_with_sdk_configs.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/demo_proj_dcs.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/demo_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/eval_proj_dcs.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/eval_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/get_id_lists.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/perf_proj_dcs.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/perf_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/shared_dict_dict_only.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/shared_dict_original_dcs.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/shared_dict_response_uncompressed.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/shared_dict_response_with_dict.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/shared_dict_response_without_dict.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/test_must_pass_user_agents.txt +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/test_user_agents.txt +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/ua_string_cases.json +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data/unknown_enum.pb.br +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data_store_bytes_adapter_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data_store_json_bytes_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data_store_json_only_no_bytes_methods_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data_store_lock_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/data_store_proto_bytes_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/direct_gcir_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/dynamic_string_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/dynamic_value_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/evaluation_details_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/evaluator_value_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/event_logger_failing_flush_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/event_logger_flush_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/event_logger_high_qps_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/event_logger_usage_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/expected_evaluation_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/exposure_sampling_key_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/flushing_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/gate_inversion_eval_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/gcir_target_app_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/gcir_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/global_configs_test.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/grpc_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/hash_util_evaluation_hash_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/http_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/initialize_timeout_test.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/instance_registry_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/layer_serialization_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/list_methods_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/memory_leak_per_request_users_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/network_client_streaming_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/network_client_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/network_failure_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/network_tls_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/observability_client_usage_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/output_logger_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/override_adapter_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/perf_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/persistent_storage_enforce_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/proto_specs_usage_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/spec_store_lock_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/spec_types_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/statsig_disable_network_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/statsig_environment_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/statsig_event_emitter_usage_test.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/statsig_global_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/statsig_local_file_event_logging_adapter_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/statsig_local_file_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/statsig_options_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/statsig_shared_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/statsig_user_builder_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/statsig_user_field_accessor_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/statsig_user_internal_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/statsig_user_loggable_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/statsig_user_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/syncing_network_failure_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/typed_getters_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/ua_parser_util_test.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/user_agent_tests_first_party.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/user_json_tests.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/utils/env_var_guard.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/utils/helpers.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/utils/mock_data_store.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/utils/mock_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/utils/mock_log_provider.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/utils/mock_observability_client.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/utils/mock_scrapi.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/utils/mock_specs_adapter.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/utils/mock_specs_listener.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/utils/mod.rs +0 -0
- {statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/utils/tls_test_server.rs +0 -0
|
@@ -2987,7 +2987,7 @@ dependencies = [
|
|
|
2987
2987
|
|
|
2988
2988
|
[[package]]
|
|
2989
2989
|
name = "sigstat-grpc"
|
|
2990
|
-
version = "0.
|
|
2990
|
+
version = "0.22.0"
|
|
2991
2991
|
dependencies = [
|
|
2992
2992
|
"async-trait",
|
|
2993
2993
|
"chrono",
|
|
@@ -3079,7 +3079,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
|
3079
3079
|
|
|
3080
3080
|
[[package]]
|
|
3081
3081
|
name = "statsig-node"
|
|
3082
|
-
version = "0.
|
|
3082
|
+
version = "0.22.0"
|
|
3083
3083
|
dependencies = [
|
|
3084
3084
|
"async-trait",
|
|
3085
3085
|
"napi",
|
|
@@ -3094,7 +3094,7 @@ dependencies = [
|
|
|
3094
3094
|
|
|
3095
3095
|
[[package]]
|
|
3096
3096
|
name = "statsig-pyo3"
|
|
3097
|
-
version = "0.
|
|
3097
|
+
version = "0.22.0"
|
|
3098
3098
|
dependencies = [
|
|
3099
3099
|
"async-trait",
|
|
3100
3100
|
"lazy_static",
|
|
@@ -3109,7 +3109,7 @@ dependencies = [
|
|
|
3109
3109
|
|
|
3110
3110
|
[[package]]
|
|
3111
3111
|
name = "statsig-rust"
|
|
3112
|
-
version = "0.
|
|
3112
|
+
version = "0.22.0"
|
|
3113
3113
|
dependencies = [
|
|
3114
3114
|
"ahash",
|
|
3115
3115
|
"arc-swap",
|
|
@@ -3163,7 +3163,7 @@ dependencies = [
|
|
|
3163
3163
|
|
|
3164
3164
|
[[package]]
|
|
3165
3165
|
name = "statsig_elixir"
|
|
3166
|
-
version = "0.
|
|
3166
|
+
version = "0.22.0"
|
|
3167
3167
|
dependencies = [
|
|
3168
3168
|
"async-trait",
|
|
3169
3169
|
"parking_lot",
|
|
@@ -3176,7 +3176,7 @@ dependencies = [
|
|
|
3176
3176
|
|
|
3177
3177
|
[[package]]
|
|
3178
3178
|
name = "statsig_ffi"
|
|
3179
|
-
version = "0.
|
|
3179
|
+
version = "0.22.0"
|
|
3180
3180
|
dependencies = [
|
|
3181
3181
|
"async-trait",
|
|
3182
3182
|
"cbindgen",
|
|
@@ -19,9 +19,9 @@ exclude = [
|
|
|
19
19
|
[workspace.package]
|
|
20
20
|
edition = "2021"
|
|
21
21
|
license = "ISC"
|
|
22
|
-
version = "0.
|
|
22
|
+
version = "0.22.0"
|
|
23
23
|
homepage = "https://statsig.com/"
|
|
24
|
-
authors = ["Statsig"
|
|
24
|
+
authors = ["Statsig"]
|
|
25
25
|
readme = "README.md"
|
|
26
26
|
repository = "https://github.com/statsig-io/statsig-server-core"
|
|
27
27
|
description = "Statsig Rust SDK for usage in multi-user server environments."
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: statsig_python_core
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.22.0
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -8,8 +8,7 @@ Requires-Dist: requests
|
|
|
8
8
|
Requires-Dist: typing-extensions
|
|
9
9
|
Summary: Statsig Python bindings for the Statsig Core SDK.
|
|
10
10
|
Home-Page: https://statsig.com/
|
|
11
|
-
Author: Statsig
|
|
12
|
-
Author-email: Statsig, Daniel Loomb <daniel@statsig.com>
|
|
11
|
+
Author: Statsig
|
|
13
12
|
License: ISC
|
|
14
13
|
Requires-Python: >=3.10
|
|
15
14
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
@@ -104,7 +104,7 @@ def _assert_exposure(event, event_name, metadata):
|
|
|
104
104
|
),
|
|
105
105
|
pytest.param(
|
|
106
106
|
lambda statsig: statsig.get_experiment(
|
|
107
|
-
StatsigUser("a-user", email="
|
|
107
|
+
StatsigUser("a-user", email="user@example.com"),
|
|
108
108
|
"running_exp_in_unlayered_with_holdout",
|
|
109
109
|
),
|
|
110
110
|
(
|
|
@@ -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.22.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"] }
|
|
@@ -100,8 +100,8 @@ mod tests {
|
|
|
100
100
|
|
|
101
101
|
#[test]
|
|
102
102
|
fn test_str_starting_with() {
|
|
103
|
-
let needle = dyn_value!("
|
|
104
|
-
let haystack = test_only_make_eval_value!(vec!["tore", "
|
|
103
|
+
let needle = dyn_value!("user@example.com");
|
|
104
|
+
let haystack = test_only_make_eval_value!(vec!["tore", "user"]);
|
|
105
105
|
|
|
106
106
|
assert!(compare_strings_in_array(
|
|
107
107
|
&needle,
|
|
@@ -150,7 +150,7 @@ async fn test_event_logging() {
|
|
|
150
150
|
|
|
151
151
|
let adapter = StatsigHttpEventLoggingAdapter::new(&sdk_key, None);
|
|
152
152
|
|
|
153
|
-
let payload_str = r#"{"events":[{"eventName":"statsig::config_exposure","metadata":{"config":"running_exp_in_unlayered_with_holdout","ruleID":"5suobe8yyvznqasn9Ph1dI"},"secondaryExposures":[{"gate":"global_holdout","gateValue":"false","ruleID":"3QoA4ncNdVGBaMt3N1KYjz:0.50:1"},{"gate":"exp_holdout","gateValue":"false","ruleID":"1rEqLOpCROaRafv7ubGgax"}],"time":1722386636538,"user":{"appVersion":null,"country":null,"custom":null,"customIDs":null,"email":"
|
|
153
|
+
let payload_str = r#"{"events":[{"eventName":"statsig::config_exposure","metadata":{"config":"running_exp_in_unlayered_with_holdout","ruleID":"5suobe8yyvznqasn9Ph1dI"},"secondaryExposures":[{"gate":"global_holdout","gateValue":"false","ruleID":"3QoA4ncNdVGBaMt3N1KYjz:0.50:1"},{"gate":"exp_holdout","gateValue":"false","ruleID":"1rEqLOpCROaRafv7ubGgax"}],"time":1722386636538,"user":{"appVersion":null,"country":null,"custom":null,"customIDs":null,"email":"user@example.com","ip":null,"locale":null,"privateAttributes":null,"statsigEnvironment":null,"userAgent":null,"userID":"a-user"},"value":null}],"statsigMetadata":{"sdk_type":"statsig-server-core","sdk_version":"0.0.1"}}"#;
|
|
154
154
|
let payload = serde_json::from_str::<LogEventPayload>(payload_str).unwrap();
|
|
155
155
|
|
|
156
156
|
let request = LogEventRequest {
|
|
@@ -820,6 +820,20 @@ impl Statsig {
|
|
|
820
820
|
}
|
|
821
821
|
}
|
|
822
822
|
|
|
823
|
+
#[must_use]
|
|
824
|
+
pub fn get_parameter_names_from_store(
|
|
825
|
+
&self,
|
|
826
|
+
user: &StatsigUser,
|
|
827
|
+
parameter_store_name: &str,
|
|
828
|
+
) -> Vec<String> {
|
|
829
|
+
self.get_parameter_store_with_user_and_options(
|
|
830
|
+
Some(user),
|
|
831
|
+
parameter_store_name,
|
|
832
|
+
ParameterStoreEvaluationOptions::default(),
|
|
833
|
+
)
|
|
834
|
+
.get_parameter_names()
|
|
835
|
+
}
|
|
836
|
+
|
|
823
837
|
pub fn get_parameter_store(&self, parameter_store_name: &str) -> ParameterStore<'_> {
|
|
824
838
|
self.get_parameter_store_with_options(
|
|
825
839
|
parameter_store_name,
|
|
@@ -252,6 +252,13 @@ pub struct ParameterStore<'a> {
|
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
impl ParameterStore<'_> {
|
|
255
|
+
#[must_use]
|
|
256
|
+
pub fn get_parameter_names(&self) -> Vec<String> {
|
|
257
|
+
let mut names: Vec<String> = self.parameters.keys().cloned().collect();
|
|
258
|
+
names.sort();
|
|
259
|
+
names
|
|
260
|
+
}
|
|
261
|
+
|
|
255
262
|
pub fn get_opt<T: DeserializeOwned>(&self, user: &StatsigUser, param_name: &str) -> Option<T> {
|
|
256
263
|
let param = self.parameters.get(param_name)?;
|
|
257
264
|
match param {
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/exposure_tests.rs
RENAMED
|
@@ -324,7 +324,7 @@ async fn test_gate_dynamic_config_experiment_and_layer_log_secondary_exposures_a
|
|
|
324
324
|
assert_secondary_exposures_logged_as_primary_for_eval(
|
|
325
325
|
"secret-shhh-sec-expo-experiment-kind",
|
|
326
326
|
StatsigUserBuilder::new_with_user_id("a-user".to_string())
|
|
327
|
-
.email(Some("
|
|
327
|
+
.email(Some("user@example.com".to_string()))
|
|
328
328
|
.build(),
|
|
329
329
|
|statsig, user| {
|
|
330
330
|
let _ = statsig.get_experiment(user, "running_exp_in_unlayered_with_holdout");
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
mod utils;
|
|
2
|
+
|
|
3
|
+
use crate::utils::mock_event_logging_adapter::MockEventLoggingAdapter;
|
|
4
|
+
use crate::utils::mock_specs_adapter::MockSpecsAdapter;
|
|
5
|
+
use serde_json::json;
|
|
6
|
+
use statsig_rust::{
|
|
7
|
+
OverrideAdapter, Statsig, StatsigLocalOverrideAdapter, StatsigOptions, StatsigUser,
|
|
8
|
+
};
|
|
9
|
+
use std::collections::HashMap;
|
|
10
|
+
use std::sync::Arc;
|
|
11
|
+
use std::time::Duration;
|
|
12
|
+
use tokio::time::sleep;
|
|
13
|
+
|
|
14
|
+
const MIXED_STORE_NAME: &str = "a_param_store";
|
|
15
|
+
const EXPECTED_MIXED_STORE_PARAM_NAMES: [&str; 7] = [
|
|
16
|
+
"a_bool_param", // experiment
|
|
17
|
+
"a_num_param", // experiment
|
|
18
|
+
"a_string_param", // gate
|
|
19
|
+
"an_array_param", // static value
|
|
20
|
+
"an_object_param", // layer
|
|
21
|
+
"another_string_param", // dynamic config
|
|
22
|
+
"brock_an_object_param", // experiment
|
|
23
|
+
];
|
|
24
|
+
|
|
25
|
+
async fn setup_demo_proj(logging_adapter: &Arc<MockEventLoggingAdapter>) -> (Statsig, StatsigUser) {
|
|
26
|
+
let statsig = Statsig::new(
|
|
27
|
+
"secret-key",
|
|
28
|
+
Some(Arc::new(StatsigOptions {
|
|
29
|
+
specs_adapter: Some(Arc::new(MockSpecsAdapter::with_data(
|
|
30
|
+
"tests/data/demo_proj_dcs.json",
|
|
31
|
+
))),
|
|
32
|
+
event_logging_adapter: Some(logging_adapter.clone()),
|
|
33
|
+
output_log_level: Some(statsig_rust::output_logger::LogLevel::Error),
|
|
34
|
+
..StatsigOptions::new()
|
|
35
|
+
})),
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
statsig.initialize().await.unwrap();
|
|
39
|
+
|
|
40
|
+
(statsig, StatsigUser::with_user_id("a_user_id"))
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
async fn setup_eval_proj_with_overrides() -> (Statsig, StatsigUser, Arc<StatsigLocalOverrideAdapter>)
|
|
44
|
+
{
|
|
45
|
+
let adapter = Arc::new(StatsigLocalOverrideAdapter::new());
|
|
46
|
+
let statsig = Statsig::new(
|
|
47
|
+
"secret-key",
|
|
48
|
+
Some(Arc::new(StatsigOptions {
|
|
49
|
+
specs_adapter: Some(Arc::new(MockSpecsAdapter::with_data(
|
|
50
|
+
"tests/data/eval_proj_dcs.json",
|
|
51
|
+
))),
|
|
52
|
+
event_logging_adapter: Some(Arc::new(MockEventLoggingAdapter::new())),
|
|
53
|
+
override_adapter: Some(adapter.clone()),
|
|
54
|
+
output_log_level: Some(statsig_rust::output_logger::LogLevel::Error),
|
|
55
|
+
..StatsigOptions::new()
|
|
56
|
+
})),
|
|
57
|
+
);
|
|
58
|
+
|
|
59
|
+
statsig.initialize().await.unwrap();
|
|
60
|
+
|
|
61
|
+
(statsig, StatsigUser::with_user_id("a_user"), adapter)
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
#[tokio::test]
|
|
65
|
+
async fn test_get_parameter_names_from_store_all_ref_types() {
|
|
66
|
+
let logging_adapter = Arc::new(MockEventLoggingAdapter::new());
|
|
67
|
+
let (statsig, user) = setup_demo_proj(&logging_adapter).await;
|
|
68
|
+
|
|
69
|
+
let names = statsig.get_parameter_names_from_store(&user, MIXED_STORE_NAME);
|
|
70
|
+
|
|
71
|
+
assert_eq!(names, EXPECTED_MIXED_STORE_PARAM_NAMES.to_vec());
|
|
72
|
+
|
|
73
|
+
statsig.shutdown().await.unwrap();
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
#[tokio::test]
|
|
77
|
+
async fn test_get_parameter_names_is_sorted_and_deterministic() {
|
|
78
|
+
let logging_adapter = Arc::new(MockEventLoggingAdapter::new());
|
|
79
|
+
let (statsig, user) = setup_demo_proj(&logging_adapter).await;
|
|
80
|
+
|
|
81
|
+
let first = statsig.get_parameter_names_from_store(&user, MIXED_STORE_NAME);
|
|
82
|
+
|
|
83
|
+
let mut sorted = first.clone();
|
|
84
|
+
sorted.sort();
|
|
85
|
+
assert_eq!(first, sorted, "parameter names must be sorted");
|
|
86
|
+
|
|
87
|
+
for _ in 0..25 {
|
|
88
|
+
let next = statsig.get_parameter_names_from_store(&user, MIXED_STORE_NAME);
|
|
89
|
+
assert_eq!(first, next, "parameter name ordering must be stable");
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
statsig.shutdown().await.unwrap();
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
#[tokio::test]
|
|
96
|
+
async fn test_get_parameter_names_from_unrecognized_store_is_empty() {
|
|
97
|
+
let logging_adapter = Arc::new(MockEventLoggingAdapter::new());
|
|
98
|
+
let (statsig, user) = setup_demo_proj(&logging_adapter).await;
|
|
99
|
+
|
|
100
|
+
let names = statsig.get_parameter_names_from_store(&user, "not_a_real_parameter_store");
|
|
101
|
+
|
|
102
|
+
assert!(
|
|
103
|
+
names.is_empty(),
|
|
104
|
+
"unrecognized store should yield an empty list, got {names:?}"
|
|
105
|
+
);
|
|
106
|
+
|
|
107
|
+
statsig.shutdown().await.unwrap();
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
#[tokio::test]
|
|
111
|
+
async fn test_get_parameter_names_logs_no_exposures() {
|
|
112
|
+
let logging_adapter = Arc::new(MockEventLoggingAdapter::new());
|
|
113
|
+
let (statsig, user) = setup_demo_proj(&logging_adapter).await;
|
|
114
|
+
|
|
115
|
+
let names = statsig.get_parameter_names_from_store(&user, MIXED_STORE_NAME);
|
|
116
|
+
assert!(!names.is_empty());
|
|
117
|
+
|
|
118
|
+
sleep(Duration::from_millis(1)).await;
|
|
119
|
+
statsig.flush_events().await;
|
|
120
|
+
|
|
121
|
+
let payloads = logging_adapter.logged_payloads.lock().unwrap().clone();
|
|
122
|
+
let event_names: Vec<String> = payloads
|
|
123
|
+
.iter()
|
|
124
|
+
.filter_map(|p| p.events.as_array().cloned())
|
|
125
|
+
.flatten()
|
|
126
|
+
.filter_map(|e| {
|
|
127
|
+
e.get("eventName")
|
|
128
|
+
.and_then(|n| n.as_str())
|
|
129
|
+
.map(str::to_string)
|
|
130
|
+
})
|
|
131
|
+
.filter(|name| name != "statsig::diagnostics")
|
|
132
|
+
.collect();
|
|
133
|
+
|
|
134
|
+
let exposures: Vec<&String> = event_names
|
|
135
|
+
.iter()
|
|
136
|
+
.filter(|name| name.contains("_exposure"))
|
|
137
|
+
.collect();
|
|
138
|
+
|
|
139
|
+
assert!(
|
|
140
|
+
exposures.is_empty(),
|
|
141
|
+
"expected no exposure events, got {exposures:?}"
|
|
142
|
+
);
|
|
143
|
+
|
|
144
|
+
assert!(
|
|
145
|
+
event_names
|
|
146
|
+
.iter()
|
|
147
|
+
.all(|name| name == "statsig::non_exposed_checks"),
|
|
148
|
+
"unexpected events logged: {event_names:?}"
|
|
149
|
+
);
|
|
150
|
+
|
|
151
|
+
statsig.shutdown().await.unwrap();
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
#[tokio::test]
|
|
155
|
+
async fn test_get_parameter_names_respects_parameter_store_overrides() {
|
|
156
|
+
let (statsig, user, adapter) = setup_eval_proj_with_overrides().await;
|
|
157
|
+
|
|
158
|
+
assert_eq!(
|
|
159
|
+
statsig.get_parameter_names_from_store(&user, "test_parameter_store"),
|
|
160
|
+
vec!["bool_param".to_string()]
|
|
161
|
+
);
|
|
162
|
+
|
|
163
|
+
adapter.override_parameter_store(
|
|
164
|
+
"test_parameter_store",
|
|
165
|
+
HashMap::from([
|
|
166
|
+
("zeta_param".to_string(), json!(true)),
|
|
167
|
+
("alpha_param".to_string(), json!("a_string")),
|
|
168
|
+
]),
|
|
169
|
+
Some("a_user"),
|
|
170
|
+
);
|
|
171
|
+
|
|
172
|
+
assert_eq!(
|
|
173
|
+
statsig.get_parameter_names_from_store(&user, "test_parameter_store"),
|
|
174
|
+
vec!["alpha_param".to_string(), "zeta_param".to_string()]
|
|
175
|
+
);
|
|
176
|
+
|
|
177
|
+
let other_user = StatsigUser::with_user_id("another_user");
|
|
178
|
+
assert_eq!(
|
|
179
|
+
statsig.get_parameter_names_from_store(&other_user, "test_parameter_store"),
|
|
180
|
+
vec!["bool_param".to_string()]
|
|
181
|
+
);
|
|
182
|
+
|
|
183
|
+
statsig.shutdown().await.unwrap();
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
#[tokio::test]
|
|
187
|
+
async fn test_parameter_store_get_parameter_names() {
|
|
188
|
+
let logging_adapter = Arc::new(MockEventLoggingAdapter::new());
|
|
189
|
+
let (statsig, user) = setup_demo_proj(&logging_adapter).await;
|
|
190
|
+
|
|
191
|
+
let store = statsig.get_parameter_store_for_user(&user, MIXED_STORE_NAME);
|
|
192
|
+
assert_eq!(
|
|
193
|
+
store.get_parameter_names(),
|
|
194
|
+
EXPECTED_MIXED_STORE_PARAM_NAMES.to_vec()
|
|
195
|
+
);
|
|
196
|
+
|
|
197
|
+
let missing = statsig.get_parameter_store_for_user(&user, "nope");
|
|
198
|
+
assert!(missing.get_parameter_names().is_empty());
|
|
199
|
+
|
|
200
|
+
statsig.shutdown().await.unwrap();
|
|
201
|
+
}
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-rust/tests/statsig_tests.rs
RENAMED
|
@@ -19,7 +19,7 @@ fn get_sdk_key() -> String {
|
|
|
19
19
|
#[tokio::test]
|
|
20
20
|
async fn test_check_gate() {
|
|
21
21
|
let user = StatsigUserBuilder::new_with_user_id("a-user".to_string())
|
|
22
|
-
.email(Some("
|
|
22
|
+
.email(Some("user@example.com".to_string()))
|
|
23
23
|
.build();
|
|
24
24
|
|
|
25
25
|
let statsig = Statsig::new(&get_sdk_key(), None);
|
|
@@ -55,7 +55,7 @@ async fn test_check_gate_id_list() {
|
|
|
55
55
|
#[tokio::test]
|
|
56
56
|
async fn test_get_experiment() {
|
|
57
57
|
let user = StatsigUserBuilder::new_with_user_id("a-user".to_string())
|
|
58
|
-
.email(Some("
|
|
58
|
+
.email(Some("user@example.com".to_string()))
|
|
59
59
|
.build();
|
|
60
60
|
|
|
61
61
|
let statsig = Statsig::new(&get_sdk_key(), None);
|
|
@@ -217,7 +217,7 @@ async fn test_get_experiment_groups_returns_groups_for_inactive_experiment() {
|
|
|
217
217
|
#[tokio::test]
|
|
218
218
|
async fn test_gcir() {
|
|
219
219
|
let user = StatsigUserBuilder::new_with_user_id("a-user".to_string())
|
|
220
|
-
.email(Some("
|
|
220
|
+
.email(Some("user@example.com".to_string()))
|
|
221
221
|
.build();
|
|
222
222
|
let opts = StatsigOptions {
|
|
223
223
|
output_log_level: Some(LogLevel::Debug),
|
|
@@ -252,7 +252,7 @@ async fn test_gcir() {
|
|
|
252
252
|
async fn test_user_agent_and_country_lookup() {
|
|
253
253
|
// Default behavior
|
|
254
254
|
let user = StatsigUserBuilder::new_with_user_id("a-user".to_string())
|
|
255
|
-
.email(Some("
|
|
255
|
+
.email(Some("user@example.com".to_string()))
|
|
256
256
|
.user_agent(Some(
|
|
257
257
|
"Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1".into(),
|
|
258
258
|
))
|
|
@@ -270,7 +270,7 @@ async fn test_user_agent_and_country_lookup() {
|
|
|
270
270
|
|
|
271
271
|
// Wait for ua and ip to initialize
|
|
272
272
|
let user = StatsigUserBuilder::new_with_user_id("a-user".to_string())
|
|
273
|
-
.email(Some("
|
|
273
|
+
.email(Some("user@example.com".to_string()))
|
|
274
274
|
.user_agent(Some(
|
|
275
275
|
"Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1".into(),
|
|
276
276
|
))
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/py_src/statsig_python_core/__init__.py
RENAMED
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/py_src/statsig_python_core/data_store.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/py_src/statsig_python_core/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/py_src/statsig_python_core/statsig.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-grpc/src/mock_forward_proxy.rs
RENAMED
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-grpc/src/statsig_forward_proxy.rs
RENAMED
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-grpc/src/statsig_grpc_client.rs
RENAMED
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-grpc/src/statsig_grpc_err.rs
RENAMED
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/.github/workflows/CI.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/data_store_base_py.rs
RENAMED
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/interned_store_py.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/statsig_base_py.rs
RENAMED
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/statsig_metadata_py.rs
RENAMED
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/statsig_options_py.rs
RENAMED
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/statsig_types_py.rs
RENAMED
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/statsig_user_py.rs
RENAMED
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/src/valid_primitives_py.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/mock_output_logger.py
RENAMED
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/profile_util.py
RENAMED
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/shutdown_sub_proc.py
RENAMED
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_data_store.py
RENAMED
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_error_boundary.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_forking.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_performance.py
RENAMED
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_shared_statsig.py
RENAMED
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_shutdown.py
RENAMED
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_statsig.py
RENAMED
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_statsig_options.py
RENAMED
|
File without changes
|
{statsig_python_core-0.21.0 → statsig_python_core-0.22.0}/statsig-pyo3/tests/test_statsig_user.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|