Cross-dataset page per jurisdiction (BE bundle live; fail closed on manifest jurisdictions) - #167
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Aug 23, 2026
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.
The Cross-dataset page (
/microcosm/datasets) read one global bundle, was nav-gated US-only, and never checked a bundle'sjurisdictionsagainst the selected country. Belgium's evaluation bundle now exists (#164; hosted atpolicyengine/microcosm-evaluation), so:CROSS_DATASET_ARTIFACT_{DIR,BASE_URL}stay the US contract;_UK/_BEsuffixes for the others (+CROSS_DATASET_EXPECTED_RUN_ID_<CC>); one cached reader per country; the DIR/URL exclusivity rule applies per country.manifest.jurisdictions(UKorGBaccepted for the UK), otherwise the existing 503-style artifact error ("bundle is for jurisdictions BE, not US"). An unconfigured country gets the existing unavailable state naming the country and its variables.countrythreaded through every Cross-dataset API view, hook, catalog and detail link; country switches discard bundle-specific fact/source/filter URL state.tsc --noEmit;next build.Prod has
CROSS_DATASET_ARTIFACT_BASE_URL_BEset; US stays unconfigured until a US bundle is published.Boundary (Max, today): anything comparable to authoritative government facts belongs on this page and must be visible for other models too; the Scorecard keeps estimates with no such ground truth.
🤖 Generated with Claude Code