code: def test_nonstationary_mutator_simplify(
      model0, mutator1, max_pool, avg_pool, global_pool
  ):
      model0.mutators = MutatorSequence([mutator1])
      assert model0.simplify() == {"debug": mutator1}
      mutator1.sampler = None
      model1 = model0.random()
      assert model1.status == ModelStatus.Frozen
      assert isinstance(model1.sample["debug"], _RandomSampler)
      pools = _get_pools(model1)
      assert pools[0] in [max_pool, avg_pool, global_pool]
      assert pools[1] in [max_pool, avg_pool, global_pool]
  
imports: import json
  from pathlib import Path
  import pytest
  from nni.common.framework import get_default_framework, set_default_framework
  from nni.nas.space import StationaryMutator, Mutator, MutationSampler, GraphModelSpace, ModelStatus, MutatorSequence
  from nni.nas.space.mutator import _RandomSampler
  from nni.nas.space.graph_op import Operation
label_desc: Use image node_id 13 for calling a global function with example usage: test_nonstationary_mutator_simplify(model0, mutator1, max_pool, avg_pool, global_pool) without return types