def get_finished_ids(path):
    l = sorted([int(re.findall("([0-9]*)-results.json", p)[0])
               for p in glob.glob(os.path.join(path, "*-results.json"))])
    return l
returns all experiment ids for which the result file exists in
dataset/ETHPy150Open rlpy/rlpy/rlpy/Tools/run.py/get_finished_ids