Download research/verify_all.py from PureOne/Neiru-Siha-II: direct link, hf CLI and curl.
- Browser
- Download file 676 Bytes
-
https://huggingface.co/datasets/PureOne/Neiru-Siha-II/resolve/main/research/verify_all.py
- Command line
-
hf download hf://datasets/PureOne/Neiru-Siha-II/research/verify_all.py
-
curl -L -o verify_all.py https://huggingface.co/datasets/PureOne/Neiru-Siha-II/resolve/main/research/verify_all.py
676 Bytes
| #!/usr/bin/env python3 | |
| """Run the packaged exact verification programs, stopping at the first failure.""" | |
| from pathlib import Path | |
| import subprocess | |
| import sys | |
| HERE = Path(__file__).resolve().parent | |
| TASKS = [ | |
| ['verify.py'], | |
| ['verify_obstruction.py'], | |
| ['profile_minimax.py','--self-test'], | |
| ['verify_certificates.py'], | |
| ['verify_learning.py','--output',str(HERE/'learning_verification.json')], | |
| ] | |
| def main(): | |
| for task in TASKS: | |
| print('Running '+task[0],flush=True) | |
| subprocess.run([sys.executable,str(HERE/task[0]),*task[1:]],cwd=HERE,check=True) | |
| print('All exact verification programs passed.') | |
| if __name__ == '__main__': | |
| main() | |