#!/bin/bash

cat buckets | xargs -n1 -I{} bash -c "bazel run :mine_disengagements -- \
  --release 19.49 --bucket='{}' -v -o $PWD/data/legacy_\$RANDOM.pbtxt -t 'Legacy SF Challenge Route'"

cat buckets | xargs -n1 -I{} bash -c "bazel run :mine_disengagements -- \
  --release 19.49 --bucket='{}' -v -o  $PWD/data/c2r_\$RANDOM.pbtxt -t 'C2R SF Challenge Route'"


cat buckets | xargs -n1 -I{} bash -c "bazel run :mine_disengagements -- \
  --release 19.49 --bucket='{}' -v -o  $PWD/data/slac_\$RANDOM.pbtxt -t 'SLAC Challenge Route'"

