-
Notifications
You must be signed in to change notification settings - Fork 23
Rename submission modes: benchmark→private, leaderboard→public #413
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
base: main
Are you sure you want to change the base?
Changes from all commits
118b06a
ee62fdc
6fcc19f
2e022ca
d47bad7
a002f08
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -49,8 +49,8 @@ def get_timeout(config: dict) -> int: | |||||||
| mode = config.get("mode") | ||||||||
| sec_map = { | ||||||||
| SubmissionMode.TEST.value: config.get("test_timeout"), | ||||||||
| SubmissionMode.BENCHMARK.value: config.get("benchmark_timeout"), | ||||||||
| SubmissionMode.LEADERBOARD.value: config.get("ranked_timeout"), | ||||||||
| SubmissionMode.PRIVATE.value: config.get("benchmark_timeout"), | ||||||||
| SubmissionMode.PUBLIC.value: config.get("ranked_timeout"), | ||||||||
|
||||||||
| SubmissionMode.PUBLIC.value: config.get("ranked_timeout"), | |
| SubmissionMode.PUBLIC.value: config.get("ranked_timeout"), | |
| SubmissionMode.SECRET.value: config.get("ranked_timeout"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
SubmissionModedocstring says PUBLIC runs are a “repeated invocation of a single benchmark”, but the evaluation code selects either the last benchmark or all benchmarks depending onranking_by(e.g., MEAN/GEOM use multiple benchmarks). Update the docstring to reflect that PUBLIC/SECRET may run multiple benchmarks depending on the ranking criterion, to avoid misleading users/operators.