89ad361f08dca73d8f94608c99c729e9987a011d,tests/chunking/test_chunk.py,TestChunk,test_accuracy,#TestChunk#,38
Before Change
sentence = load_input(file)
actual = chunk(sentence)
expected = load_output(file)
if actual != expected:
print("Fail {}".format(id))
save_temp(id, actual)
self.assertEqual(actual, expected)
After Change
def test_accuracy(self):
output = chunk(
u"Tổng Bí thư: Ai trót để tay nhúng chàm thì hãy sớm tự gột rửa")
self.assertEqual(len(output), 14)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: undertheseanlp/underthesea
Commit Name: 89ad361f08dca73d8f94608c99c729e9987a011d
Time: 2017-10-11
Author: brother.rain.1024@gmail.com
File Name: tests/chunking/test_chunk.py
Class Name: TestChunk
Method Name: test_accuracy
Project Name: rtqichen/torchdiffeq
Commit Name: 625784c31f592f3b760b53faa0c2f31b57be238a
Time: 2020-07-30
Author: 33688385+patrick-kidger@users.noreply.github.com
File Name: torchdiffeq/_impl/odeint.py
Class Name:
Method Name: odeint
Project Name: openai/gym
Commit Name: cee92691ad858952b4ed46c08cad6cc682868d22
Time: 2019-03-24
Author: zuoxingdong@users.noreply.github.com
File Name: gym/spaces/box.py
Class Name: Box
Method Name: __init__
Project Name: tensorflow/minigo
Commit Name: e2d6d2109f5fda3b49959cfd1b26f6aca1656268
Time: 2019-03-15
Author: tmadams@google.com
File Name: rl_loop/selfplay.py
Class Name:
Method Name: run_tpu