code: def test_chooser_prob():
      for i in range(10):
          c = ProbabilityRandomDesign(seed=1, probability=0.1 * i)
          stats = []
          for j in range(100000):
              stats.append(c.check(j))
          assert np.isclose(np.mean(stats), 0.1 * i, atol=10**-2)
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_chooser_prob() without return types