File size: 773 Bytes
fb17822
 
c0a9877
fb17822
 
 
 
 
 
 
 
 
 
 
c0a9877
fb17822
c0a9877
fb17822
 
 
 
c0a9877
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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()