005e5a8f0b7b6156d6e0e0b0587a07479185c971,bugbug/labels.py,,,#,83
Before Change
if __name__ == "__main__":
classes = get_bugbug_labels(augmentation=False)
bugzilla.download_and_store_bugs([bug_id for bug_id in classes.keys()] )
After Change
if __name__ == "__main__":
bug_ids = set()
for csv_file in os.listdir("labels"):
with open(os.path.join("labels", csv_file)) as f:
reader = csv.reader(f)
// Assume the first row is the header.
next(reader)
// Assume the first column is the bug ID.
bug_ids.update([row[0] for row in reader])
bugzilla.download_bugs(bug_ids)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: mozilla/bugbug
Commit Name: 005e5a8f0b7b6156d6e0e0b0587a07479185c971
Time: 2018-11-21
Author: mcastelluccio@mozilla.com
File Name: bugbug/labels.py
Class Name:
Method Name:
Project Name: comic/grand-challenge.org
Commit Name: ea037c194cb1f8a2957276f8a72a43f8db3d5476
Time: 2013-07-25
Author: w.s.kerkstra@gmail.com
File Name: django/ckeditor/views.py
Class Name:
Method Name: get_image_browse_urls_project
Project Name: comic/grand-challenge.org
Commit Name: 10be620ec5a250bc7b7a3ec89b956eb5ca6f8147
Time: 2013-07-25
Author: w.s.kerkstra@gmail.com
File Name: django/ckeditor/views.py
Class Name:
Method Name: get_image_browse_urls_project