code: def test_randint():
      rs = RandomState(seed=0)
      vals = [rs.randint(10) for t in range(10000)]
      np.testing.assert_almost_equal(np.mean(vals), 5.018)
  
imports: import pickle
  import numpy
  from lightning.impl.randomkit import RandomState
label_desc: Use image node_id 1 for calling a global function with example usage: test_randint() without return types