Codex
Replace the dataset with the current testing tree and the three UT docs.
d26f22a
Raw History Blame Contribute Delete
901 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
# Run the in-tree evaluation CLI without installing the package. This wrapper
# also keeps localhost collector traffic away from site-wide HTTP proxies.
WORKTREE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
REPO_ROOT="$(cd "$WORKTREE_ROOT/.." && pwd)"
PYTHON="${SKILL_EVAL_PYTHON:-$REPO_ROOT/package/.venv/bin/python}"
if [[ ! -x "$PYTHON" ]]; then
echo "Python environment not found: $PYTHON" >&2
echo "Set SKILL_EVAL_PYTHON to the evaluation environment's Python executable." >&2
exit 2
fi
export PYTHONPATH="$WORKTREE_ROOT${PYTHONPATH:+:$PYTHONPATH}"
export NO_PROXY="127.0.0.1,localhost${NO_PROXY:+,$NO_PROXY}"
export no_proxy="127.0.0.1,localhost${no_proxy:+,$no_proxy}"
exec "$PYTHON" -m agent_evaluation.cli "$@"