code: def __gen_random_values(self):
          '''Generate random values based on supplied value ranges
  
          Returns:
              list: random values, one per tunable variable
          '''
  
          values = []
          if self._value_ranges is None:
              self._logger.log(
                  'crit',
                  'Must set the type/range of possible values'
              )
              raise RuntimeError("Must set the type/range of possible values")
          else:
              for t in self._value_ranges:
                  if t[0] == 'int':
                      values.append(randint(t[1][0], t[1][1]))
                  elif t[0] == 'float':
                      values.append(np.random.uniform(t[1][0], t[1][1]))
                  else:
                      self._logger.log(
                          'crit',
                          'Value type must be either an `int` or a `float`'
                      )
                      raise RuntimeError(
                          'Value type must be either an `int` or a `float`'
                      )
          return valuef __gen_random_values(self):
          '''Generate random values based on supplied value ranges
  
          Returns:
              list: random values, one per tunable variable
          '''
  
          values = []
          if self._value_ranges is None:
              self._logger.log(
                  'crit',
                  'Must set the type/range of possible values'
              )
              raise RuntimeError("Must set the type/range of possible values")
          else:
              for t in self._value_ranges:
                  if t[0] == 'int':
                      values.append(randint(t[1][0], t[1][1]))
                  elif t[0] == 'float':
                      values.append(np.random.uniform(t[1][0], t[1][1]))
                  else:
                      self._logger.log(
                          'crit',
                          'Value type must be either an `int` or a `float`'
                      )
                      raise RuntimeError(
                          'Value type must be either an `int` or a `float`'
                      )
          return values
docs: Generate random values based on supplied value ranges
  
          Returns:
              list: random values, one per tunable variable