Skip to content
Draft
Show file tree
Hide file tree
Changes from 88 commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
c0f61f3
added dagster_defs and dg.Dockerfile
jkislin Oct 7, 2025
c5c46ea
simplified names
jkislin Oct 7, 2025
08b1939
moved dagster to its own folder
jkislin Oct 7, 2025
842d7a4
dagster_defs.py a la sandbox; containerfile updates to include dagster
jkislin Oct 8, 2025
8996067
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 9, 2025
066894b
Merge branch 'main' into jk-dagster-sandbox
jkislin Oct 9, 2025
5307f58
quick fix to dagster_defs.py
Oct 14, 2025
6746820
some simplification for dagster. pending debugging tomorrow.
jkislin Oct 14, 2025
f2df9ef
Merge branch 'jk-dagster-sandbox' of https://github.com/CDCgov/pyrene…
jkislin Oct 14, 2025
3472034
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 14, 2025
631f982
tons of incremental updates toward a working dagster pyrenew-h. check…
jkislin Oct 16, 2025
38cd584
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 16, 2025
500df4d
blobfuse mounts in local dagster docker executor!
jkislin Oct 17, 2025
01c2497
pyrenew-h-output for now
jkislin Oct 21, 2025
d0e6947
Merge branch 'jk-dagster-sandbox' of https://github.com/CDCgov/pyrene…
jkislin Oct 21, 2025
884bb44
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 21, 2025
dbcf189
Merge branch 'main' of https://github.com/CDCgov/pyrenew-hew into jk-…
jkislin Oct 21, 2025
c5d9de6
Merge branch 'jk-dagster-sandbox' of https://github.com/CDCgov/pyrene…
jkislin Oct 21, 2025
947d34d
output subdir back to ./
jkislin Oct 21, 2025
60e9f6c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 21, 2025
07aa576
fix asset execution context
jkislin Oct 21, 2025
abd1ed4
Merge branch 'jk-dagster-sandbox' of https://github.com/CDCgov/pyrene…
jkislin Oct 21, 2025
aa03b33
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 21, 2025
5264571
pyrenew asset builder
jkislin Oct 21, 2025
125c4ff
An initial working example for pyrenew-hew!
jkislin Oct 29, 2025
f10171a
Merge branch 'jk-dagster-sandbox' of https://github.com/CDCgov/pyrene…
jkislin Oct 29, 2025
282c869
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 29, 2025
40ec05a
readme update and testing for the timeseries and batch executor
jkislin Nov 3, 2025
9235f55
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 3, 2025
2609614
blobfuse refinements
jkislin Nov 3, 2025
1082032
switch to docker executor for testing
jkislin Nov 3, 2025
499a753
caj executor docker image tag
jkislin Nov 4, 2025
bf1116e
fixed batch executor source volumes
jkislin Nov 4, 2025
d23d306
updated docker executor to also user username versioned tags
jkislin Nov 4, 2025
8f57a82
reverting to batch executor for testing
jkislin Nov 4, 2025
5ba84d3
Success! Batch Executor works
jkislin Nov 4, 2025
82a762e
some mount cleanup
jkislin Nov 21, 2025
e981428
update definitions
jkislin Nov 25, 2025
e6c9b09
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 25, 2025
c3369d9
remove unnecessary commented and redundant code
jkislin Dec 2, 2025
bf6a20d
Merge branch 'main' of https://github.com/CDCgov/pyrenew-hew into jk-…
jkislin Dec 2, 2025
d615505
adding env variables for Azure Command Center
jkislin Dec 2, 2025
3da4c81
allow different models to have different partitions
jkislin Dec 2, 2025
40a72cb
an attempt at clean venv separation between pyrenew and dagster
jkislin Dec 2, 2025
b8d1f1a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 2, 2025
74cd8a7
Merge branch 'main' into jk-dagster-sandbox
jkislin Dec 4, 2025
a3d891d
simplified blobfuse
jkislin Dec 4, 2025
e3f1a2b
Merge branch 'jk-dagster-sandbox' of https://github.com/CDCgov/pyrene…
jkislin Dec 4, 2025
eaaf510
merged the dagster and project dependencies together
jkislin Dec 5, 2025
b2415d3
Merge branch 'main' of https://github.com/CDCgov/pyrenew-hew into jk-…
jkislin Dec 5, 2025
1a77853
new dagster_defs with precommit run
jkislin Dec 5, 2025
93f7e7b
Merge branch 'main' into jk-dagster-sandbox
jkislin Dec 9, 2025
df0d8ed
partition definitions are all the same; we exclude in runs themselves…
jkislin Dec 10, 2025
c592804
Merge branch 'jk-dagster-sandbox' of https://github.com/CDCgov/pyrene…
jkislin Dec 10, 2025
612cff9
Merge branch 'main' of https://github.com/CDCgov/pyrenew-hew into jk-…
jkislin Dec 10, 2025
21f1d9f
preparing for central code location usage; updated cfa dagster
jkislin Dec 11, 2025
59781de
readme, github actions, makefile
jkislin Dec 11, 2025
aa67bb3
Merge branch 'main' into jk-dagster-sandbox
jkislin Dec 11, 2025
7b49243
Update blobfuse/README.md
jkislin Dec 11, 2025
b7190ae
Update Makefile
jkislin Dec 11, 2025
dc1d8cb
replaced ignoring dagster_defs.py with ruff format off for a single c…
jkislin Dec 11, 2025
89e8a59
Merge branch 'jk-dagster-sandbox' of https://github.com/CDCgov/pyrene…
jkislin Dec 11, 2025
c28c60f
Apply suggestion from @Copilot
jkislin Dec 11, 2025
30ead07
images
jkislin Dec 11, 2025
1ad893f
Merge branch 'main' into jk-dagster-sandbox
jkislin Dec 12, 2025
09e0670
add context to run_pyrenew_model calls
jkislin Dec 12, 2025
5e8f858
Merge branch 'jk-dagster-sandbox' of https://github.com/CDCgov/pyrene…
jkislin Dec 12, 2025
d7fa6de
Merge branch 'main' into jk-dagster-sandbox
jkislin Dec 16, 2025
f122cff
table now shows storage container outputs will be written to
jkislin Dec 16, 2025
92d5cd4
environment name / test flag interoperability
jkislin Dec 16, 2025
6a9fba9
acc target in makefile; smarter symlink and env variable handling in …
jkislin Dec 16, 2025
01a4e73
setup_job and makefile now support custom image registries and versio…
jkislin Dec 16, 2025
b285458
ruff format
jkislin Dec 16, 2025
8c44f9b
just use pyrenew-pool
jkislin Dec 16, 2025
d9b8196
excluded WY from e jobs and only include COVID-19 for w jobs - Makefi…
jkislin Dec 16, 2025
e834203
add container app job run launcher functionality for the remote code …
jkislin Dec 18, 2025
5ae88b3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 18, 2025
a7e97b0
added azure container app job run launcher to imports
jkislin Dec 18, 2025
698dc04
Merge branch 'jk-dagster-sandbox' of https://github.com/CDCgov/pyrene…
jkislin Dec 18, 2025
1718234
fixed syntax error
jkislin Dec 18, 2025
529bbdf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 18, 2025
6671399
model_letters and model_family are now keyword arguments, context is …
jkislin Dec 18, 2025
a066d20
update-dagster-code action fixes. testing now
jkislin Dec 18, 2025
349534b
README updates for github actions workflow and makefile
jkislin Dec 18, 2025
85c7181
commented azure container app job run launcher
jkislin Dec 18, 2025
4493b83
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 18, 2025
1d5ff32
update cron to match pyrenew-cron (mostly)
jkislin Dec 18, 2025
8abda68
Merge branch 'jk-dagster-sandbox' of https://github.com/CDCgov/pyrene…
jkislin Dec 18, 2025
31414d8
stripped _output from the assets for better readability
jkislin Dec 19, 2025
c627b84
pipeline instructions revamp
jkislin Dec 19, 2025
02b66c3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 19, 2025
76cf80e
remove pr trigger for dagster code updates
jkislin Dec 19, 2025
13db45d
Merge branch 'jk-dagster-sandbox' of https://github.com/CDCgov/pyrene…
jkislin Dec 19, 2025
ab76670
Merge branch 'main' of https://github.com/CDCgov/pyrenew-hew into jk-…
jkislin Dec 19, 2025
a5eb4ac
fix makefile phony
jkislin Dec 19, 2025
fef5226
added config to launchpad - you can specify runs
jkislin Dec 19, 2025
a716730
added basic config for launchpad
jkislin Dec 19, 2025
3c8bca1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 19, 2025
b9f2085
Update README.md
jkislin Dec 19, 2025
1a076c3
Merge branch 'main' into jk-dagster-sandbox
jkislin Dec 23, 2025
df8d7f0
Update dagster_defs.py
jkislin Dec 24, 2025
7040ced
Update README.md
jkislin Dec 24, 2025
1f2e32d
fixed link to 'pipelines'
jkislin Dec 24, 2025
3186dc5
Cleaned up containerfile comments and structure
jkislin Dec 24, 2025
a5d6df9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 24, 2025
fedc440
Some formatting updates for partition definitions
jkislin Dec 30, 2025
1d11d33
Merge branch 'jk-dagster-sandbox' of https://github.com/CDCgov/pyrene…
jkislin Dec 30, 2025
4b25ebd
Merge branch 'main' into jk-dagster-sandbox
dylanhmorris Jan 5, 2026
10cde26
Merge branch 'main' into jk-dagster-sandbox
jkislin Jan 6, 2026
eb1b4dc
fixed container_tag in the makefile
jkislin Jan 6, 2026
8ffea8a
ruff fixes
jkislin Jan 6, 2026
599ae6b
template from county-rt for launching asset backfills - workaround fo…
jkislin Jan 7, 2026
862d987
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 7, 2026
8a94a8e
basic weekly run config, doesnt do anything yet
jkislin Jan 7, 2026
be21592
basic weekly run config, doesnt do anything yet
jkislin Jan 7, 2026
6cb4b1a
Merge branch 'jk-dagster-sandbox' of https://github.com/CDCgov/pyrene…
jkislin Jan 7, 2026
e7a75f7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 7, 2026
18ed7d8
launch pipeline function written that can run scheduled full-pipeline…
jkislin Jan 8, 2026
251cc82
Merge branch 'jk-dagster-sandbox' of https://github.com/CDCgov/pyrene…
jkislin Jan 8, 2026
bb860b4
ruff edits
jkislin Jan 8, 2026
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
1 change: 1 addition & 0 deletions .containerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Containerfile
nssp_demo/private_data
notebooks
mounts/
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Containerfile
nssp_demo/private_data
notebooks
mounts
27 changes: 27 additions & 0 deletions .github/workflows/update-dagster-code.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy Dagster Code

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
run:
runs-on: ubuntu-latest
environment: production
name: Update Dagster Code Location
steps:
- name: Run update script with cfa runner-action
uses: CDCgov/cfa-actions/[email protected]
with:
github_app_id: ${{ secrets.REPO_CDCENT_ACTOR_APP_ID }}
github_app_pem: ${{ secrets.REPO_CDCENT_ACTOR_APP_PEM }}
script: |
echo "Running update script"
uv run \
https://raw.githubusercontent.com/CDCgov/cfa-dagster/refs/heads/main/scripts/update_code_location.py \
--registry_image cfaprdbatchcr.azurecr.io/pyrenew-hew:dagster_latest
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
*.gif
*.pdf
*.png
# except when in img/ folder
!img/*.png

# Compressed archives
*.gz
Expand Down Expand Up @@ -401,7 +403,16 @@ nssp-etl
output
params
nwss-vintages
mounts
prod-param-estimates
pyrenew-hew-config
pyrenew-hew-prod-output
pyrenew-test-output
test-output

# Azure configuration files
azureconfig.env
azureconfig.sh

# blobfuse
config.yaml
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ repos:
- id: ruff-check
# Run the formatter
- id: ruff-format
#####extra
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.9.17
hooks:
Expand Down
34 changes: 27 additions & 7 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#syntax=docker/dockerfile:1-labs

FROM rocker/tidyverse
FROM rocker/tidyverse:4.5.1

ARG GIT_COMMIT_SHA
ENV GIT_COMMIT_SHA=$GIT_COMMIT_SHA
Expand All @@ -11,23 +11,43 @@ ENV GIT_BRANCH_NAME=$GIT_BRANCH_NAME
ENV XLA_FLAGS=--xla_force_host_platform_device_count=4

COPY ./hewr /pyrenew-hew/hewr

WORKDIR /pyrenew-hew

# install hewr dependencies
RUN Rscript -e "install.packages('pak')"
RUN Rscript -e "pak::pkg_install('cmu-delphi/epiprocess@main')"
RUN Rscript -e "pak::pkg_install('cmu-delphi/epipredict@main')"
RUN Rscript -e "pak::local_install('hewr', upgrade = FALSE)"

COPY --exclude=pipelines/priors . .
COPY pipelines/priors pipelines/priors

#
# Python from https://docs.astral.sh/uv/guides/integration/docker/
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
# Some handy uv environment variables
ENV UV_COMPILE_BYTECODE=1
ENV UV_LINK_MODE=copy
ENV UV_PYTHON_CACHE_DIR=/root/.cache/uv/python

RUN --mount=type=cache,target=/root/.cache/uv \
uv sync
# copy in the project files
COPY ./pyrenew_hew ./pyrenew_hew
COPY ./pipelines ./pipelines
COPY ./tests ./tests
COPY README.md ./
COPY ./pyproject.toml ./
COPY ./uv.lock ./
COPY ./.python-version ./

# VENV MANAGEMENT AND DEPENDENCY SYNCING

# Create the Pyrenew-Hew venv and sync dependencies from pyproject.toml
RUN uv venv .venv
RUN --mount=type=cache,target=/root/.cache/uv
# Set VIRTUAL_ENV variable at runtime to choose which venv to activate
# By default we'll do the main pyrenew-hew venv
ENV VIRTUAL_ENV=/pyrenew-hew/.venv
RUN uv sync

# Copy in the dagster defs
COPY ./dagster_defs.py ./

# Update PATH to use the selected venv
ENV PATH="${VIRTUAL_ENV}/bin:$PATH"
132 changes: 106 additions & 26 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
.PHONY: help container_build container_tag ghcr_login container_push run_timeseries run_e_model run_h_models post_process
.PHONY: help container_build CONTAINER_IMAGE_VERSION ghcr_login container_push run_timeseries run_e_model run_h_models post_process run_he_model run_hw_model acc mount unmount config dagster dagster_build dagster_push

# Build parameters

ifndef ENGINE
ENGINE = docker
endif

ifndef CONTAINER_NAME
CONTAINER_NAME = pyrenew-hew
ifndef CONTAINER_REGISTRY
CONTAINER_REGISTRY = ghcr.io/cdcgov
endif

ifndef CONTAINERFILE
CONTAINERFILE = Containerfile
ifndef CONTAINER_IMAGE_NAME
CONTAINER_IMAGE_NAME = pyrenew-hew
endif

ifndef CONTAINER_IMAGE_VERSION
CONTAINER_IMAGE_VERSION = latest
endif

ifndef CONTAINER_REMOTE_NAME
CONTAINER_REMOTE_NAME = ghcr.io/cdcgov/$(CONTAINER_NAME):latest
CONTAINER_REMOTE_NAME = $(CONTAINER_REGISTRY)/$(CONTAINER_IMAGE_NAME):$(CONTAINER_IMAGE_VERSION)
endif

ifndef CONTAINERFILE
CONTAINERFILE = Containerfile
endif

# Model Fit Parameters
Expand Down Expand Up @@ -47,13 +55,22 @@ endif
help:
@echo "Usage: make [target] [ARGS]"
@echo ""

@echo "Blobfuse Mount Targets: "
@echo " mount : Mount blob storage containers using blobfuse2"
@echo " unmount : Unmount blob storage containers and clean up"
@echo ""
@echo "Container Build Targets: "
@echo " container_build : Build the container image"
@echo " container_tag : Tag the container image"
@echo " dagster : Run dagster definitions locally"
@echo " dagster_build : Build the dagster container image"
@echo " dagster_push : Push the dagster container image to the Azure Container Registry and code location"
@echo " CONTAINER_IMAGE_VERSION : Tag the container image"
@echo " ghcr_login : Log in to the Github Container Registry. Requires GH_USERNAME and GH_PAT env vars"
@echo " container_push : Push the container image to the Azure Container Registry"
@echo ""
@echo "Model Fit Targets: "
@echo " acc : Run the Azure Command Center for routine production jobs"
@echo " run_timeseries : Run the timeseries model fit job"
@echo " run_e_model : Run an e model fit job"
@echo " run_h_models : Run an h model fit job"
Expand All @@ -73,104 +90,167 @@ help:
@echo ""
@echo "To run the pyrenew-hew model and output to pyrenew-test-output:"
@echo " make run_hew_model TEST=True MODEL_LETTERS=hew"
@echo "To use a custom container registry, image, and tag:"
@echo " make run_hew_model CONTAINER_REGISTRY=<custom_registry> CONTAINER_IMAGE_NAME=<custom_image> CONTAINER_IMAGE_VERSION=<custom_tag>"
@echo ""
@echo "Any additional flags can be passed with ARGS, for example:"
@echo " make run_hew_model ARGS=\"--locations-include 'NY GA'\""
@echo ""
@echo "Passing a flag through ARGS will also override the flags set previously."

#------------------------ #
# Blobfuse Mount Targets
# ----------------------- #

mount:
sudo bash -c "source ./blobfuse/mount.sh"

unmount:
sudo bash -c "source ./blobfuse/cleanup.sh"

# ----------------------- #
# Container Build Targets
# ----------------------- #

container_build: ghcr_login
$(ENGINE) build . -t $(CONTAINER_NAME) -f $(CONTAINERFILE)
$(ENGINE) build . -t $(CONTAINER_IMAGE_NAME) -f $(CONTAINERFILE)

dagster_build:
docker build -t cfaprdbatchcr.azurecr.io/pyrenew-hew:dagster_latest -f Containerfile .

container_tag:
$(ENGINE) tag $(CONTAINER_NAME) $(CONTAINER_REMOTE_NAME)
dagster_push: dagster_build
az login --identity && \
az acr login -n cfaprdbatchcr && \
docker push "cfaprdbatchcr.azurecr.io/pyrenew-hew:dagster_latest" && \
uv run https://raw.githubusercontent.com/CDCgov/cfa-dagster/refs/heads/main/scripts/update_code_location.py \
--registry_image "cfaprdbatchcr.azurecr.io/pyrenew-hew:dagster_latest"

dagster:
uv run dagster_defs.py

CONTAINER_IMAGE_VERSION:
$(ENGINE) tag $(CONTAINER_IMAGE_NAME) $(CONTAINER_REMOTE_NAME)

ghcr_login:
echo $(GH_PAT) | $(ENGINE) login ghcr.io -u $(GH_USERNAME) --password-stdin

container_push: container_tag ghcr_login
container_push: CONTAINER_IMAGE_VERSION ghcr_login
$(ENGINE) push $(CONTAINER_REMOTE_NAME)

config:
bash -c "source ./azureconfig.sh"

# ---------------- #
# Model Fit Targets
# ---------------- #

run_timeseries:
acc: mount config
uv run pipelines/azure_command_center.py

# Auto-set TEST/ENVIRONMENT based on each other
ifeq ($(shell echo $(ENVIRONMENT) | tr A-Z a-z),test)
override TEST = True
endif
ifeq ($(shell echo $(TEST) | tr A-Z a-z),true)
override ENVIRONMENT = test
endif

run_timeseries: config
uv run python pipelines/batch/setup_job.py \
--model-family timeseries \
--output-subdir "${FORECAST_DATE}_forecasts" \
--model-letters "e" \
--job-id "pyrenew-e-${ENVIRONMENT}_${FORECAST_DATE}_t" \
--locations-exclude "WY" \
--job-id "timeseries-e-${ENVIRONMENT}_${FORECAST_DATE}_makefile" \
--pool-id pyrenew-pool \
--test "$(TEST)" \
--dry-run "$(DRY_RUN)" \
--container-registry "$(CONTAINER_REGISTRY)" \
--container-image-name "$(CONTAINER_IMAGE_NAME)" \
--container-image-version "$(CONTAINER_IMAGE_VERSION)" \
$(ARGS)

run_e_model:
run_e_model: config
uv run python pipelines/batch/setup_job.py \
--model-family pyrenew \
--output-subdir "${FORECAST_DATE}_forecasts" \
--model-letters "e" \
--job-id "pyrenew-e-${ENVIRONMENT}_${FORECAST_DATE}" \
--locations-exclude "WY" \
--job-id "pyrenew-e-${ENVIRONMENT}_${FORECAST_DATE}_makefile" \
--pool-id pyrenew-pool \
--rng-key "$(RNG_KEY)" \
--test "$(TEST)" \
--dry-run "$(DRY_RUN)" \
--container-registry "$(CONTAINER_REGISTRY)" \
--container-image-name "$(CONTAINER_IMAGE_NAME)" \
--container-image-version "$(CONTAINER_IMAGE_VERSION)" \
$(ARGS)

run_h_model:
run_h_model: config
uv run python pipelines/batch/setup_job.py \
--model-family pyrenew \
--output-subdir "${FORECAST_DATE}_forecasts" \
--model-letters "h" \
--job-id "pyrenew-h-${ENVIRONMENT}_${FORECAST_DATE}" \
--job-id "pyrenew-h-${ENVIRONMENT}_${FORECAST_DATE}_makefile" \
--pool-id pyrenew-pool \
--rng-key "$(RNG_KEY)" \
--test "$(TEST)" \
--dry-run "$(DRY_RUN)" \
--container-registry "$(CONTAINER_REGISTRY)" \
--container-image-name "$(CONTAINER_IMAGE_NAME)" \
--container-image-version "$(CONTAINER_IMAGE_VERSION)" \
$(ARGS)

run_he_model:
run_he_model: config
uv run python pipelines/batch/setup_job.py \
--model-family pyrenew \
--output-subdir "${FORECAST_DATE}_forecasts" \
--model-letters "he" \
--job-id "pyrenew-he-${ENVIRONMENT}_${FORECAST_DATE}" \
--locations-exclude "WY" \
--job-id "pyrenew-he-${ENVIRONMENT}_${FORECAST_DATE}_makefile" \
--pool-id pyrenew-pool \
--rng-key "$(RNG_KEY)" \
--test "$(TEST)" \
--dry-run "$(DRY_RUN)" \
--container-registry "$(CONTAINER_REGISTRY)" \
--container-image-name "$(CONTAINER_IMAGE_NAME)" \
--container-image-version "$(CONTAINER_IMAGE_VERSION)" \
$(ARGS)

run_hw_model:
run_hw_model: config
uv run python pipelines/batch/setup_job.py \
--model-family pyrenew \
--output-subdir "${FORECAST_DATE}_forecasts" \
--model-letters "hw" \
--job-id "pyrenew-hw-${ENVIRONMENT}_${FORECAST_DATE}" \
--pool-id pyrenew-pool-32gb \
--diseases "COVID-19" \
--job-id "pyrenew-hw-${ENVIRONMENT}_${FORECAST_DATE}_makefile" \
--pool-id pyrenew-pool \
--rng-key "$(RNG_KEY)" \
--test "$(TEST)" \
--dry-run "$(DRY_RUN)" \
--container-registry "$(CONTAINER_REGISTRY)" \
--container-image-name "$(CONTAINER_IMAGE_NAME)" \
--container-image-version "$(CONTAINER_IMAGE_VERSION)" \
$(ARGS)

run_hew_model:
run_hew_model: config
uv run python pipelines/batch/setup_job.py \
--model-family pyrenew \
--output-subdir "${FORECAST_DATE}_forecasts" \
--model-letters "hew" \
--job-id "pyrenew-hew-${ENVIRONMENT}_${FORECAST_DATE}" \
--pool-id pyrenew-pool-32gb \
--locations-exclude "WY" \
--diseases "COVID-19" \
--job-id "pyrenew-hew-${ENVIRONMENT}_${FORECAST_DATE}_makefile" \
--pool-id pyrenew-pool \
--rng-key "$(RNG_KEY)" \
--test "$(TEST)" \
--dry-run "$(DRY_RUN)" \
--container-registry "$(CONTAINER_REGISTRY)" \
--container-image-name "$(CONTAINER_IMAGE_NAME)" \
--container-image-version "$(CONTAINER_IMAGE_VERSION)" \
$(ARGS)

post_process:
post_process: config
uv run python pipelines/postprocess_forecast_batches.py \
--input "./blobfuse/mounts/pyrenew-hew-prod-output/${FORECAST_DATE}_forecasts" \
--output "./blobfuse/mounts/nssp-etl/gold/${FORECAST_DATE}_forecasts.parquet" \
Expand Down
Loading
Loading