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 grading function per October 2024 spec #668

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

Conversation

rogthefrog
Copy link
Contributor

The new spec...

  • Updates grade labels (e.g. "Excellent", "Fair" etc)
  • Updates the thresholds

This PR...

  • Implements the spec
  • Refactors the grading a bit
  • Adds comments for future maintenance

I'm still not 100% the logic is correct, even though the tests pass. In particular, the TestBenchmarkScoringBasics.benchmark_score logic is the inverse of TestHazardScoreBasics.test_text_grade.

@bkorycki @wpietri @bollacker @dhosterman could you please take a look?

@rogthefrog rogthefrog requested a review from a team as a code owner November 4, 2024 23:00
Copy link

github-actions bot commented Nov 4, 2024

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

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