def get_cvelists_for_cve_result(cve_result):
    """
    Get (has_cve_list, fixed_cve_list) for CVE check result
    :param cve_result: the CVE check result, a dict
    """
    has_cve_list = []
    fixed_cve_list = []
    for cve in cve_result:
        result = cve_result[cve]
        if "cvefix" in result and result["cvefix"]:
            fixed_cve_list.append(cve)
        elif "cveadd" in result and result["cveadd"]:
            has_cve_list.append(cve)
    return (has_cve_list, fixed_cve_list)