0c84bc1e62278518f68222c2af1679608f0ce380,test/test_random.py,Test_advance_generator_,test_samples_different_after_advance_np116,#Test_advance_generator_#,1322
Before Change
// second advance
iarandom._advance_generator_np116_(gen)
sample_before = gen_copy1.random()
sample_after = gen_copy2.random()
sample_after_after = gen.random()
assert not np.isclose(sample_after, sample_before, rtol=0)
assert not np.isclose(sample_after_after, sample_after, rtol=0)
After Change
// second advance
iarandom._advance_generator_np116_(gen)
sample_before = gen_copy1.uniform(0.0, 1.0)
sample_after = gen_copy2.uniform(0.0, 1.0)
sample_after_after = gen.uniform(0.0, 1.0)
assert not np.isclose(sample_after, sample_before, rtol=0)
assert not np.isclose(sample_after_after, sample_after, rtol=0)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: aleju/imgaug
Commit Name: 0c84bc1e62278518f68222c2af1679608f0ce380
Time: 2019-08-14
Author: kontakt@ajung.name
File Name: test/test_random.py
Class Name: Test_advance_generator_
Method Name: test_samples_different_after_advance_np116
Project Name: aleju/imgaug
Commit Name: 0c84bc1e62278518f68222c2af1679608f0ce380
Time: 2019-08-14
Author: kontakt@ajung.name
File Name: test/test_random.py
Class Name: Test_advance_generator_
Method Name: test_samples_different_after_advance_np117
Project Name: KaiyangZhou/deep-person-reid
Commit Name: 3001c392776adb6937c2449c87272d4277476d3c
Time: 2018-06-07
Author: k.zhou@qmul.ac.uk
File Name: transforms.py
Class Name: Random2DTranslation
Method Name: __call__
Project Name: chainer/chainer
Commit Name: bacd93737cd63615af7bc51eeb3d3eb8424b5fd4
Time: 2019-10-01
Author: beam.web@gmail.com
File Name: tests/chainerx_tests/unit_tests/routines_tests/test_linalg.py
Class Name: TestSolve
Method Name: generate_inputs