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 evaluators.py #77

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Miking98
Copy link

Addresses an eval bug that causes false positives.

Bug: Before, the URL ec2-3-131-244-37.us-east-2.compute.amazonaws.com:7780/admin/reports/report_product/viewedasdf would get a score of 1.0 for the reference URL ec2-3-131-244-37.us-east-2.compute.amazonaws.com:7780/admin/reports/report_product/viewed.

Edit. This commit requires the URLs to match exactly to get credit.

Fixes bug that causes false positives.


e.g. before, the URL `ec2-3-131-244-37.us-east-2.compute.amazonaws.com:7780/admin/reports/report_product/viewedasdf` would get a score of 1.0 for the reference URL `ec2-3-131-244-37.us-east-2.compute.amazonaws.com:7780/admin/reports/report_product/viewed`
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.

1 participant