794d0ab4cdda315bd33601f363b5dca4ca9ffce9,app/grandchallenge/reader_studies/models.py,ReaderStudy,get_hanging_list_images_for_user,#ReaderStudy#,220
Before Change
shuffle_hanging_list is false.
if self.shuffle_hanging_list:
return RandomState(seed=int(user.pk)).shuffle(
self.hanging_list_images
)
else:
return self.hanging_list_images
After Change
if self.shuffle_hanging_list and hanging_list is not None:
// In place shuffle
RandomState(seed=int(user.pk)).shuffle(hanging_list)
return hanging_list

In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: comic/grand-challenge.org
Commit Name: 794d0ab4cdda315bd33601f363b5dca4ca9ffce9
Time: 2019-09-02
Author: code@jmsmkn.com
File Name: app/grandchallenge/reader_studies/models.py
Class Name: ReaderStudy
Method Name: get_hanging_list_images_for_user
Project Name: kundajelab/deeplift
Commit Name: 82567279f7bfe727b0b23e2ebe66b673aceaf19b
Time: 2019-10-18
Author: avanti.shrikumar@gmail.com
File Name: deeplift/dinuc_shuffle.py
Class Name:
Method Name: shuffle_edges
Project Name: nipy/dipy
Commit Name: 392fa91e8fa945afe498223331d1a7b8b73e3f5a
Time: 2018-08-17
Author: guillaume.theaud@gmail.com
File Name: dipy/tracking/utils.py
Class Name:
Method Name: random_seeds_from_mask
Project Name: ellisdg/3DUnetCNN
Commit Name: 85126e0f1f380dd389b0f21b5a09ef7c57011047
Time: 2017-11-17
Author: david.ellis@unmc.edu
File Name: unet3d/generator.py
Class Name:
Method Name: data_generator