#!/usr/bin/env bash
set -euo pipefail

: "${SPLITS_DIR:?Set SPLITS_DIR to data/splits/expanding}"
FACULTY="${FACULTY:-khoa_cong_nghe_thong_tin}"
OUTPUT_DIR="${OUTPUT_DIR:-./track_a_smoke_outputs}"

python3 audit_target_filter.py \
  --faculty "$FACULTY" \
  --splits_dir "$SPLITS_DIR" \
  --output "$OUTPUT_DIR/target_filter_audit.csv"

python3 run_track_a.py \
  --faculty "$FACULTY" \
  --splits_dir "$SPLITS_DIR" \
  --output_dir "$OUTPUT_DIR" \
  --phase dev \
  --dev_folds 1 \
  --experiments all \
  --epochs 1 \
  --batch_size 512
