Download scripts/check_release.sh from linqihao/mu-bench: direct link, hf CLI and curl.
- Browser
- Download file 571 Bytes
-
https://huggingface.co/datasets/linqihao/mu-bench/resolve/main/scripts/check_release.sh
- Command line
-
hf download hf://datasets/linqihao/mu-bench/scripts/check_release.sh
-
curl -L -o check_release.sh https://huggingface.co/datasets/linqihao/mu-bench/resolve/main/scripts/check_release.sh
571 Bytes
| set -euo pipefail | |
| MUBENCH_REPO="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" | |
| cd "$MUBENCH_REPO" | |
| PY="${MUBENCH_PYTHON:-$MUBENCH_REPO/.venv/bin/python}" | |
| "$PY" -m mubench validate | |
| "$PY" scripts/check_entrypoints.py | |
| "$PY" -m unittest discover -s tests -v | |
| mkdir -p outputs/release_tests | |
| export MUBENCH_TEST_OUTPUT="$MUBENCH_REPO/outputs/release_tests" | |
| "$PY" tests/tool_augmented/test_request_revision.py | |
| "$PY" tests/tool_augmented/test_caller_protocol.py | |
| "$PY" tests/tool_augmented/test_text_contracts.py | |
| "$PY" tests/tool_augmented/reference_check.py | |