d8cb4f0bb3d16ffe913457485eeb7aa276253a06,lexos/processors/analyze/topword.py,,analyze_para_to_group,#,125
Before Change
all_results = {}
group_lists = []
for _, value in enumerate(group_values):
group_lists.append(np.sum(value, axis=0))
num_group = len(group_lists)
After Change
all_results = {}
group_lists = [np.sum(value, axis=0)
for _, value in enumerate(group_values)]
num_group = len(group_lists)

In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: WheatonCS/Lexos
Commit Name: d8cb4f0bb3d16ffe913457485eeb7aa276253a06
Time: 2017-08-03
Author: weltch1997@gmail.com
File Name: lexos/processors/analyze/topword.py
Class Name:
Method Name: analyze_para_to_group
Project Name: WheatonCS/Lexos
Commit Name: d8cb4f0bb3d16ffe913457485eeb7aa276253a06
Time: 2017-08-03
Author: weltch1997@gmail.com
File Name: lexos/processors/analyze/topword.py
Class Name:
Method Name: analyze_group_to_group
Project Name: WheatonCS/Lexos
Commit Name: ba5ce0dcacefae377a199b2b6115263528fa8bad
Time: 2017-08-07
Author: weltch1997@gmail.com
File Name: lexos/processors/analyze/topword.py
Class Name:
Method Name: analyze_all_to_para