Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Prf unit test #513

Merged
merged 23 commits into from
Apr 29, 2021
Merged

Update Prf unit test #513

merged 23 commits into from
Apr 29, 2021

Conversation

yuki617
Copy link
Member

@yuki617 yuki617 commented Apr 27, 2021

  • Add test for cross validation
  • Add scripts to generate run files while checking the score

@lintool
Copy link
Member

lintool commented Apr 28, 2021

Ran the tests on my iMac Pro:

======================================================================
FAIL: test_cross_validation (integrations.test_simplesearcher_check_prf.TestSearchIntegration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jimmylin/workspace/pyserini/integrations/test_simplesearcher_check_prf.py", line 93, in test_cross_validation
    self.assertEqual(status, 0)
AssertionError: 256 != 0

----------------------------------------------------------------------
Ran 41 tests in 77365.158s

FAILED (failures=1)

That's ~21 hours for the tests...

@yuki617
Copy link
Member Author

yuki617 commented Apr 28, 2021

That's caused by the missing of mkdir script for folder core17. Let me update it and send the review request again

@lintool lintool merged commit 42db07b into castorini:master Apr 29, 2021
@lintool
Copy link
Member

lintool commented Apr 29, 2021

I've confirmed that the fix works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants