def get_missing_scores(type2score_1, type2score_2):
    """
    Get missing scores between systems by setting the score in one system with
    the score in the other system

    Parameters
    ----------
    type2score_1, type2score_2: dict
        Keys are types and values are scores

    Returns
    -------
    type2score_1, type2score_2: dict
        Keys are types and values are scores, updated to have scores across all
        types between the two score dictionaries

    missing_types: set
        Keys that were present in only one of the provided dicts.
    """
    missing_types = set()
    types = set(type2score_1.keys()).union(set(type2score_2.keys()))
    for t in types:
        if t not in type2score_1:
            type2score_1[t] = type2score_2[t]
            missing_types.add(t)
        elif t not in type2score_2:
            type2score_2[t] = type2score_1[t]
            missing_types.add(t)
    return type2score_1, type2score_2, missing_types