code: def deterministic_sample(list_, nSample, seed=0, rng=None, strict=False):
      
      rng = ensure_rng(seed if rng is None else rng)
      sample_list = random_sample(list_, nSample, strict=strict, rng=rng)
      return sample_list
docs: Grabs data randomly, but in a repeatable way