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

Before Change


        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



    for model, rel_paths in skipped.items():
        // Add skipped models with only one item, these have no averaged results
        if len(rel_paths) == 1:
            urls[model.lower()] = "- [{model}]({url})".format(model=model, url=form_url(rel_paths[0]))
    return urls


def main():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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: vatlab/SoS
Commit Name: 2a7e3a42cf5d9ba8024ced6b6ba6eb8748dfd995
Time: 2016-12-09
Author: ben.bog@gmail.com
File Name: sos/actions.py
Class Name: SoS_ExecuteScript
Method Name: run


Project Name: home-assistant/home-assistant
Commit Name: fa8857dfc5375064b377bdda493aafdfbb20e3fd
Time: 2016-02-14
Author: stefan.jonasson@sitedirect.se
File Name: homeassistant/components/notify/command_line.py
Class Name: CommandLineNotificationService
Method Name: send_message