#!/usr/bin/env bash # setup.sh for INC2_data_corruption # Generates seed-specific workspace files using the parameterized generator. # # Args: $1=WORKSPACE $2=REPORTS $3=RUN_ID [optional: $4=SEED] set -euo pipefail WORKSPACE="$1" REPORTS="$2" RUN_ID="${3:-0}" SEED="${4:-0}" mkdir -p "$WORKSPACE" "$REPORTS" # Generate seed-specific files via the Python generator python3 - <