3baf62ba607a95dcb0d5971594389d3586286ef6,src/fetch_foursquare_info.py,,,#,97

Before Change



if fetched_companies:
    print("Saving it all!")
    with open(FOURSQUARE_DATASET_PATH, "w") as outfile:
        json.dump(fetched_companies, outfile)
else:
    print("Nothing to save.")

After Change


        print("")

        if (index % 100) == 0:
            print("//////////////////////////////////////////////////////////////////////////////////////")
            print("%s requests made. Stopping to save." % index)
            if fetched_companies:
                write_fetched_companies(fetched_companies)
                fetched_companies = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 3baf62ba607a95dcb0d5971594389d3586286ef6
Time: 2016-12-06
Author: andresouzapinho@gmail.com
File Name: src/fetch_foursquare_info.py
Class Name:
Method Name:


Project Name: snorkel-team/snorkel
Commit Name: b56a4b355dfc302fa449d223e065af3a7acac986
Time: 2018-05-03
Author: dnicholson329@gmail.com
File Name: snorkel/learning/pytorch/noise_aware_model.py
Class Name: TorchNoiseAwareModel
Method Name: save


Project Name: SPFlow/SPFlow
Commit Name: 57f16e3567957b392f78be79d29429fcf51c9225
Time: 2018-09-01
Author: molina@cs.tu-darmstadt.de
File Name: src/spn/experiments/RelationalCutSet/LearnStructure.py
Class Name:
Method Name:


Project Name: okfn-brasil/serenata-de-amor
Commit Name: f799eeaec115d17693f99c6e02d3bb0eac3feaa9
Time: 2016-11-09
Author: schwendler@gmail.com
File Name: src/search_suspect_places.py
Class Name:
Method Name: write_suspicious_info