octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44863] octave forge statistics 1.2.4 fails te


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #44863] octave forge statistics 1.2.4 fails tests in windows
Date: Fri, 17 Apr 2015 14:24:27 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

URL:
  <http://savannah.gnu.org/bugs/?44863>

                 Summary: octave forge statistics 1.2.4 fails tests in windows
                 Project: GNU Octave
            Submitted by: lostbard
            Submitted on: Fri 17 Apr 2015 02:24:26 PM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: JohnD
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

PASS       219
FAIL        25

12 of the failures are due to tests in private functions.

The others:

>>>>> processing
C:OctaveOctave-4.0.0-rc3shareoctavepackagesstatistics-1.2.4caseread.m
***** assert (caseread ("caseread.dat"), n);
!!!!! test failed
caseread: cannot open caseread.dat: No such file or directory
>>>>> processing
C:OctaveOctave-4.0.0-rc3shareoctavepackagesstatistics-1.2.4gevcdf.m
***** test #check for continuity for k near 0
 x = 1;
 sigma = 0.5;
 k = -0.03:0.01:0.03;
 mu = 0;
 p = gevcdf (x, k, sigma, mu);
 expected_p = [0.88062   0.87820   0.87580   0.87342   0.87107   0.86874  
0.86643];
 assert (p, expected_p, 0.001);
!!!!! test failed
ASSERT errors for:  assert (p,expected_p,0.001)

  Location  |  Observed  |  Expected  |  Reason
    (4)        0.36788      0.87342      Abs err 0.50554 exceeds tol 0.001
>>>>> processing
C:OctaveOctave-4.0.0-rc3shareoctavepackagesstatistics-1.2.4gevpdf.m
***** test #check for continuity for k near 0
 x = 1;
 sigma = 0.5;
 k = -0.03:0.01:0.03;
 mu = 0;
 y = gevpdf (x, k, sigma, mu);
 expected_y = [0.23820   0.23764   0.23704   0.23641   0.23576   0.23508  
0.23438];
 assert (y, expected_y, 0.001);
!!!!! test failed
ASSERT errors for:  assert (y,expected_y,0.001)

  Location  |  Observed  |  Expected  |  Reason
    (4)        0.73576      0.23641      Abs err 0.49935 exceeds tol 0.001
>>>>> processing
C:OctaveOctave-4.0.0-rc3shareoctavepackagesstatistics-1.2.4linkage.m
***** warning <monotonically> linkage (pdist (x), "centroid");
!!!!! warning failed.
Expected <monotonically>, but got <clustering>

shared variables 
  scalar structure containing the fields:

    x =

       0   1   4
       3   2   3
       1   2   2
       3   3   0
       0   4   4
       4   4   3
       1   1   4
       2   1   0
       4   2   0
       3   2   0
       0   2   1
       1   3   1

    t =   1.0000e-006
***** warning <monotonically> linkage (pdist (x), "median");
!!!!! warning failed.
Expected <monotonically>, but got <clustering>
shared variables 
  scalar structure containing the fields:

    x =

       0   1   4
       3   2   3
       1   2   2
       3   3   0
       0   4   4
       4   4   3
       1   1   4
       2   1   0
       4   2   0
       3   2   0
       0   2   1
      1   3   1

    t =   1.0000e-006
>>>>> processing
C:OctaveOctave-4.0.0-rc3shareoctavepackagesstatistics-1.2.4pdist.m
***** assert(pdist(xy,"correlation"),[0.000 2.000 0.000 2.000 0.000
2.000],t);
!!!!! test failed
'cor' undefined near line 172 column 16
shared variables 
  scalar structure containing the fields:

    xy =

       0   1
       0   2
       7   6
       5   6

    t =  0.0010000
    eucl =
@(v, m) sqrt (sumsq (repmat (v, rows (m), 1) - m, 2))

>>>>> processing
C:OctaveOctave-4.0.0-rc3shareoctavepackagesstatistics-1.2.4stepwisefit.m
***** test
 % Sample data from Draper and Smith (n = 13, k = 4)
 X = [7 1 11 11 7 11 3 1 2 21 1 11 10; ...
     26 29 56 31 52 55 71 31 54 47 40 66 68; ...
     6 15 8 8 6 9 17 22 18 4 23 9 8; ...
     60 52 20 47 33 22 6 44 22 26 34 12 12]';
 y = [78.5 74.3 104.3 87.6 95.9 109.2 102.7 72.5 93.1 115.9 83.8 113.3
109.4]';
 [X_use, b, bint, r, rint, stats] = stepwisefit(y, X);
 assert(X_use, [4 1])
 assert(b, regress(y, [ones(size(y)) X(:, X_use)], 0.05))
!!!!! test failed
'corrcoef' undefined near line 78 column 29
>>>>> processing
C:OctaveOctave-4.0.0-rc3shareoctavepackagesstatistics-1.2.4tblread.m
***** test
 [dt vt ct] = tblread ("tblread-space.dat");
 assert (dt, d);
 assert (vt, v);
 assert (ct, c);
!!!!! test failed
csv2cell: cannot open file tblread-space.dat for reading
***** test
 [dt vt ct] = tblread ("tblread-space.dat", " ");
 assert (dt, d);
 assert (vt, v);
 assert (ct, c);
!!!!! test failed
csv2cell: cannot open file tblread-space.dat for reading
.
.
(other tests here with same failure....)
.



mercurial sources appear to have the same failures.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44863>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]