import pickle


def gather_seed_data_record(path, scenario, num_cycle):
    """
    Args:
        path (str):
            point to data folder
        scenario (str):
            common starting names for the log folder, e.g. "random-"
        num_cycle (int):
            number of cycles applied to such scenario, indicating 
            the number of log folders
    Returns:
        history_list (list):
            list of loaded history file
    """
    record_list = []
    for i in range(num_cycle):
        record = pickle.load(open(path+"/seed_data_%s_%s.pickle" % (scenario, str(i)), "rb"))
        record_list.append(record)
    return record_list