#!/usr/bin/env bash

set  -euo pipefail

# sim_uris_all.txt is too large to add to Git. Its contents were generated by running the following SQL command
# on the temp_db database in Redshift:
# SELECT
#   chum_uri
# FROM public.sim_scenarios
# WHERE simulated_execution_id='b92b0ad6-b4f6-44b5-8373-dc5e1db6d869';

bazel run //experimental/hewang/investigations/chum_file_bandwidth:chum_file_bandwidth -- \
  --scheduler-config-filepath /home/hewang/Code/airflow/src/c2d_executor/config.yml \
  --job-type sim_small \
  --chum-uri-list-filepath /home/hewang/Code/driving/experimental/hewang/investigations/chum_file_bandwidth/sim_uris_all.txt \
  --png-output-path /tmp/sim_small_all.png

bazel run //experimental/hewang/investigations/chum_file_bandwidth:chum_file_bandwidth -- \
  --scheduler-config-filepath /home/hewang/Code/airflow/src/c2d_executor/config.yml \
  --job-type sim_large \
  --chum-uri-list-filepath /home/hewang/Code/driving/experimental/hewang/investigations/chum_file_bandwidth/sim_uris_all.txt \
  --png-output-path /tmp/sim_large_all.png

bazel run //experimental/hewang/investigations/chum_file_bandwidth:chum_file_bandwidth -- \
  --scheduler-config-filepath /home/hewang/Code/airflow/src/c2d_executor/config.yml \
  --job-type sim_xlarge \
  --chum-uri-list-filepath /home/hewang/Code/driving/experimental/hewang/investigations/chum_file_bandwidth/sim_uris_all.txt \
  --png-output-path /tmp/sim_xlarge_all.png
