#!/usr/bin/env bash

set  -euo pipefail

# prod_uris_all.txt was generated from the entire run of: https://catalog.zooxlabs.com/run/20210518T235543-kitt_21
# The entire run was partitioned into 1-minute Chum URI's spanning the timestamp range from 1621382160 to 1621384560

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 prod_small \
  --chum-uri-list-filepath /home/hewang/Code/driving/experimental/hewang/investigations/chum_file_bandwidth/prod_uris_all.txt \
  --png-output-path /tmp/prod_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 prod_large \
  --chum-uri-list-filepath /home/hewang/Code/driving/experimental/hewang/investigations/chum_file_bandwidth/prod_uris_all.txt \
  --png-output-path /tmp/prod_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 prod_xlarge \
  --chum-uri-list-filepath /home/hewang/Code/driving/experimental/hewang/investigations/chum_file_bandwidth/prod_uris_all.txt \
  --png-output-path /tmp/prod_xlarge_all.png
