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


    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)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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: biolab/orange3
Commit Name: 8d4d199c35f5163ed21ae705a16ce3c8548d60c6
Time: 2012-11-28
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/data/io.py
Class Name: BasketReader
Method Name: prescan_file


Project Name: AlexsLemonade/refinebio
Commit Name: 39ae84d64af798c7dbef9c6f86ab17d2a1075817
Time: 2018-09-21
Author: rich@anomos.info
File Name: foreman/data_refinery_foreman/surveyor/harmony.py
Class Name:
Method Name: parse_sdrf