f1bd7447547f58e82d5a2fe78e7e1b5a506f640c,t2t_csaky/scripts/create_metrics_latex.py,,,#,20
Before Change
// Loop through metrics.
for i, line in enumerate(file):
if i < 11 or i > 14:
output.write(round_(line.split(":")[1].split()[0]) + " (" + round_(line .split(":")[1 ].split()[1]) + ")&")
elif i < 13:
output.write(round_(line.split(":")[1].split()[0]) + "&")
output.write("\\\ \hline\n")
After Change
for i, line in enumerate(file):
if i < 11 or i > 14:
//output.write(round_(line.split(":")[1].split()[0]) + " (" + round_(line.split(":")[1].split()[1]) + ")&")
try:
output.write(round_(line.split(":")[1].split()[0]) + "&")
except TypeError:
output.write("0.0" + "&")
elif i < 13:
output.write(round_(line.split(":")[1].split()[0]) + "&")
output.write("\\\ \hline\n")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: ricsinaruto/Seq2seqChatbots
Commit Name: f1bd7447547f58e82d5a2fe78e7e1b5a506f640c
Time: 2019-05-30
Author: ricsinaruto@hotmail.com
File Name: t2t_csaky/scripts/create_metrics_latex.py
Class Name:
Method Name:
Project Name: lingpy/lingpy
Commit Name: cb0325c37701aa149fba50ef8f35068ceb2c72ea
Time: 2013-11-07
Author: mattis.list@posteo.de
File Name: lingpy/meaning/concepts.py
Class Name:
Method Name: spanish_swadesh_list
Project Name: austin-taylor/flare
Commit Name: 9cc8397cee3dcc24d1697cb45378eddc660cc8e1
Time: 2019-10-21
Author: jdpberba@gmail.com
File Name: flare/data_science/features.py
Class Name:
Method Name: domain_tld_extract