Download tasks/vcc-correlation-structure/solution/solve.sh from scalingX/cell-response-bench: direct link, hf CLI and curl.
- Browser
- Download file 580 Bytes
-
https://huggingface.co/datasets/scalingX/cell-response-bench/resolve/main/tasks/vcc-correlation-structure/solution/solve.sh
- Command line
-
hf download hf://datasets/scalingX/cell-response-bench/tasks/vcc-correlation-structure/solution/solve.sh
-
curl -L -o solve.sh https://huggingface.co/datasets/scalingX/cell-response-bench/resolve/main/tasks/vcc-correlation-structure/solution/solve.sh
580 Bytes
| set -euo pipefail | |
| ROOT="$(cd "$(dirname "$0")/.." && pwd)" | |
| cd "$ROOT" | |
| echo "== step 1: verify real data checksums ==" | |
| python3 solution/verify_data.py data | |
| echo "== step 2: create isolated env and install pinned scientific stack ==" | |
| uv venv --python 3.9 agent_venv | |
| uv pip install --python agent_venv/bin/python --only-binary :all: -r requirements.txt | |
| echo "== step 3: read HDF5 binary matrix and recompute statistics ==" | |
| agent_venv/bin/python solution/compute.py --data data/pseudobulks.h5ad --out artifacts/result.json | |
| echo "== done: artifacts/result.json ==" | |