code: def test_chooser_rng():
      dc = {
          "NoCoolDownRandomDesign": [
              ModulusRandomDesign,
              {"modulus": 2},
          ],
          "LinearCoolDownRandomDesign": [
              DynamicModulusRandomDesign,
              {
                  "start_modulus": 2,
                  "modulus_increment": 1,
                  "end_modulus": 10,
              },
          ],
          "ProbabilityRandomDesign": [
              ProbabilityRandomDesign,
              {"probability": 0.5},
          ],
          "CosineAnnealingRandomDesign": [
              CosineAnnealingRandomDesign,
              {
                  "min_probability": 0.0,
                  "max_probability": 0.9,
                  "restart_iteration": 7,
              },
          ],
      }
  
      for method in dc:
          for i in range(100):
              c1 = dc[method][0](**dc[method][1], seed=i)
              c2 = dc[method][0](**dc[method][1], seed=i)
              for i in range(100):
                  assert c1.check(0) == c2.check(0)
                  assert c1.check(10) == c2.check(10)
                  c1.next_iteration()
                  c2.next_iteration()
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_chooser_rng() without return types