code: def test_distributed_preprocess_record_with_noise(
      self, local_stddev, record, expected_tree
  ):
      query = tree_range_query.TreeRangeSumQuery.build_distributed_discrete_gaussian_query(
          10.0, local_stddev
      )
      global_state = query.initial_global_state()
      params = query.derive_sample_params(global_state)
  
      preprocessed_record = query.preprocess_record(params, record)
  
      self.assertAllClose(
          preprocessed_record, expected_tree, atol=10 * local_stddev
      )
  
file_path: privacy/tensorflow_privacy/privacy/dp_query/tree_range_query_test.py
imports: import math
  from absl.testing import parameterized
  import tensorflow
  from tensorflow_privacy.privacy.dp_query import tree_range_query
label_desc: Use image node_id 6 for calling the TreeRangeSumQueryTest obj's underlying member method code with example usage: obj.test_distributed_preprocess_record_with_noise(local_stddev, record, expected_tree) without return types