#!/usr/bin/env bash # Entry point for the scheduled HF Job (image python:3.12, secret HF_TOKEN). # Pulls the code from the dataset repo and runs the daily pipeline with --push. set -euo pipefail pip install -q "huggingface_hub>=1.17,<3" pandas pyarrow numpy requests httpx pyyaml hf download MiniMaxAI/oss-ecosystem-data --repo-type dataset --include "code/*" --local-dir /w cd /w/code HFECO_LOCAL=/w/data python scripts/daily.py "${@:---push}"