22c8e467fce55e8dd5c2a3b5363ea7fc7ef26bfb,trackpy/tests/test_reproducibility.py,TestReproducibility,test_characterize,#TestReproducibility#,112

Before Change


                             n_dev, len(self.actual)))

    def test_characterize(self):
        raise nose.SkipTest("Reproducibility tests are temporarily disabled "
                            "for API breaks in v0.4")
        equal = self.compared[3]
        equal_f = self.expected.iloc[equal[0]].reset_index(drop=True), \
                  self.actual.iloc[equal[1]].reset_index(drop=True)

After Change


        except AssertionError:
            raise AssertionError("The characterize tests failed as the coords"
                                 " found by locate were not reproduced.")
        assert_allclose(actual_char,
                        self.expected_characterize[:, 2:])

// SCRIPT TO GENERATE THE FEATURES
// pos_columns = ["y", "x"]
// char_columns = ["mass", "size", "ecc", "signal", "raw_mass", "ep"]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: soft-matter/trackpy
Commit Name: 22c8e467fce55e8dd5c2a3b5363ea7fc7ef26bfb
Time: 2018-01-23
Author: caspervdw@gmail.com
File Name: trackpy/tests/test_reproducibility.py
Class Name: TestReproducibility
Method Name: test_characterize


Project Name: Theano/Theano
Commit Name: 9b3b74bb25f5cf0cae1bbb7f7a8a796d991bbd6d
Time: 2016-12-19
Author: gvtulder@gmail.com
File Name: theano/gpuarray/tests/test_dnn.py
Class Name: test_SoftMax
Method Name: test_softmax_shape_0


Project Name: soft-matter/trackpy
Commit Name: 22c8e467fce55e8dd5c2a3b5363ea7fc7ef26bfb
Time: 2018-01-23
Author: caspervdw@gmail.com
File Name: trackpy/tests/test_reproducibility.py
Class Name: TestReproducibility
Method Name: test_refine