-
Notifications
You must be signed in to change notification settings - Fork 28
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
Changes from 1 commit
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 | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -82,21 +82,22 @@ class SubmissionMode(Enum): | |||||||||||||||||||||
| """ | ||||||||||||||||||||||
| Different types of submission that can be made: | ||||||||||||||||||||||
| Test: Run tests and give detailed results about passed/failed tests. These have short timeouts. | ||||||||||||||||||||||
| Benchmark: Run larger benchmarks. Each benchmark is tested once, and then run multiple times. | ||||||||||||||||||||||
| Private: Run benchmarks privately. Each benchmark is tested once, and then run multiple times. | ||||||||||||||||||||||
| Returns detailed timing results but doesn't affect leaderboard ranking. | ||||||||||||||||||||||
| Profile: Gather profiling information. One selected benchmark is run under the profiler. No | ||||||||||||||||||||||
| testing is performed in this mode (sometimes, you need to profile deliberately broken code) | ||||||||||||||||||||||
| Leaderboard: Official submission to the leaderboard. This first runs public tests, then a | ||||||||||||||||||||||
| repeated invocation of a single benchmark. Feedback for the secret benchmark is only very | ||||||||||||||||||||||
| limited (no stdout/stderr). | ||||||||||||||||||||||
| Private: Special run that does test followed by leaderboard (on a secret seed), but gives only | ||||||||||||||||||||||
| very limited feedback. | ||||||||||||||||||||||
| Public: Official submission to the leaderboard. This first runs public tests, then a | ||||||||||||||||||||||
| repeated invocation of a single benchmark. If all tests pass, the submission is evaluated | ||||||||||||||||||||||
| and ranked on the public leaderboard. | ||||||||||||||||||||||
| Secret: Internal mode for running the full evaluation flow with a secret seed. This is used | ||||||||||||||||||||||
|
Comment on lines
+89
to
+92
|
||||||||||||||||||||||
| Public: Official submission to the leaderboard. This first runs public tests, then a | |
| repeated invocation of a single benchmark. If all tests pass, the submission is evaluated | |
| and ranked on the public leaderboard. | |
| Secret: Internal mode for running the full evaluation flow with a secret seed. This is used | |
| Public: Official submission to the leaderboard. This first runs public tests, then runs the | |
| benchmark suite according to the selected ranking criterion (for example, using only the | |
| last benchmark or aggregating over all benchmarks). If all tests pass, the submission is | |
| evaluated and ranked on the public leaderboard. | |
| Secret: Internal mode for running the full evaluation flow with a secret seed. This mirrors | |
| the public evaluation (including the benchmark selection/aggregation strategy) and is used |
| 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"), |
Uh oh!
There was an error while loading. Please reload this page.