1a49253346450ec20a3a1170c5b748a502c3c25c,tests/attacks/evasion/test_boundary.py,,test_untargeted_images,#Any#Any#Any#,104

Before Change


        assert (y_pred != y_pred_adv).any()

        if fix_mlFramework in ["keras"]:
            k.clear_session()


def test_classifier_type_check_fail_classifier():
    // Use a useless test classifier to test basic classifier properties

After Change


        return

    for classifier in image_classifier_list:
        if BoundaryAttack.is_valid_classifier_type(classifier) is False:
            continue
        attack = BoundaryAttack(classifier=classifier, targeted=False, max_iter=20)

        utils_attack._back_end_untargeted_images(attack, classifier, fix_get_mnist_subset, fix_mlFramework)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 1a49253346450ec20a3a1170c5b748a502c3c25c
Time: 2020-02-06
Author: killian.levacher@gmail.com
File Name: tests/attacks/evasion/test_boundary.py
Class Name:
Method Name: test_untargeted_images


Project Name: kermitt2/delft
Commit Name: c5f84f94fcfe07a2efe77e9c0cdb8ecec45f3ac5
Time: 2019-12-04
Author: patrice.lopez@science-miner.com
File Name: citationClassifier.py
Class Name:
Method Name:


Project Name: kermitt2/delft
Commit Name: 78460393507c4cd468bdfba28a2a72ec98265109
Time: 2019-07-20
Author: patrice.lopez@science-miner.com
File Name: citationClassifier.py
Class Name:
Method Name: