code: def test_dedup_nested():
      space = format_search_space(nested_space)
      dedup = Deduplicator(space)
      params = set()
      for i in range(10):
          p = dedup(suggest(rng, space))
          s = nni.dump(deformat_parameters(p, space), sort_keys=True)
          assert s not in params
          params.add(s)
  
imports: import numpy
  import nni
  from nni.algorithms.hpo.random_tuner import suggest
  from nni.common.hpo_utils import Deduplicator, deformat_parameters, format_search_space
label_desc: Use image node_id 3 for calling a global function with example usage: test_dedup_nested() without return types