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
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: 2
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: pythonstock/stock
Commit Name: 04d0a9bbfc085d244ee5abed1e4591202a8bd4cb
Time: 2017-10-26
Author: yhy
File Name: web/minstServingHandler.py
Class Name:
Method Name: do_inference
Project Name: bashtage/linearmodels
Commit Name: 9b29c3bae8fff2e31edeb911c69840b53974e45b
Time: 2017-03-16
Author: kevin.k.sheppard@gmail.com
File Name: setup.py
Class Name:
Method Name: