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

Remove 0.5 code #743

Merged
merged 15 commits into from
Dec 18, 2024
Merged

Remove 0.5 code #743

merged 15 commits into from
Dec 18, 2024

Conversation

bkorycki
Copy link
Contributor

@bkorycki bkorycki commented Dec 11, 2024

Merge PR #747 before this one.

Notes:

  • Record is now dumped in run/records instead of web. This might require a corresponding change in modellab.

  • The CLI now prints out a table summary in place of a static site. Let me know if it is missing any useful benchmark data.
    Screenshot 2024-12-12 at 2 41 59 PM

  • We should consider what we want to do about static content. If we want to keep it here, we will need to add tests to make sure that static content for the relevant objects expected my modellab indeed exists. This would avoid the numerous issues we've run into in the past w.r.t. uid changes not syncing up with the content.

Copy link

github-actions bot commented Dec 11, 2024

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

@bkorycki bkorycki temporarily deployed to Scheduled Testing December 11, 2024 21:13 — with GitHub Actions Inactive
@bkorycki bkorycki temporarily deployed to Scheduled Testing December 11, 2024 21:13 — with GitHub Actions Inactive
@bkorycki bkorycki temporarily deployed to Scheduled Testing December 11, 2024 21:13 — with GitHub Actions Inactive
@bkorycki bkorycki temporarily deployed to Scheduled Testing December 13, 2024 00:37 — with GitHub Actions Inactive
@bkorycki bkorycki temporarily deployed to Scheduled Testing December 13, 2024 00:37 — with GitHub Actions Inactive
@bkorycki bkorycki temporarily deployed to Scheduled Testing December 13, 2024 00:37 — with GitHub Actions Inactive
@rogthefrog rogthefrog mentioned this pull request Dec 13, 2024
@bkorycki bkorycki temporarily deployed to Scheduled Testing December 16, 2024 18:33 — with GitHub Actions Inactive
@bkorycki bkorycki temporarily deployed to Scheduled Testing December 16, 2024 18:33 — with GitHub Actions Inactive
@bkorycki bkorycki temporarily deployed to Scheduled Testing December 16, 2024 18:33 — with GitHub Actions Inactive
Copy link
Contributor

@rogthefrog rogthefrog left a comment

Choose a reason for hiding this comment

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

👍🏻

@@ -5,9 +5,9 @@
import pytest

from modelbench.benchmarks import BenchmarkScore, GeneralPurposeAiChatBenchmarkV1, Locale
from modelbench.hazards import HazardScore, SafeCaeHazard, SafeCbrHazard, SafeHatHazard, Standards
from modelbench.hazards import HazardScore, SafeHazardV1, Standards
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you know the original motivation for having one individual subclass for each hazard?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, I don't

@bkorycki bkorycki mentioned this pull request Dec 17, 2024
bkorycki and others added 2 commits December 18, 2024 15:54
* SUT arg(s) is now required by CLI

* Get rid of DEFFAULT_SUTS

* mb tests use centralized SUT fixtures

* mv conftest up to root tests dir

* Modelbench does not register SUTs

* print known SUT uids on newlines

* Remove SUT wrapper (#758)
@bkorycki bkorycki temporarily deployed to Scheduled Testing December 18, 2024 21:15 — with GitHub Actions Inactive
@bkorycki bkorycki temporarily deployed to Scheduled Testing December 18, 2024 21:15 — with GitHub Actions Inactive
@bkorycki bkorycki temporarily deployed to Scheduled Testing December 18, 2024 21:15 — with GitHub Actions Inactive
@bkorycki bkorycki merged commit 9a8af8c into main Dec 18, 2024
4 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants