From 2a28dbab4d546a5df38e87c1cccfd8ec69e26de9 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 16 Jul 2026 20:14:13 -0400 Subject: [PATCH] Round-4 precision fixes: hosted claim carves out score_reform; .venv-og gets the CLI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sol's round-4 pass: the connect tool-inventory line overclaimed after the round-3 fix (score_reform is registered hosted but its OG arm is excluded and its OBR arm awaits the bridge) — now stated; the .venv-og recipe installs -e ./integration so the macromod executable it advertises actually exists there (base package pins no policyengine, so OG-UK's pins win in that env). Co-Authored-By: Claude Fable 5 --- connect/index.html | 2 +- integration/README.md | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/connect/index.html b/connect/index.html index 5a396a3..2c8d681 100644 --- a/connect/index.html +++ b/connect/index.html @@ -274,7 +274,7 @@

Using Codex?


on the server

-

Ten tools across the four engines: score_reform (a PolicyEngine reform — the same reform dict as the microsimulation tools — through a chosen macro model; OG-UK runs locally only, and the OBR bridge is in progress); obr_shock and list_reform_variables (OBR — raw variable shocks in model units); forecast_uk, latest_shocks, model_summary (SVAR); and calculate_household, household_reform_impact, list_reform_parameters, population_reform_impact (PolicyEngine). OG-UK scoring stays local-only (a solve takes tens of minutes, so the hosted server excludes it); every other tool above, including population-level reform scoring, runs on the hosted server. The server is serverless and scales to zero — the first call after a quiet spell takes ~10 seconds to wake.

+

Ten tools across the four engines: score_reform (a PolicyEngine reform — the same reform dict as the microsimulation tools — through a chosen macro model; OG-UK runs locally only, and the OBR bridge is in progress); obr_shock and list_reform_variables (OBR — raw variable shocks in model units); forecast_uk, latest_shocks, model_summary (SVAR); and calculate_household, household_reform_impact, list_reform_parameters, population_reform_impact (PolicyEngine). OG-UK scoring stays local-only (a solve takes tens of minutes, so the hosted server excludes it), and score_reform's OBR arm awaits the static-costing bridge (PolicyEngine/macro#9 — obr_shock covers raw shocks meanwhile); every other tool above, including population-level reform scoring, runs on the hosted server. The server is serverless and scales to zero — the first call after a quiet spell takes ~10 seconds to wake.

diff --git a/integration/README.md b/integration/README.md index 5bdb47f..b44fbe9 100644 --- a/integration/README.md +++ b/integration/README.md @@ -52,10 +52,13 @@ until [PSLmodels/OG-UK#68](https://github.com/PSLmodels/OG-UK/issues/68) lands: ```bash -uv venv .venv-og && uv pip install -p .venv-og/bin/python \ +uv venv .venv-og && uv pip install -p .venv-og/bin/python -e ./integration \ "oguk @ git+https://github.com/PSLmodels/OG-UK" ``` +(`-e ./integration` gives that env the `macromod` executable; the base +package pins no policyengine version, so OG-UK's own pins win there.) + ## CLI ```bash