Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all format test test-unit test-integration install download upload docker documentation data validate-data calibrate calibrate-build publish-local-area upload-calibration upload-dataset push-to-modal build-data-modal build-matrices calibrate-modal calibrate-modal-national calibrate-both stage-h5s stage-national-h5 stage-all-h5s pipeline validate-staging validate-staging-full upload-validation check-staging check-sanity clean build paper clean-paper presentations database database-refresh promote-dataset promote build-h5s validate-local refresh-soi-targets push-pr-branch
.PHONY: all format test test-unit test-integration install download upload docker documentation data validate-data calibrate calibrate-build publish-local-area upload-calibration upload-dataset push-to-modal build-data-modal build-matrices calibrate-modal calibrate-modal-national calibrate-both stage-h5s stage-national-h5 stage-all-h5s pipeline validate-staging validate-staging-full upload-validation check-staging check-sanity clean build paper clean-paper presentations database database-refresh promote-dataset promote build-h5s validate-local refresh-soi-targets push-pr-branch benchmarking-install-python benchmarking-install-r benchmarking-export benchmarking-run-l0 benchmarking-run-greg benchmarking-run-ipf

SOI_SOURCE_YEAR ?= 2021
SOI_TARGET_YEAR ?= 2023
Expand All @@ -13,6 +13,8 @@ BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
NUM_WORKERS ?= 8
N_CLONES ?= 430
VERSION ?=
MANIFEST ?=
RUN_DIR ?=
SOI_SOURCE_YEAR ?= 2021
SOI_TARGET_YEAR ?= 2023

Expand All @@ -37,6 +39,32 @@ install:
pip install policyengine-us
pip install -e ".[dev]" --config-settings editable_mode=compat

benchmarking-install-python:
pip install -r paper-l0/benchmarking/requirements-python.txt

benchmarking-install-r:
Rscript paper-l0/benchmarking/install_r_packages.R

benchmarking-export:
python paper-l0/benchmarking/benchmark_cli.py export \
--manifest $(MANIFEST) \
--output-dir $(RUN_DIR)

benchmarking-run-l0:
python paper-l0/benchmarking/benchmark_cli.py run \
--method l0 \
--run-dir $(RUN_DIR)

benchmarking-run-greg:
python paper-l0/benchmarking/benchmark_cli.py run \
--method greg \
--run-dir $(RUN_DIR)

benchmarking-run-ipf:
python paper-l0/benchmarking/benchmark_cli.py run \
--method ipf \
--run-dir $(RUN_DIR)

changelog:
python .github/bump_version.py
towncrier build --yes --version $$(python -c "import re; print(re.search(r'version = \"(.+?)\"', open('pyproject.toml').read()).group(1))")
Expand Down
35 changes: 35 additions & 0 deletions paper-l0/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
.*.lb
*.nav
*.snm
*.vrb

## Generated if empty string is given at "Please type another file name for output:"
.pdf

## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml

## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
Loading
Loading