#!/usr/bin/env bash # Phase 3: Compare dev delegate variants (B9 + optional SWE live subset). # # Usage: # bash scripts/butler-eval-experiment.sh # bash scripts/butler-eval-experiment.sh --with-swe # bash scripts/butler-eval-experiment.sh --no-langfuse set -euo pipefail ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" cd "$ROOT" export PYTHONPATH="$ROOT" INCLUDE_SWE=0 PUSH_LANGFUSE=1 while [[ $# -gt 0 ]]; do case "$1" in --with-swe) INCLUDE_SWE=1 ;; --no-langfuse) PUSH_LANGFUSE=0 ;; -h|--help) echo "Usage: $0 [--with-swe] [--no-langfuse]" exit 0 ;; *) echo "Unknown option: $1" >&2; exit 1 ;; esac shift done if [[ -f "$ROOT/.env" ]]; then set -a # shellcheck disable=SC1091 source "$ROOT/.env" 2>/dev/null || true set +a fi python3 - <