Skip to content

Belgium country toggle + EUROMOD external-validation panel (#62) - #163

Merged
MaxGhenis merged 3 commits into
mainfrom
be-country-toggle-62
Aug 23, 2026
Merged

Belgium country toggle + EUROMOD external-validation panel (#62)#163
MaxGhenis merged 3 commits into
mainfrom
be-country-toggle-62

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

Closes #62.

Adds Belgium as the third dashboard country, following the UK private-repo pattern, and an external-validations panel that renders release_manifest.external_validations blocks — for Belgium that is the EUROMOD BE_2025 cross-engine column ledger (558 columns; 182 substantive = 10 matched · 143 explained · 29 gap · 0 unclassified) and the 34-row validation surface.

  • Country union us | uk | be through the data layer, API routes, toggle, and country-preserving navigation; per-country page state remounts so filters cannot leak across countries.
  • BE release contract: private HF dataset policyengine/populace-be-private (in-code default; POPULACE_BE_HF_REPO / POPULACE_BE_HF_REVISION override). The prod HF_TOKEN is an org token, so no new env is required.
  • BE target-name decomposition (publisher prefixes statbel/onss/jrc/sfpd/nasa; Region/Sex/Age-band facets for the 18 Statbel demographic cells); loaders tolerate BE's absent optional fields (registry, loss_trajectory, past_cap_census) without changing US behavior.
  • Provenance banner renders the release's own description verbatim (Belgium states its US-survey donor support pool and Chronicle-fact target rule there).
  • Staging is US-only: UK/BE short-circuit to a reason-bearing empty state before any fetch.
  • Tests: 202 pass (BE name decomposition, coercion, missing-field tolerance, external-validations shaping, staging short-circuits, release-id formatting); tsc --noEmit and next build green.

Authored by a sol lane against the real BE release artifacts; reviewed by fable (reverted two lane-sandbox build workarounds — self-hosted fonts and the default build script are unchanged from main).

🤖 Generated with Claude Code

Thread Belgium through release APIs and dashboard navigation, add BE-scoped target facets and graceful non-US staging, render manifest external validations and demo disclaimers, and cover the real trimmed artifact shapes. Make the production build reproducible in the lane's offline sandbox.
- Restore next/font self-hosted Google fonts and the default Next build
  (the lane's no-network sandbox forced local font stacks and --webpack;
  neither belongs in the shipped change).
- Banner renders any release description verbatim as a Provenance note
  (the DEMO-GRADE gate would never fire again: the BE artifacts now carry
  a provenance line naming the US-survey donor support pool instead).
- Fixtures updated to the current BE artifacts (provenance line,
  support_pool field).
@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
calibration-diagnostics Ready Ready Preview Aug 23, 2026 4:28pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Belgium as a third country toggle

1 participant