#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
CORPUS="${1:-}"
shift 2>/dev/null || true
if [[ -z "$CORPUS" ]]; then
    echo "Usage: $0 <corpus.jsonl> [args...]"
    echo "  ./run.sh identity_attacks_200.jsonl --limit 10 --dry-run"
    exit 1
fi
python3 "${SCRIPT_DIR}/adversary_runner.py" --corpus "$CORPUS" "$@"
