in dagify/converter/utils.py [0:0]
def get_tasktype_statistics(source_jt, config_jt):
"""Function to caluculate the percentage conversion"""
converted_percent = 0
non_converted_percent = 0
# Conversion Info
job_types_converted = list(set(config_jt) & set(source_jt))
job_types_not_converted = list(set(source_jt) - set(config_jt))
# Percentages
non_converted_percent, converted_percent = \
calculate_percentages(job_types_not_converted, job_types_converted)
return job_types_converted, job_types_not_converted, converted_percent, non_converted_percent