Connect every model page to the microsimulation scoring pipeline - #142
Open
vahid-ahmadi wants to merge 4 commits into
Open
Connect every model page to the microsimulation scoring pipeline#142vahid-ahmadi wants to merge 4 commits into
vahid-ahmadi wants to merge 4 commits into
Conversation
- Pipeline strip (reform → pe-microsim → obr-macro → score) on /score and /models - /pe declares itself the hub and links to /score - /olg body now describes the two-way micro coupling incl. og+microsim - /svar, /frb-us, /us-hank callouts route to /pe and /score with the reason no bridge exists - Homepage gains a Score-a-reform strategy card; /connect gains the score CLI command and a /score link; /economy ties the baseline to scoring and the forecast record Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- score.py picks the newest boe-svar round instead of hardcoding 2026-07-21; §03 names the displayed round and explains the surge-sample mean reversion behind the sticky CPI path; §02 states the error-sign convention - us-hank: 'It cannot' callout becomes a bullet list - connect: centered client tabs, full-width hero lede, compact Python picker - forecasts charts widen to 1080px Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Integration: - EconomicAssumptions.from_frbus_result / from_hank_result: annual-mean wage(+hours/labor) deviations become a pre-tax earnings factor with the OG overlay's double-counting invariant and plausibility gates - frbus_shock_incidence, hank_shock_incidence, svar_inflation_incidence: reform-free automatic-stabilizer incidence via _pe_population_incidence; score_reform refusals unchanged, now pointing at the incidence tools - hank_shock surfaces the pre-tax real wage w and labor N IRFs - svar_inflation_incidence prices the SVAR-vs-EFO CPI gap through a curated slice of CPI-uprated benefits (validated run: +0.94pp gap -> GBP 0.09bn in 2028, gains in deciles 2-5) - frbus_payload/hank_payload two-process escape hatches (8GB hosts jetsam-kill the combined solve+microsim process); CLI flags to match - 30 unit tests; full suite 245 passed Website: - DEFINE-UK added as model 07 (experimental, pre-validation; unlicensed upstream run unmodified at a pinned commit via PolicyEngine/define-uk-model) - /svar, /frb-us, /us-hank gain incidence examples; /pe and /score describe the macro-to-micro return direction; counts six -> seven Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ero steady state raises instead of omitting; stale connect comment Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
An audit found the micro→macro plumbing already exists in
integration/(score_reformwith the OBR static-costing bridge and the two-way OLG coupling), but the website barely tells that story: no pipeline visual anywhere, /pe never linked to /score, /olg's body never mentioned the microsim, and /us-hank had zero cross-model links.What
.pipelinecomponent, shown on /score and inside the /models scoring Q&A.og+microsimdynamic scoring back out.pe-macro scoreCLI card and a /score link.All
site_contract.pychecks andsite_nav.pypass.🤖 Generated with Claude Code