def get_jobs_by_type(data_dict):
    """
    Examines 'algo' and creates new dict where the key is
    the value of 'algo' and value is a list of
    jobs (each one a dict) run with that 'algo'

    :param data_dict:
    :return:
    :rtype: dict
    """
    jobtype_dict = dict()
    for entry in data_dict:
        if data_dict[entry]['algo'] not in jobtype_dict:
            jobtype_dict[data_dict[entry]['algo']] = []
        jobtype_dict[data_dict[entry]['algo']].append(data_dict[entry])
    return jobtype_dict