eb4d832c14e8bc8180efb96b134c892d868a890d,tests/data/test_metapath_walker.py,TestMetaPathWalk,test_benchmark_uniformrandommetapathwalk,#TestMetaPathWalk#Any#,318

Before Change


        g = create_test_graph()
        mrw = UniformRandomMetaPathWalk(g)

        nodes = ["0"]
        n = 5
        length = 5
        metapaths = [["s", "n", "n", "s"], ["n", "s", "n"], ["n", "n"]]

After Change


        assert all(np.array_equal(w1, w2) for w1, w2 in zip(run_1, run_2))

    def test_benchmark_uniformrandommetapathwalk(self, benchmark):
        g = example_graph_random(n_nodes=50, n_edges=500, node_types=2)
        mrw = UniformRandomMetaPathWalk(g)

        // this should be made larger to be more realistic, when it is fast enough
        nodes = np.arange(0, 5)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: stellargraph/stellargraph
Commit Name: eb4d832c14e8bc8180efb96b134c892d868a890d
Time: 2020-05-03
Author: Huon.Wilson@data61.csiro.au
File Name: tests/data/test_metapath_walker.py
Class Name: TestMetaPathWalk
Method Name: test_benchmark_uniformrandommetapathwalk


Project Name: stellargraph/stellargraph
Commit Name: 611df50c810f629e3f9cd7a0649cef8d8f68bb04
Time: 2020-05-03
Author: Huon.Wilson@data61.csiro.au
File Name: tests/data/test_biased_random_walker.py
Class Name: TestBiasedWeightedRandomWalk
Method Name: test_benchmark_biasedweightedrandomwalk


Project Name: stellargraph/stellargraph
Commit Name: 611df50c810f629e3f9cd7a0649cef8d8f68bb04
Time: 2020-05-03
Author: Huon.Wilson@data61.csiro.au
File Name: tests/data/test_biased_random_walker.py
Class Name: TestBiasedRandomWalk
Method Name: test_benchmark_biasedrandomwalk


Project Name: stellargraph/stellargraph
Commit Name: eb4d832c14e8bc8180efb96b134c892d868a890d
Time: 2020-05-03
Author: Huon.Wilson@data61.csiro.au
File Name: tests/data/test_uniform_random_walker.py
Class Name: TestUniformRandomWalk
Method Name: test_benchmark_uniformrandomwalk