code: def test_reproducible_shuffle_sampler():
      sampler = torch.utils.data.SequentialSampler(range(5))
      sampler = samplers.ReproducibleShuffleSampler(sampler, 777)
  
      assert list(sampler) == [0, 4, 1, 2, 3]
      assert list(sampler) == [2, 0, 1, 3, 4]
  
imports: import logging
  import queue
  import typing
  from logging import handlers
  import numpy
  import pytest
  import torch
  import determined
  from determined.pytorch import data_length, samplers, to_device
label_desc: Use image node_id 9 for calling a global function with example usage: test_reproducible_shuffle_sampler() without return types