Skip to content

run_by_hand: run part of the suite, through PROBLEMS, SWEEPS, TIMEOUT and RUN_LABEL - #62

Merged
mmcky merged 1 commit into
mainfrom
problems-run-by-hand-part-of-suite
Nov 10, 2026
Merged

mmcky merged 1 commit into
mainfrom
problems-run-by-hand-part-of-suite

Conversation

@mmcky

@mmcky mmcky commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

For #58's follow-up on rented cards (an H100 and an RTX PRO 6000, by a laptop session): problems/run_by_hand.sh always ran the whole suite, so a rented card couldn't run only P7's Kalman sweeps. Now four environment variables, each optional, pass through to run_suite.py:

Variable Passes as For #58's run
PROBLEMS --problems kalman
SWEEPS --sweeps batch,state,batch20,batch50,batch100
TIMEOUT --timeout 1800
RUN_LABEL --label kalman-grid, the label of the 2026-11-10 rows in #61

Checked with bash -n, and with the two changed lines run under set -euo pipefail, with echo in place of Python, in four cases:

Case Arguments
Nothing set --backends jax-gpu --host h
cuda12 only --label cuda12
All four set --label kalman-grid --problems kalman --sweeps … --timeout 1800
RUN_LABEL and cuda12 --label kalman-grid-cuda12

The script itself hasn't run since the change: it installs a Python environment, and runs only on a rented machine.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMZXaSPhPfoP4ShvCrj

… and RUN_LABEL

For #58's Kalman sweeps on rented cards: each, if set, passes to
run_suite.py as --problems, --sweeps, --timeout or --label. Unset, the
script runs as before. On a cuda12 machine the label becomes
<RUN_LABEL>-cuda12.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMZXaSPhPfoP4ShvCrj
Copilot AI balanced review requested due to automatic review settings November 10, 2026 16:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Note

Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.

🟢 Approval recommended

The change is a straightforward, documented addition of optional environment-variable passthrough to run_suite.py while explicitly preserving existing default behavior when variables are unset, with no active issues indicated in the reviewed diff.

No open issues 🎉

What changed in this PR

Updates problems/run_by_hand.sh so manual/rented-machine runs can execute only a subset of the problem suite by passing optional environment variables through to problems/run_suite.py, while preserving the current default behavior when nothing is set.

Changes:

  • Document optional PROBLEMS, SWEEPS, TIMEOUT, and RUN_LABEL usage (including an example command) for partial-suite runs.
  • Pass optional --problems, --sweeps, and --timeout arguments to run_suite.py when corresponding environment variables are set.
  • Compose the final --label from RUN_LABEL and the existing cuda12 label suffix behavior where applicable.
File Description
problems/​run_by_hand.sh Adds optional env-var passthrough to run_suite.py to select problems/sweeps, set timeout, and compose a run label (including -cuda12 suffixing) while keeping defaults unchanged when unset.

Review effort: Balanced

@mmcky
mmcky merged commit 314b061 into main Nov 10, 2026
1 check passed
@mmcky
mmcky deleted the problems-run-by-hand-part-of-suite branch November 10, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants