File size: 1,309 Bytes
3f6526a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #!/bin/bash
# Fork the vanilla baseline at generation 5 for controlled eval agent comparison.
#
# Usage:
# bash scripts/ev2_agentic/fork_frontier_cs_baseline.sh
#
# This creates a forked experiment directory that shares the first 5 generations
# with the vanilla baseline, so any difference in later generations is attributable
# to the eval agent.
set -euo pipefail
# ============================================================================
# Configuration
# ============================================================================
SOURCE="results/frontier_cs_algorithmic/vanilla_g50_20260327_055051"
FORK_AT=5
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
DESTINATION="results/frontier_cs_algorithmic/agent_fork_g${FORK_AT}_${TIMESTAMP}"
# ============================================================================
# Fork
# ============================================================================
echo "Forking baseline at generation ${FORK_AT}..."
echo " Source: ${SOURCE}"
echo " Destination: ${DESTINATION}"
echo ""
.venv/bin/python tasks/frontier_cs_entry/fork_experiment.py \
"${SOURCE}" \
"${DESTINATION}" \
--fork-at "${FORK_AT}"
echo ""
echo "Fork complete. Use run_frontier_cs_agentic.sh to continue with eval agent."
echo "Set FORKED_DIR=${DESTINATION} in that script."
|