Repository Public License
1#!/usr/bin/env bash2# Runs the fixed agent evaluation set against the real Anthropic API. THIS COSTS MONEY (roughly the cost of one build per prompt).3# ANTHROPIC_API_KEY=… scripts/eval.sh [limit] PRISM_EVAL_ONLY=id1,id2 to pick cases4set -euo pipefail5cd "$(dirname "$0")/.."6[ -n "${ANTHROPIC_API_KEY:-}" ] || { echo "Set ANTHROPIC_API_KEY (the key is used from the environment only)." >&2; exit 1; }7[ -z "${1:-}" ] || export PRISM_EVAL_LIMIT="$1"8PRISM_LIVE=1 PRISM_EVAL=1 swift test --filter AgentEvaluation 2>&1 | grep -E "EVAL|✘|recorded" || true9echo "Results: build/evals/summary.json"10