c50b90cf7e9d5fd7c861ff3b8c162c8b640505ed,tests/test_anonymous_repr.py,,test_hybridrepr,#,50

Before Change


    g.register_update_func(update_func_hybrid)
    g.register_reduce_func("sum")
    g.sendto(0, 1)
    g.recvfrom(1, [0])
    check(g, [1, 4, 3, 4, 5, 6, 7, 8, 9, 10])
    g.sendto(5, 9)
    g.sendto(6, 9)
    g.recvfrom(9, [5, 6])
    check(g, [1, 4, 3, 4, 5, 6, 7, 8, 9, 25])

if __name__ == "__main__":
    test_sendrecv()

After Change


    g.register_update_func(update_func_hybrid)
    g.register_reduce_func("sum")
    g.sendto(0, 1)
    g.recv(1)
    check(g, [1, 4, 3, 4, 5, 6, 7, 8, 9, 10])
    g.sendto(5, 9)
    g.sendto(6, 9)
    g.recv(9)
    check(g, [1, 4, 3, 4, 5, 6, 7, 8, 9, 25])

if __name__ == "__main__":
    test_sendrecv()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: dmlc/dgl
Commit Name: c50b90cf7e9d5fd7c861ff3b8c162c8b640505ed
Time: 2018-07-12
Author: minjie.wang@nyu.edu
File Name: tests/test_anonymous_repr.py
Class Name:
Method Name: test_hybridrepr


Project Name: dmlc/dgl
Commit Name: c50b90cf7e9d5fd7c861ff3b8c162c8b640505ed
Time: 2018-07-12
Author: minjie.wang@nyu.edu
File Name: tests/test_anonymous_repr.py
Class Name:
Method Name: test_sendrecv


Project Name: dmlc/dgl
Commit Name: c50b90cf7e9d5fd7c861ff3b8c162c8b640505ed
Time: 2018-07-12
Author: minjie.wang@nyu.edu
File Name: tests/test_anonymous_repr.py
Class Name:
Method Name: test_hybridrepr


Project Name: dmlc/dgl
Commit Name: c50b90cf7e9d5fd7c861ff3b8c162c8b640505ed
Time: 2018-07-12
Author: minjie.wang@nyu.edu
File Name: tests/test_basics.py
Class Name:
Method Name: test_sendrecv