f3c73058f769fde0679c377cdf5b3f6754628313,scipy/stats/tests/test_fit.py,,check_cont_fit,#Any#Any#,35

Before Change


    if np.any(np.isnan(est)):
        raise AssertionError("nan returned in fit")
    else:
        if np.any((np.abs(diff) - diffthreshold) > 0.0):
////            txt = "WARNING - diff too large with small sample"
////            print "parameter diff =", diff - diffthreshold, txt
            rvs = np.concatenate([rvs,distfn.rvs(size=n_repl2-n_repl1,*arg)])

After Change


        // Skip failing fits unless overridden
        xfail = True
        try: 
            xfail = not int(os.environ["SCIPY_XFAIL"])
        except: 
            pass
        if xfail:
            msg = "Fitting %s doesn"t work reliably yet" % distname
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scipy/scipy
Commit Name: f3c73058f769fde0679c377cdf5b3f6754628313
Time: 2013-05-01
Author: pav@iki.fi
File Name: scipy/stats/tests/test_fit.py
Class Name:
Method Name: check_cont_fit


Project Name: aleju/imgaug
Commit Name: b8d47aa9b6c5f837911f44a21b374f9fd8531d06
Time: 2018-12-09
Author: kontakt@ajung.name
File Name: imgaug/augmenters/geometric.py
Class Name: Rot90
Method Name: _augment_keypoints


Project Name: pymc-devs/pymc3
Commit Name: 21c16153ecd473a027df2af1e9a4fd3c71810e1a
Time: 2017-04-14
Author: maxim.v.kochurov@gmail.com
File Name: pymc3/variational/callbacks.py
Class Name: CheckLossConvergence
Method Name: __call__