#!/bin/bash

# This script launches the TMM jobs on mined metrics. We use this for our
# weekly reviews.

# e = exit on failure, u = error on unset variables, x = print commands, o pipefile = return error code
set -euxo pipefail

bazel run //mined_metric/builder:run_metric_builder --config=cuda -- --metric_id converted_agent_offline_challenge_set --default_num_workers 193 --pipedream
bazel run //mined_metric/builder:run_metric_builder --config=cuda -- --metric_id converted_agent_offline_small_set --default_num_workers 7 --pipedream
bazel run //mined_metric/builder:run_metric_builder --config=cuda -- --metric_id converted_agent_offline_echu_set --default_num_workers 346 --pipedream
bazel run //mined_metric/builder:run_metric_builder --config=cuda -- --metric_id converted_agent_offline_drew_set --default_num_workers 67 --pipedream
bazel run //mined_metric/builder:run_metric_builder --config=cuda -- --metric_id converted_agent_offline_pmav_set --default_num_workers 40 --pipedream
