Buckets:

Pranav2748's picture
download
raw
672 Bytes
#!/usr/bin/env bash
# Rebuild the dashboard page from the run's files: data snapshot + template -> one self-contained HTML file.
set -euo pipefail
cd "$(dirname "$0")/.."
source .venv/bin/activate
OUT=${1:-/tmp/claude-0/-workspace/8842c99f-448c-4cba-80ab-3e9c26b892df/scratchpad/decision_reasoner_dashboard.html}
python -u dashboard/build_data.py "$OUT.json"
python - "$OUT" <<'EOF'
import sys
out = sys.argv[1]
data = open(out + ".json", encoding="utf-8").read().replace("</", "<\\/")
page = open("dashboard/template.html", encoding="utf-8").read().replace("__DATA__", data)
open(out, "w", encoding="utf-8").write(page)
print(f"page {out}: {len(page) / 1e6:.2f} MB")
EOF

Xet Storage Details

Size:
672 Bytes
·
Xet hash:
8126a3ab1a0d8a25068b41124954f7a6eb288b170f3363e3c9d7debe2dedafd7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.