code: def test_deterministic(generator, scheduler):
      a, t = generator(chunks=100, random_state=10)
      b, u = generator(chunks=100, random_state=10)
      assert_eq(a, b)
      assert_eq(t, u)
  
file_path: dask-ml/tests/test_datasets.py
imports: from datetime import date
  import dask
  import dask.array
  import numpy
  import pytest
  from dask.array.utils import assert_eq
  import dask_ml.datasets
label_desc: Use image node_id 3 for calling a global function with example usage: test_deterministic(generator, scheduler) without return types