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

Prevent merge of same questions on different documents during evaluation #1119

Merged
merged 29 commits into from Jun 2, 2021

Conversation

brandenchan
Copy link
Contributor

The issue is raised here (#933). This PR solves this by using a tuple of id and question when aggregating labels. This is done in a few different functions where labels are loaded.

This is a recreation of #1030 and #1100 in order to get a cleaner diff (I rebased and merged locally but Github does not show a clean post-rebase diff)

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@brandenchan brandenchan changed the title Duplicate question Prevent merge of same questions on different documents during evaluation #1100 Jun 1, 2021
@brandenchan brandenchan changed the title Prevent merge of same questions on different documents during evaluation #1100 Prevent merge of same questions on different documents during evaluation Jun 1, 2021
@brandenchan brandenchan requested a review from tholor June 1, 2021 14:33
Copy link
Member

@tholor tholor left a comment

Choose a reason for hiding this comment

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

Looking good. Adjusted one doc string slightly and left one comment in the tutorial. Ready to merge once that last comment is resolved

tutorials/Tutorial5_Evaluation.py Outdated Show resolved Hide resolved
@brandenchan brandenchan requested review from tholor and removed request for tholor June 2, 2021 08:12
@brandenchan brandenchan merged commit aa6f768 into master Jun 2, 2021
@brandenchan brandenchan deleted the duplicate_question branch June 2, 2021 10:09
@lewtun
Copy link
Contributor

lewtun commented Jun 2, 2021

thank you so much @brandenchan for implementing this!

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.

None yet

3 participants