code: def set_state(seed_value=None, step=None):
      
      global RANDOM_SEED  # pylint: disable=global-statement
      if seed_value is not None:
          RANDOM_SEED = seed_value
      if step is not None:
          RANDOM_SEED += step
docs: Set random seed.