3797d7bf2c953b0082bd62e2a98841f737da5b53,results/prune_results.py,,main,#,12

Before Change


            // Reference Audio Analyzer measurements are not organized by type
            measurements = list(glob(os.path.join(ROOT_DIR, "measurements", source, "data", "*")))
        else:
            measurements = list(glob(os.path.join(ROOT_DIR, "measurements", source, "data", "*", "*")))
        measurements = [os.path.split(measurement)[1].lower() for measurement in measurements]
        if name.lower() not in measurements and name != "README.md":
            print(f"Removing "{path}" ...")
            shutil.rmtree(path)

After Change


            os.path.join(ROOT_DIR, "measurements", db, "data", "**", "*.csv"),
            recursive=True
        ))
        measurements = [os.path.split(measurement)[1].lower().replace(".csv", "") for measurement in measurements]
        for path in glob(os.path.join(ROOT_DIR, "results", db, "*", "*")):
            _, name = os.path.split(path)
            if name.lower() not in measurements and name != "README.md":
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: jaakkopasanen/AutoEq
Commit Name: 3797d7bf2c953b0082bd62e2a98841f737da5b53
Time: 2020-03-22
Author: jaakko.o.pasanen@gmail.com
File Name: results/prune_results.py
Class Name:
Method Name: main


Project Name: brian-team/brian2
Commit Name: c84200e9bb97b39a73778e5b32df3b85cb2614c9
Time: 2013-06-25
Author: dan.goodman@ens.fr
File Name: brian2/tests/test_syntax_translation.py
Class Name:
Method Name: parse_expressions


Project Name: deepfakes/faceswap
Commit Name: dd3288672a7e8c1a57ea96fb36876617b29b3436
Time: 2019-08-24
Author: 36920800+torzdf@users.noreply.github.com
File Name: lib/gui/control_helper.py
Class Name: ControlBuilder
Method Name: radio_control


Project Name: home-assistant/home-assistant
Commit Name: ede432ba71a4a6b13ee7aa9eb20193ae5a28a777
Time: 2020-04-16
Author: chris@talkingtontech.com
File Name: homeassistant/components/sonarr/sensor.py
Class Name: SonarrSensor
Method Name: update