Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-274

Block Shakespeare tests are failing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6
    • Component/s: None
    • Labels:
      None

      Description

      Query count was 8 instead of 9 expected:<9> but was:<8>
      junit.framework.AssertionFailedError: Query count was 8 instead of 9 expected:<9> but was:<8>
          at org.terrier.tests.BatchEndToEndTest.doEvaluation(BatchEndToEndTest.java:175)
          at org.terrier.tests.BatchEndToEndTest.doTrecTerrierRunAndEvaluate(BatchEndToEndTest.java:231)
          at org.terrier.tests.BatchEndToEndTest.doTrecTerrierIndexingRunAndEvaluate(BatchEndToEndTest.java:207)
          at org.terrier.tests.BasicShakespeareEndToEndTest.testBasicClassical(BasicShakespeareEndToEndTest.java:49)

        Attachments

          Activity

          Hide
          craigm Craig Macdonald added a comment -

          I found the issue in PhraseScoreModifers's use of IterablePosting.next(int). I also added unit tests for TestPhraseIterablePosting and TestPhraseScoreModifier.

          Show
          craigm Craig Macdonald added a comment - I found the issue in PhraseScoreModifers's use of IterablePosting.next(int). I also added unit tests for TestPhraseIterablePosting and TestPhraseScoreModifier.

            People

            • Assignee:
              craigm Craig Macdonald
              Reporter:
              craigm Craig Macdonald
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: