From 95e3dc6653e971b43417dfed3ab1590520180960 Mon Sep 17 00:00:00 2001 From: Mark Saroufim Date: Sun, 1 Feb 2026 17:56:28 -0800 Subject: [PATCH] =?UTF-8?q?Rename=20submission=20modes:=20benchmark?= =?UTF-8?q?=E2=86=92private,=20leaderboard=E2=86=92public?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates submission mode options in the CLI: - Benchmark → Private (run benchmarks without affecting ranking) - Leaderboard → Public (official submission to the public leaderboard) --- src/cmd/submit.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/cmd/submit.rs b/src/cmd/submit.rs index a508b12..36e8bac 100644 --- a/src/cmd/submit.rs +++ b/src/cmd/submit.rs @@ -56,14 +56,14 @@ impl App { "test".to_string(), ), SubmissionModeItem::new( - "Benchmark".to_string(), - "Benchmark the solution, this also runs the tests and afterwards runs the benchmark, returning detailed timing results".to_string(), - "benchmark".to_string(), + "Private".to_string(), + "Run benchmarks privately. Returns detailed timing results but doesn't affect leaderboard ranking.".to_string(), + "private".to_string(), ), SubmissionModeItem::new( - "Leaderboard".to_string(), - "Submit to the leaderboard, this first runs public tests and then private tests. If both pass, the submission is evaluated and submit to the leaderboard.".to_string(), - "leaderboard".to_string(), + "Public".to_string(), + "Submit to the public leaderboard. Runs tests, then benchmarks, and if all pass, evaluates and ranks your submission.".to_string(), + "public".to_string(), ), SubmissionModeItem::new( "Profile".to_string(), @@ -731,7 +731,7 @@ pub async fn run_submit_plain( })?; let final_mode = mode.ok_or_else(|| { - anyhow!("Submission mode not specified. Use --mode flag (test, benchmark, leaderboard, profile)") + anyhow!("Submission mode not specified. Use --mode flag (test, private, public, profile)") })?; // Read file content