[Pkg-octave-commit] [SCM] octave-forge-pkgs branch, master, updated. 04cdbb82715584d1738477c139c9987e82747043

Rafael Laboissiere rafael at debian.org
Thu May 21 10:42:46 UTC 2009


The following commit has been merged in the master branch:
commit 04cdbb82715584d1738477c139c9987e82747043
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Thu May 21 12:42:13 2009 +0200

    Add error messages when checking the statistics package

diff --git a/TODO b/TODO
index 2f107a0..969baed 100644
--- a/TODO
+++ b/TODO
@@ -289,6 +289,77 @@
   - [ ] We decided to not package this.  The single file distributed in this
     package is now included in miscellaneous
 
+* statistics (main) [0/1]
+  - [ ] Fails on several checks:
+        [caseread]
+        ***** assert (caseread ("caseread.dat"), n);
+        !!!!! test failed
+        error: caseread: cannot open caseread.dat: No such file or directory
+        shared variables {
+        n =
+
+        a
+        bcd
+        ef
+
+        }
+        [copulapdf]
+        ***** test
+        x = [0.2, 0.6; 0.2, 0.6];
+        theta = [1; 2];
+        p = copulapdf ("Frank", x, theta);
+        expected_p = [0.9378; 0.8678];
+        assert (p, expected_p, 0.001);
+        !!!!! test failed
+        error: `expm1' undefined near line 140 column 56
+        [pdist]
+        ***** assert(pdist(xy,"seuclidean"), [0.380 2.735 2.363 2.486 2.070 0.561],t);
+        !!!!! test failed
+        error: assert (pdist (xy, "seuclidean"),[0.380, 2.735, 2.363, 2.486, 2.070, 0.561],t) expected
+        0.38000   2.73500   2.36300   2.48600   2.07000   0.56100
+        but got
+        0.43906   3.15867   2.72963   2.87093   2.39080   0.64889
+        maximum absolute error 0.423666 exceeds tolerance 0.001
+        shared variables {
+        xy =
+
+        0   1
+        0   2
+        7   6
+        5   6
+
+        t =  0.0010000
+        eucl =
+
+        @(v, m) sqrt (sumsq (repmat (v, rows (m), 1) - m, 2))
+
+        }
+        [linkage]
+        ***** warning <monotonically> linkage (pdist (x), "centroid");
+        !!!!! expected <monotonically> but got XXX FIXME XXX Tsq return from princomp fails some tests
+        shared variables {
+        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-06
+        }
+        [tblwrite]
+        terminate called after throwing an instance of 'std::out_of_range'
+        what():  basic_string::replace
+        panic: Aborted -- stopping myself...
+
 * symband (extra) [0/4]
   - [ ] doc/SymBandDoc.pdf: lack sources
   - [ ] debian/control: Add description

-- 
octave-forge-pkgs



More information about the Pkg-octave-commit mailing list