def METHOD_NAME(assign_results, n_samples):
    tuple_list = []
    idx = 0
    for i in range(n_samples):
        for j in range(i + 1, n_samples):
            if assign_results[idx] == -1:
                tuple_list.append((i, j))
            idx += 1
    return tuple_list