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 irst unittest with doc #1122

Merged
merged 3 commits into from
Apr 20, 2022
Merged

Conversation

stephaniewhoo
Copy link
Member

  • add doc and doc seg tests with trec topics

Copy link
Member

@lintool lintool left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor changes.

os.system(f'wget {wp_term_url} -P irst_test/')
self.dl19_pass = 'tools/topics-and-qrels/topics.dl19-passage.txt'
self.dl20 = 'tools/topics-and-qrels/topics.dl20.txt'

def test_sum_aggregation(self):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we separate dl19 and dl20 into separate functions (test cases). This way if there's an error, it'll be easier to track down and rerun.

Same for all cases below.

@yuki617 yuki617 merged commit 53333e0 into castorini:master Apr 20, 2022
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.

3 participants