UnsolvedAstronomy / scripts /build_release.py
przemekch's picture
Release UnsolvedAstronomy v1.1.0 (compact single-copy layout, 298 MB vs 2.53 GB, 35,000 deduplicated astronomy problems)
c0a9877 verified
Raw History Blame Contribute Delete
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()