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

test: update __eq__ method of EvalScore to use absolute tolerance #77

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

danielezhu
Copy link
Contributor

Issue #, if available:

Description of changes:
This PR update the math.isclose() call to use an absolute tolerance defined in constants.py and adds unit tests for testing the __eq__ behavior of EvalScore and CategoryScore dataclasses.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@danielezhu danielezhu merged commit f2890d9 into aws:main Oct 24, 2023
3 checks passed
@danielezhu danielezhu deleted the eval_score_update branch October 24, 2023 20:15
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