fozziethebeat / S-Space

The S-Space repsitory, from the AIrhead-Research group
GNU General Public License v2.0
205 stars 106 forks source link

9 failures and 23 errors on a fresh pull #25

Open Ansa211 opened 12 years ago

Ansa211 commented 12 years ago

Hello,

I get 9 failures and 23 errors when I run mvn test on a freshly cloned S-Space. I know some of these are not serious from a closed issue on a similar topic, but I got several more - I just thought I should report it. I mark the new failures with NEW at the beginning of the line (compared to issue #15).

I am on Ubuntu 12.04.1 LTS, compiling with JAVA_HOME set to /usr/lib/svm/java-7-openjdk-amd6 (somehow it does not work with java-6).

BTW, I think it would be great to add into the "Getting Started" some info that one has to get jama.jar and jaws-bin.jar before running opt/add_non_maven_jars.sh (also, this script is not in ., but in opt/).

Failed tests:
testSpearmanDoubleTies(edu.ucla.sspace.common.SimilarityTest): expected:<-0.55> but was:<-0.6324555320336759> NEW ---> writeDenseTextMatrixFile(edu.ucla.sspace.matrix.MatrixIOTest): expected:<3> but was:<0> NEW ---> testSetAddSumIsZero(edu.ucla.sspace.vector.SparseHashIntegerVectorTests): expected:<0> but was:<1> testProcessDocument(edu.ucla.sspace.wordsi.psd.PseudoWordContextExtractorTest) testProcessDocumentWithDefaultSeparator(edu.ucla.sspace.wordsi.semeval.SemEvalContextExtractorTest) testProcessDocumentWithNonDefaultSeparator(edu.ucla.sspace.wordsi.semeval.SemEvalContextExtractorTest) testProcessDocument(edu.ucla.sspace.wordsi.GeneralContextExtractorTest) testProcessDocumentWithHeader(edu.ucla.sspace.wordsi.GeneralContextExtractorTest): expected:<[CHICKEN:]> but was:<[]> NEW ---> test(edu.ucla.sspace.ri.TestRandomIndexing): expected:<[the, quick, brown, fox, jumps, over, lazy, dog]> but was:<[]>

Tests in error: testIterator(edu.ucla.sspace.matrix.SvdlibcSparseTextFileIteratorTests): For input string: "1,500000" testRemove(edu.ucla.sspace.matrix.SvdlibcSparseTextFileIteratorTests): Unexpected exception, expected but was testEmptyNext(edu.ucla.sspace.matrix.SvdlibcSparseTextFileIteratorTests): Unexpected exception, expected but was testIterator(edu.ucla.sspace.matrix.MatlabSparseFileIteratorTests): For input string: "2,300000" testRemove(edu.ucla.sspace.matrix.MatlabSparseFileIteratorTests): Unexpected exception, expected but was testEmptyNext(edu.ucla.sspace.matrix.MatlabSparseFileIteratorTests): Unexpected exception, expected but was readTransposedMatrixFromDenseText(edu.ucla.sspace.matrix.MatrixIOTest): line 2 contains an inconsistent number of columns. 0 columns expected versus 1 found. readMatrixFromDenseText(edu.ucla.sspace.matrix.MatrixIOTest): line 2 contains an inconsistent number of columns. 0 columns expected versus 1 found. readMatrixArrayFromDenseText(edu.ucla.sspace.matrix.MatrixIOTest): line 2 contains an inconsistent number of columns. 0 columns expected versus 1 found. testTransform(edu.ucla.sspace.matrix.MatlabSparseFileTransformerTest): For input string: "2,000000" testTransform(edu.ucla.sspace.matrix.SvdlibcSparseTextFileTransformerTest): For input string: "2,000000" testSvdlibcCluto(edu.ucla.sspace.matrix.SvdTests): SVDLIBC is not correctly installed on this system testMatrixReduction(edu.ucla.sspace.matrix.factorization.SingularValueDecompositionLibCTest): Use of this class requires the SVDLIBC command line program, which is either not installed on this system or is not available to be executed from the command line. Check that your PATH settings are correct or see http://tedlab.mit.edu/~dr/SVDLIBC/ to download and install the program. testMatrixReduction(edu.ucla.sspace.matrix.factorization.SingularValueDecompositionOctaveTest): dimensions must be positive testIterator(edu.ucla.sspace.matrix.SvdlibcDenseTextFileIteratorTests): For input string: "1,500000" testRemove(edu.ucla.sspace.matrix.SvdlibcDenseTextFileIteratorTests): Unexpected exception, expected but was testEmptyNext(edu.ucla.sspace.matrix.SvdlibcDenseTextFileIteratorTests): Unexpted exception, expected but was testIterator(edu.ucla.sspace.matrix.ClutoSparseFileIteratorTests): For input sing: "1,500000" testRemove(edu.ucla.sspace.matrix.ClutoSparseFileIteratorTests): Unexpected exption, expected but was testEmptyNext(edu.ucla.sspace.matrix.ClutoSparseFileIteratorTests): Unexpectedxception, expected but was testIterator(edu.ucla.sspace.matrix.DenseTextFileIteratorTests): For input strg: "1,500000" testRemove(edu.ucla.sspace.matrix.DenseTextFileIteratorTests): Unexpected exceion, expected but was testEmptyNext(edu.ucla.sspace.matrix.DenseTextFileIteratorTests): Unexpected eeption, expected but was

Tests run: 1321, Failures: 9, Errors: 23, Skipped: 0

fozziethebeat commented 12 years ago

Thanks for this bug report. Those two noted failures do look new, so I'll have to look into them.

As for the jars, they're currently deprecated since we haven't setup maven to build them properly (I mostly just havent figured out how to do that). When that's done, we'll add it to the getting started page. Until then, the all inclusive jar or the standard way of running things with maven should work without too much problem. If there's anything lacking in that part, please let us know and we'll freshen up the wiki with those details.

Prokopp commented 11 years ago

FYI, fresh pull, svdlibc installed, OS X, and I get these failures:

Failed tests: testSpearmanDoubleTies(edu.ucla.sspace.common.SimilarityTest): expected:<-0.55> but was:<-0.6324555320336759> testSetAddSumIsZero(edu.ucla.sspace.vector.SparseHashIntegerVectorTests): expected:<0> but was:<1> testProcessDocument(edu.ucla.sspace.wordsi.GeneralContextExtractorTest) testProcessDocumentWithHeader(edu.ucla.sspace.wordsi.GeneralContextExtractorTest): expected:<[CHICKEN:]> but was:<[]> testProcessDocument(edu.ucla.sspace.wordsi.psd.PseudoWordContextExtractorTest) testProcessDocumentWithDefaultSeparator(edu.ucla.sspace.wordsi.semeval.SemEvalContextExtractorTest) testProcessDocumentWithNonDefaultSeparator(edu.ucla.sspace.wordsi.semeval.SemEvalContextExtractorTest)

Tests run: 1321, Failures: 7, Errors: 0, Skipped: 0

davidjurgens commented 11 years ago

The first two are bugs. I'm going to add @Ignore to the other tests until we decide to fix them, as they are fairly old now. I'll push the changes out in a few minutes.

On Sat, Nov 17, 2012 at 2:24 AM, Christian Prokopp <notifications@github.com

wrote:

FYI, fresh pull, svdlibc installed, and I get these failures:

Failed tests: testSpearmanDoubleTies(edu.ucla.sspace.common.SimilarityTest): expected:<-0.55> but was:<-0.6324555320336759> testSetAddSumIsZero(edu.ucla.sspace.vector.SparseHashIntegerVectorTests): expected: but was:

testProcessDocument(edu.ucla.sspace.wordsi.GeneralContextExtractorTest) testProcessDocumentWithHeader(edu.ucla.sspace.wordsi.GeneralContextExtractorTest): expected:<[CHICKEN:]> but was:<[]>

testProcessDocument(edu.ucla.sspace.wordsi.psd.PseudoWordContextExtractorTest)

testProcessDocumentWithDefaultSeparator(edu.ucla.sspace.wordsi.semeval.SemEvalContextExtractorTest)

testProcessDocumentWithNonDefaultSeparator(edu.ucla.sspace.wordsi.semeval.SemEvalContextExtractorTest)

Tests run: 1321, Failures: 7, Errors: 0, Skipped: 0

— Reply to this email directly or view it on GitHubhttps://github.com/fozziethebeat/S-Space/issues/25#issuecomment-10472651.