code: def get_regrets_idx(objectives):
      """Return the indices corresponding to the cumulative minimum"""
      minima = numpy.minimum.accumulate(objectives)
      diff = numpy.diff(minima)
      jumps = numpy.arange(len(objectives))
      jumps[1:] *= diff != 0
      jumps = numpy.maximum.accumulate(jumps)
      return jumps
  
label_desc: Use image node_id 2 for calling a global function with example usage: get_regrets_idx(objectives) and returns: jumps