e6f1028be471f2ba7fdf877abf7f8f9d05b8c4ce,results/recommendations.py,,get_urls,#Any#,12
Before Change
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):
// Skip measurements with sample or serial number, those have averaged results
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
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):
// Skip measurements with sample or serial number, those have averaged results
model = re.sub(" sample [a-zA-Z0-9]$", "", model)
model = re.sub(" sn[a-zA-Z0-9]+$", "", model)
try:
skipped[model].append(rel_path)
except KeyError as err:
In pattern: SUPERPATTERN
Frequency: 3
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: unitedstates/congress-legislators
Commit Name: f01b7b88f6c9853d92f17bb238b2be03f30185d1
Time: 2019-09-03
Author: tim@wawd.com
File Name: scripts/house_websites.py
Class Name:
Method Name: run
Project Name: bambinos/bambi
Commit Name: 44dca77711e2d62c6bb06047852c3c1bcc10de14
Time: 2016-08-11
Author: tyarkoni@gmail.com
File Name: bambi/models.py
Class Name: Model
Method Name: add_term