ut-evaluation / testing /agent_evaluation /scripts /start-evaluation-server
Codex
Replace the dataset with the current testing tree and the three UT docs.
d26f22a
Raw History Blame Contribute Delete
476 Bytes
#!/usr/bin/env bash
if [[ "${BASH_SOURCE[0]}" != "$0" ]]; then
echo "Execute this script directly; do not source it." >&2
return 2
fi
set -euo pipefail
WORKTREE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
REPO_ROOT="$(cd "$WORKTREE_ROOT/.." && pwd)"
SKILL_EVAL_PYTHON="${SKILL_EVAL_PYTHON:-$REPO_ROOT/package/.venv/bin/python}"
export PYTHONPATH="$WORKTREE_ROOT${PYTHONPATH:+:$PYTHONPATH}"
exec "$SKILL_EVAL_PYTHON" -m agent_evaluation.backend.server "$@"