#!/usr/bin/env bash # Third-party assets (not committed): SO-101 model (MuJoCo Menagerie, Apache-2.0), PlotNeuralNet (MIT), # ERQA (HF mirror of the official TFRecord; needs HF_TOKEN), PlanBench Blocksworld task 1 (MIT). set -euo pipefail cd "$(dirname "$0")/.." M=https://raw.githubusercontent.com/google-deepmind/mujoco_menagerie/main/robotstudio_so101 D=third_party/menagerie/robotstudio_so101 mkdir -p "$D/assets" for f in so101.xml scene.xml LICENSE README.md; do curl -sSfL "$M/$f" -o "$D/$f"; done for f in $(grep -oE 'file="[^"]+"' "$D/so101.xml" | sed 's/file="//;s/"//' | sort -u); do curl -sSfL "$M/assets/$f" -o "$D/assets/$f"; done P=https://raw.githubusercontent.com/HarisIqbal88/PlotNeuralNet/master mkdir -p third_party/PlotNeuralNet/pycore third_party/PlotNeuralNet/layers for f in pycore/tikzeng.py pycore/blocks.py pycore/__init__.py layers/init.tex layers/Ball.sty layers/Box.sty layers/RightBandedBox.sty LICENSE; do curl -sSfL "$P/$f" -o "third_party/PlotNeuralNet/$f"; done mkdir -p data/planbench data/erqa curl -sSfL https://raw.githubusercontent.com/karthikv792/LLMs-Planning/main/plan-bench/prompts/blocksworld/task_1_plan_generation.json \ -o data/planbench/task_1_plan_generation.json : "${HF_TOKEN:?set HF_TOKEN to download ERQA}" curl -sSfL -H "Authorization: Bearer $HF_TOKEN" \ https://huggingface.co/datasets/FlagEval/ERQA/resolve/main/data/test-00000-of-00001.parquet -o data/erqa/test.parquet echo "assets ready"