Skip to content

Auto approve association#649

Merged
hasan7n merged 14 commits intomlcommons:mainfrom
hasan7n:auto-approve-assoc
Jun 29, 2025
Merged

Auto approve association#649
hasan7n merged 14 commits intomlcommons:mainfrom
hasan7n:auto-approve-assoc

Conversation

@hasan7n
Copy link
Contributor

@hasan7n hasan7n commented Jun 27, 2025

Adds the feature of configuring the benchmark to auto-approve model/dataset associations either always or according to specified email addresses of the owners of the models/datasets.

@hasan7n hasan7n requested a review from a team as a code owner June 27, 2025 08:22
@hasan7n hasan7n had a problem deploying to testing-external-code June 27, 2025 08:22 — with GitHub Actions Failure
@github-actions
Copy link
Contributor

github-actions bot commented Jun 27, 2025

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

@hasan7n hasan7n had a problem deploying to testing-external-code June 27, 2025 11:04 — with GitHub Actions Failure
benchmark_uid: int = typer.Option(
..., "--benchmark", "-b", help="UID of the desired benchmark"
),
dataset_auto_approve_mode: str = typer.Option(
Copy link
Contributor

Choose a reason for hiding this comment

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

Typer supports Enums to both show the options on a standard format in their CLI help and also do validation on their side (including being case insensitive). See https://typer.tiangolo.com/tutorial/parameter-types/enum/ . I think this would be an improvement.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks Bruno! That's indeed helpful

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks Bruno! That's indeed helpful

@hasan7n hasan7n had a problem deploying to testing-external-code June 27, 2025 17:09 — with GitHub Actions Failure
@mhmdk0 mhmdk0 had a problem deploying to testing-external-code June 28, 2025 20:27 — with GitHub Actions Failure
@hasan7n hasan7n had a problem deploying to testing-external-code June 29, 2025 01:21 — with GitHub Actions Failure
@mhmdk0 mhmdk0 had a problem deploying to testing-external-code June 29, 2025 14:16 — with GitHub Actions Failure
@hasan7n hasan7n temporarily deployed to testing-external-code June 29, 2025 16:46 — with GitHub Actions Inactive
@hasan7n hasan7n merged commit aded589 into mlcommons:main Jun 29, 2025
9 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 29, 2025
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.

3 participants