def get_data(filters):
    res = get_procmap_stats(filters)
    has_perms = ('DC_PLC_Process_Map_Specialist' in frappe.get_roles(frappe.session.user))
    res = [add_completeness(row, [4]) for row in res]
    res = [add_query_relevance(row, has_perms) for row in res]
    return res
def get_data(filters):
    res = get_procmap_stats(filters)
    has_perms = ('DC_PLC_Process_Map_Specialist' in frappe.get_roles(frappe.session.user))
    res = [add_completeness(row, [4]) for row in res]
    res = [add_query_relevance(row, has_perms) for row in res]
    return res