Download 17/replication_package/code/run_all.py from chuxuan/REPRO-Bench: direct link, hf CLI and curl.
- Browser
- Download file 645 Bytes
-
https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/17/replication_package/code/run_all.py
- Command line
-
hf download hf://datasets/chuxuan/REPRO-Bench/17/replication_package/code/run_all.py
-
curl -L -o run_all.py https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/17/replication_package/code/run_all.py
645 Bytes
| ################### | |
| ### ENVIRONMENT ### | |
| ################### | |
| import git | |
| import imp | |
| import os | |
| import yaml | |
| # LOAD GSLAB MAKE | |
| ROOT = '.' | |
| ROOTDEEP = '../..' | |
| f, path, desc = imp.find_module('gslab_make', [os.path.join(ROOT, 'lib')]) | |
| gs = imp.load_module('gslab_make', f, path, desc) | |
| ########### | |
| ### RUN ### | |
| ########### | |
| ### RUN SCRIPTS | |
| #gs.run_module(root = ROOT, module = 'data/temptation') | |
| gs.run_module(root = ROOT, module = 'analysis/descriptive') | |
| gs.run_module(root = ROOTDEEP, module = 'analysis/treatment_effects') | |
| gs.run_module(root = ROOTDEEP, module = 'analysis/structural') | |
| #gs.run_module(root = ROOTDEEP, module = 'paper_slides') | |