.PHONY: all data benchmarks hmts simulation panel vintages revisions validation external figures tables paper test provenance PY ?= python3 all: data benchmarks hmts panel vintages revisions validation external simulation figures tables paper data: $(PY) scripts/01_extract_snapshot.py; $(PY) scripts/02_profile.py; $(PY) scripts/03_geography.py; $(PY) scripts/04_clean.py; $(PY) scripts/05_arrival_lags.py; $(PY) scripts/06_provenance_report.py benchmarks: $(PY) scripts/10_benchmarks.py hmts: $(PY) scripts/11_hmts.py simulation: $(PY) scripts/20_simulation.py --reps 80 --workers 12; $(PY) scripts/21_mc_summary.py panel: $(PY) scripts/30_panel.py vintages: $(PY) scripts/40_vintages.py revisions: $(PY) scripts/41_revisions.py validation: for c in repeat composition placebo moran bootstrap aggregation ablation trim; do $(PY) scripts/50_validation.py $$c; done external: $(PY) scripts/62_external.py figures: $(PY) scripts/60_figures.py tables: $(PY) scripts/61_tables.py paper: figures tables cd paper && latexmk -pdf -interaction=nonstopmode -halt-on-error main.tex test: $(PY) -m pytest -q tests provenance: $(PY) scripts/06_provenance_report.py