285fc18cef243e17a6805348f8d455f7c0c94e80,test/augmenters/test_weather.py,TestSnowflakesLayer,test_large_snowflakes_size,#TestSnowflakesLayer#,418

Before Change



        image_aug = aug.augment_image(image)

        assert np.average(image_aug) > 128

After Change


            )

        nb_seen = 0
        for _ in np.arange(50):
            image = np.zeros((16, 16, 3), dtype=np.uint8)

            image_aug = aug.augment_image(image)

            assert np.std(image_aug) < 1
            if np.average(image_aug) > 128:
                nb_seen += 1
        assert nb_seen > 30  // usually around 45
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: aleju/imgaug
Commit Name: 285fc18cef243e17a6805348f8d455f7c0c94e80
Time: 2019-11-23
Author: kontakt@ajung.name
File Name: test/augmenters/test_weather.py
Class Name: TestSnowflakesLayer
Method Name: test_large_snowflakes_size


Project Name: scipy/scipy
Commit Name: e9402dd24f071e7dbe4e0c2421f90f285ca31896
Time: 2015-11-15
Author: person142@users.noreply.github.com
File Name: scipy/ndimage/tests/test_filters.py
Class Name:
Method Name: test_gh_5430


Project Name: aleju/imgaug
Commit Name: 582c109cc04a9203c02d3497349659137b037d1b
Time: 2019-12-17
Author: kontakt@ajung.name
File Name: test/augmenters/test_geometric.py
Class Name: TestPiecewiseAffine
Method Name: test_cval_is_zero