Skip to content
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

Explicit mode now available in launch_experiment script #14

Merged
merged 7 commits into from
Nov 21, 2024

Conversation

arik-shurygin
Copy link
Collaborator

users are now able to point to a csv containing task parameters to launch an arbitrary number and layout of tasks with launch_experiment

example
the user wants to run the following tasks, each with the following run_task.py calls

python run_task.py --jobid example-jobid-1 --state CA --scenario example-scenario1
python run_task.py --jobid example-jobid-1 --state CA --scenario example-scenario2
python run_task.py --jobid example-jobid-1 --state CA --scenario example-scenario3
python run_task.py --jobid example-jobid-1 --state OR --scenario example-scenario1
python run_task.py --jobid example-jobid-1 --state OR --scenario example-scenario2
python run_task.py --jobid example-jobid-1 --state OR --scenario example-scenario3

In short, they want to run 3 scenarios across 2 states.
their explicit_mode.csv file would look like

state,scenario
CA,example-scenario1
CA,example-scenario2
CA,example-scenario3
OR,example-scenario1
OR,example-scenario2
OR,example-scenario3

and their call to launch_experiment would look like:
launch_experiment --job_id example-jobid-1 -e example_experiment --explicit path/to/explicit_mode.csv

@arik-shurygin arik-shurygin merged commit b6df8a1 into main Nov 21, 2024
2 checks passed
@arik-shurygin arik-shurygin deleted the explicit-mode branch November 21, 2024 07:52
This was referenced Nov 22, 2024
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.

1 participant