984837dda09876a4e08cb672ccc6163dc09298ce,t2t_csaky/scripts/hred_metrics.py,,main,#,350

Before Change




def main():
  m = Metrics(sys.argv[1]) if len(sys.argv) > 1 else Metrics()
  m.metrics()
  m.write_metrics()
  
  folder = "decode_dir/DailyDialog/temp_overfit/"
  for file_name in os.listdir(folder):
    m = Metrics(folder + file_name)

After Change


  
  folder = "decode_dir/Cornell/twitter_all/"
  for file_name in os.listdir(folder):
    m = Metrics(folder + file_name)
    m.metrics()
    m.write_metrics()
  


if __name__ == "__main__":
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: ricsinaruto/Seq2seqChatbots
Commit Name: 984837dda09876a4e08cb672ccc6163dc09298ce
Time: 2019-05-28
Author: ricsinaruto@hotmail.com
File Name: t2t_csaky/scripts/hred_metrics.py
Class Name:
Method Name: main


Project Name: ricsinaruto/Seq2seqChatbots
Commit Name: d9748278abf04a9c74a95053fda62d0bff8b9f93
Time: 2019-02-16
Author: ricsinaruto@hotmail.com
File Name: t2t_csaky/scripts/hred_metrics.py
Class Name:
Method Name: main


Project Name: ricsinaruto/Seq2seqChatbots
Commit Name: 77755d613b027b2c5a80297cca2deb74130b4b1f
Time: 2019-02-16
Author: ricsinaruto@hotmail.com
File Name: t2t_csaky/scripts/hred_metrics.py
Class Name:
Method Name: main