code: def test_history_hash_reproducibility(data1: ActionObject) -> None:
      """Test that the same history hash is produced, given the same inputs"""
      result1 = data1.mean().std()
      result2 = data1.mean().std()
      assert result1.syft_history_hash == result2.syft_history_hash
  
      remote_0 = ActionObject.from_obj(0)
      remote_10 = ActionObject.from_obj(10)
  
      mask = data1 > remote_0
      amount = data1 * remote_10
      result3 = mask * amount
      result4 = (data1 > remote_0) * (data1 * remote_10)
      assert result3.syft_history_hash == result4.syft_history_hash
  
file_path: PySyft/packages/syft/tests/syft/code_verification_test.py
imports: import numpy
  import pytest
  from syft.service.action.action_data_empty import ActionDataEmpty
  from syft.service.action.action_object import ActionObject
  from syft.service.action.numpy import NumpyArrayObject
label_desc: Use image node_id 12 for calling a global function with example usage: test_history_hash_reproducibility(data1) without return types