check_job
Validate a job before submission by checking runbook rules, cost estimates, approval requirements, and missing paths without pushing the script to the cluster.
Instructions
Check a job before submitting: runbook rules (account, partition/QoS, time, dev limits, CPU limits, script
pitfalls), cost estimate at the time limit, whether a human must approve it (counting your running and pending
jobs), and sbatch --test-only. script is a path relative to cwd on the cluster (default: the configured
workdir), never the script's text (refused without touching the cluster); or pass the script itself as script_text (e.g. a draft_job result) to check it without pushing it first (cwd is still
where it would run). Pass each sbatch option and its value as separate list items. The test-only start time is
unreliable. Also tested on the cluster: that the models, containers, envs and inputs the script reads exist
(missing_paths; submit_job refuses them unless the job has a --dependency), and for vLLM on the dev QoS whether
a compile cache is warm. asc: what ASC's submit filter changed in the request (comfort mode).
expected_minutes: your runtime estimate; a --time far above it is flagged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| script | No | ||
| sbatch_args | No | ||
| script_args | No | ||
| script_text | No | ||
| expected_minutes | No |