e6f1028be471f2ba7fdf877abf7f8f9d05b8c4ce,results/recommendations.py,,get_urls,#Any#,12

Before Change


            continue
        key = model.lower()
        url = "/".join(FrequencyResponse._split_path(rel_path))
        url = "https://github.com/jaakkopasanen/AutoEq/tree/master/results/{}".format(url)
        url = urllib.parse.quote(url, safe="%/:=&?~//+!$,;"@()*[]")
        urls[key] = "- [{model}]({url})".format(model=model, url=url)
    return urls

After Change



def get_urls(files):
    urls = dict()
    skipped = dict()
    for path in files:
        rel_path = os.path.relpath(path, RESULTS_DIR)
        model = os.path.split(rel_path)[-1]
        if re.search(" sample [a-zA-Z0-9]$", model) or re.search(" sn[a-zA-Z0-9]+$", model):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: jaakkopasanen/AutoEq
Commit Name: e6f1028be471f2ba7fdf877abf7f8f9d05b8c4ce
Time: 2018-08-06
Author: jaakko.o.pasanen@gmail.com
File Name: results/recommendations.py
Class Name:
Method Name: get_urls


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 2d2820c9dc71cf17e1efd08177c1001b34b250cf
Time: 2019-06-20
Author: anguillanneuf@gmail.com
File Name: pubsub/cloud-client/publisher.py
Class Name:
Method Name: publish_messages_with_error_handler


Project Name: pantsbuild/pants
Commit Name: a1bda4b4a60da8fd94402e1dee7ec3faa04d827b
Time: 2019-09-22
Author: john.sirois@gmail.com
File Name: src/python/pants/pantsd/pants_daemon.py
Class Name: PantsDaemon
Method Name: post_fork_child


Project Name: horovod/horovod
Commit Name: 6404c7c172f6db3c65b45fca7d698a47b35f45f6
Time: 2020-09-08
Author: github@enrico.minack.dev
File Name: test/test_buildkite.py
Class Name: BuildKiteTests
Method Name: test_gen_pipeline