1c5022cf24af600351183513af494366f96652ec,phonewords.py,,find_dups,#Any#,46
Before Change
if len(word) != matchlen:
continue
phonenum = word2num(word)
if phonenum == lastnum:
if not matchwords:
matchwords = [ lastword, word ]
else:
matchwords.append(word)
else:
if matchwords:
print("%s = %s" % (lastnum, " ".join(matchwords)))
matchwords = None
lastnum = phonenum
lastword = word
if matchwords:
After Change
num_matches = len(curmatches)
if num_matches > 1:
// print(phonenum, curmatches)
if num_matches not in allmatches:
allmatches[num_matches] = collections.OrderedDict()
allmatches[num_matches][phonenum] = curmatches
return allmatches
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: akkana/scripts
Commit Name: 1c5022cf24af600351183513af494366f96652ec
Time: 2018-10-15
Author: akkana@shallowsky.com
File Name: phonewords.py
Class Name:
Method Name: find_dups
Project Name: home-assistant/home-assistant
Commit Name: db23320659a711637b5164fbe6ae6db15cc48e48
Time: 2016-07-06
Author: dale3h@gmail.com
File Name: homeassistant/components/sensor/apcupsd.py
Class Name:
Method Name: setup_platform
Project Name: cmu-db/ottertune
Commit Name: 906d528357a908dcf5449c24e4a7da825e40b7ed
Time: 2020-05-11
Author: bohanzhang95@gmail.com
File Name: server/website/website/db/base/target_objective.py
Class Name: TargetObjectives
Method Name: get_metric_metadata