Datasets:
Download scripts/build_release.py from ulamai/UnsolvedAstronomy: direct link, hf CLI and curl.
- Browser
- Download file 773 Bytes
-
https://huggingface.co/datasets/ulamai/UnsolvedAstronomy/resolve/main/scripts/build_release.py
- Command line
-
hf download hf://datasets/ulamai/UnsolvedAstronomy/scripts/build_release.py
-
curl -L -o build_release.py https://huggingface.co/datasets/ulamai/UnsolvedAstronomy/resolve/main/scripts/build_release.py
773 Bytes
| #!/usr/bin/env python3 | |
| """ | |
| Validate and finalize UnsolvedAstronomy v1.1.0 compact root exports (UnsolvedMath / UnsolvedPhysics compatible). | |
| """ | |
| import subprocess | |
| import sys | |
| from pathlib import Path | |
| ROOT = Path(__file__).resolve().parent.parent | |
| def main(): | |
| subprocess.run([sys.executable, str(ROOT / "scripts" / "compute_statistics.py")], check=True) | |
| subprocess.run([sys.executable, str(ROOT / "scripts" / "validate.py")], check=True) | |
| subprocess.run([sys.executable, str(ROOT / "scripts" / "duplicate_candidates.py")], check=True) | |
| subprocess.run([sys.executable, str(ROOT / "scripts" / "generate_dataset_card.py")], check=True) | |
| print("Successfully built and validated compact release v1.1.0 in root exports.") | |
| if __name__ == "__main__": | |
| main() | |