def METHOD_NAME(coord: tuple):
    d = min(len2(coord[0], coord[1]),
            min(len2(coord[1], coord[2]) * 0.8,
                min(len2(coord[0], coord[2]) * 0.6,
                    len3(coord) * 0.2)))
    return 1.0 - d