code: def next(
      self, grid, values, durations, candidates, pending, complete
  ):
      return int(
          candidates[int(np.floor(candidates.shape[0] * npr.rand()))]
      )
  
imports: import numpy
  import numpy.random
label_desc: Use image node_id 2 for calling the RandomChooser obj's underlying member method code with example usage: obj.next(grid, values, durations, candidates, pending, complete) and returns: int