# UQO WP 24 — From Labor to Capital. One-command reproduction: `make all` PY ?= python3 -W ignore N ?= 8 .PHONY: all setup test data benchmark scenarios ha figures tables paper slides clean-results clean all: test benchmark scenarios ha figures tables paper setup: $(PY) -m pip install -r requirements.txt test: $(PY) -m pytest tests -q data: python3 -I scripts/01_download_data.py python3 -I scripts/02_build_calibration_targets.py benchmark: $(PY) scripts/10_benchmark.py $(PY) scripts/11_regime_map.py scenarios: scripts/21_run_all_scenarios.sh $(N) ha: $(PY) scripts/30_ha_equilibrium.py baseline $(PY) scripts/30_ha_equilibrium.py no_ai $(PY) scripts/30_ha_equilibrium.py citizen_fund_20 $(PY) scripts/31_ha_figures.py figures: $(PY) scripts/40_figures.py tables: $(PY) scripts/50_tables.py cp results/figures/*.pdf paper/figures/ cp results/tables/*.tex paper/tables/ paper: tables cd paper && latexmk -pdf main.tex slides: cd slides && latexmk -pdf main.tex clean-results: rm -rf results/scenarios/* results/ha/* results/figures/* results/tables/* clean: cd paper && latexmk -C; cd ../slides && latexmk -C