Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rg route is live Public links go to policyengine.org, never a hosting address, and when the policyengine.org route isn't live the link is held rather than swapped for another hosting address. policyengine.org/us/calibration-diagnostics returns 404 today, so README.md keeps calibration-diagnostics.vercel.app/populace. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The generic fragment said the stack was renamed "throughout docs, comments and code", which claims more than this diff does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Finish the Microcosm rename while preserving certified release identifiers and existing public imports.
Counts
Counts compare
origin/main(57b5870) with the completed branch HEAD. Mentions are case-insensitive occurrences fromgit grep -I -i -o populace; filenames alone are not mentions.The classification TSV preserves and corrects the earlier lane's rows and now covers every original occurrence: 56 P, 70 C, 1 D, 709 R and 78 H. Another 45 rows explicitly identify new HEAD occurrences: 42 compatibility names/markers and 3 frozen producer-label assertions. Original rows use
origin/mainline numbers; new rows use completed HEAD line numbers.What changed
MicrocosmBelgiumDataset,MicrocosmDataProducerCertificationStrategyandMICROCOSM_*source constants. Updated internal references and preserved every prior public import with a marked alias.MICROCOSM_BE_DATASET, with a lazy fallback to the prior environment variable. Added regression tests for public imports, producer labels and environment precedence.7734c12(initial prose rename),2cfd72a(changelog fragment),ca1b1bf(restore the required hosting link),7b1f29f(finish code/prose renames and add compatibility coverage), and06d7897(fragment text).Left as is
No actionable P or unaliased C occurrences remain. No mapping line was added. The certified manifest, TRACE sidecars, released changelog and JSON/JCS evidence fixtures are byte-identical to
origin/main(39 files checked).Compat aliases
All aliases are marked
compat: populace alias, remove after 6.16.1. Release 6.16.1 is the next release inferred by.github/bump_version.pyfrom the existing.changed.mdfragment.PopulaceBelgiumDatasetMicrocosmBelgiumDatasetpolicyengine.tax_benefit_models.be,.be.datasets,.be.model; package__all__PopulaceDataProducerCertificationStrategyMicrocosmDataProducerCertificationStrategypolicyengine.provenance.certificationPOPULACE_US_SOURCE_COVERAGE_FILEMICROCOSM_US_SOURCE_COVERAGE_FILEpolicyengine.provenance.certificationPOPULACE_DATA_PACKAGESMICROCOSM_DATA_PACKAGESpolicyengine.provenance.certificationPOPULACE_RELEASE_REPOSMICROCOSM_RELEASE_REPOSpolicyengine.provenance.certificationPOPULACE_US_2024_ACS_LOCAL_BUILD_OMICROCOSM_US_2024_ACS_LOCAL_BUILD_Opolicyengine.tax_benefit_models.us.legacy_spm.registryPOPULACE_US_2024_ACS_LOCAL_MICROCOSM_1263MICROCOSM_US_2024_ACS_LOCAL_MICROCOSM_1263policyengine.tax_benefit_models.us.legacy_spm.registryPOPULACE_BE_DATASETMICROCOSM_BE_DATASETexamples/belgium_axiom_pilot.py; new environment variable winsThe CLI value
--data-producer populaceis R, because it is written into certified manifests. It remains unchanged rather than becoming a new dataset/producer alias.Tests
All pytest runs were serial; at most two pytest runners ran concurrently. Completed focused selections recorded 487 passing tests and 4 optional skips. The access and timeout failures below also reproduce on the unchanged baseline. The normal 18-file regression command below was interrupted twice before collection completed because pinned country-model initialization spent several minutes recursively importing US variable modules and loading parameter YAML. These are incomplete checks, not test passes. A retry using only
POLICYENGINE_SKIP_COUNTRY_IMPORTS=1also stopped during country fixture imports; focused runs use--noconftestas well and tests with self-contained fixtures.UV_CACHE_DIR=/private/tmp/policyengine-rename-uv-cache UV_PYTHON_INSTALL_DIR=/private/tmp/policyengine-rename-uv-python uv sync --all-extras: passed in about 4 minutes. The initial default-cache attempt was denied by the workspace sandbox; retrying with a writable cache succeeded. Dependency pins and lockfile are unchanged.POLICYENGINE_SKIP_COUNTRY_IMPORTS=1 .venv/bin/python -m pytest --noconftest tests/test_microcosm_compatibility.py tests/test_be_axiom_pilot.py -k 'not registry' -q: 25 passed, 4 optional source-stack tests skipped, 2 registry cases deselected; the actual registry module was validated separately below.POLICYENGINE_SKIP_COUNTRY_IMPORTS=1 .venv/bin/python -m pytest --noconftest tests/test_dataset_materialization.py tests/test_dataset_source.py tests/test_bundle.py -q: 41 passed.POLICYENGINE_SKIP_COUNTRY_IMPORTS=1 .venv/bin/python -m pytest --noconftest tests/test_certify_data_release.py tests/test_release_build_folders.py tests/test_uk_qualification_pipeline.py tests/test_trace_tro.py tests/test_release_tro_generation.py tests/test_bundle_metadata.py -k 'not test_preparation_generates_new_sidecars_and_verifies_the_exact_pair and not test_the_real_cli_generates_replay_requests_despite_country_import_suppression' -q --tb=short: 421 passed, 1 failed, 5 deselected. The remaining failure,test_the_certification_environment_falls_back_to_the_packaged_certificate, exceeded its unchanged 60-second subprocess timeout. The same test reproduced the identical timeout on the isolatedorigin/mainarchive (1 failed, 225.68 seconds), confirming the issue predates this branch. All 70 certification, 80 release-folder, 46 TRACE, 40 TRO-generation and 7 bundle-metadata tests passed, together with 178 UK qualification cases. The five excluded cases are the four private-HF variants and slow real CLI case described below.python -m pytest tests/test_entity_utils.py tests/test_us_regions.py -qfailed because the package was not installed; the completion run installed the full development environment before retrying checks..venv/bin/pythonandrunpy.run_path: both aliases retain object identity, full serialized source records matchorigin/main, and registry/hash lookups return the same objects. This avoids initializing the entire country model.git diff --check: passed.origin/main: exactly 914 baseline occurrences, no missing/extra rows; all 45 added HEAD occurrences match their current file/line/token.policyengine/policyengine-uk-data-privaterelease metadata. One representative failure reproduced identically on an isolatedorigin/mainarchive (57b5870, 1 failed), confirming pre-existing private-repository access requirements.origin/main: all 39 frozen artifact/changelog files passed.Host follow-ups (ca1b1bf, 06d7897)
README.md:10: the calibration dashboard link stays on its Vercel address until its policyengine.org route islive, under Max's link rule (ca1b1bf).
changelog.d/microcosm-name-sweep-20261106.changed.md: the fragment now names what this PR renames and thealiases' last release (06d7897). Its generic text had said "throughout docs, comments and code". The
changedtype makes
bump_version.pycut a patch release, 6.16.1, which matches the aliases'remove after 6.16.1markers.Unsure
examples/belgium_axiom_pilot.py:22: retainedpopulace_be_pilot_2026.h5as R conservatively. The example refers to an existing pilot input artifact; this sweep has no evidence that its on-disk basename changed. The environment-variable name and surrounding prose are renamed.Sweep record and rulebook:
~/reviews/populace-rename-2026-11-06/(RULEBOOK.md).🤖 Generated with Claude Code