Repository navigation
Rename Populace to Microcosm in prose and code - #15
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
The held prose and code-name mentions are tracked in #16, to rename after the IJM-prep stack lands. Independent review: round 1 (Subfleet job 20261116-192041-pop-u03-papers-a-r1) and round 2 (20261116-200536-pop-u03-papers-a-r2). Round 2 approved, accepted the deferral, and found no P0 or P1. 🤖 Generated with Claude Code |
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.
Renames Populace to Microcosm in the prose lines that the open IJM pull-request stack doesn't touch, and holds the rest for that stack. Run outputs, registry keys, profile names and the pinned
populace-*dependencies stay as they are.Counts
Base is
mainat10af9b27d. 2251 of the mentions are in committed run outputs underruns/.What changed
Microcosm's weight-aware imputation approach), theimpCLI description, thedata/cps.pydocstring on pooled ASEC years, and thePLAN.mdstatus line, which now readsmicrocosm-fit DataFrame front door.PLAN.md):populace#297becomesmicrocosm#297, and[populace#290](https://github.com/PolicyEngine/populace/pull/290)becomes[microcosm#290](https://github.com/PolicyEngine/microcosm/pull/290).test_populace_fit_weighting_actually_differsbecomestest_microcosm_fit_weighting_actually_differs.Why most of the repo is held
Seven open PRs prepare the manuscript for IJM: #6 (opened 2026-10-10) and drafts #9 to #14 (opened 2026-11-13 to 2026-11-16). Six of them (#6 and #10 to #14) edit
pyproject.tomlandmethods.py, and four (#11 to #14) also edittests/test_adapters.py. Between them they rewrite every paper section,README.md,PLAN.md,pyproject.toml,methods.pyand the tests, and they handle the naming themselves: they keep the legacy registry keys, add newpopulace_fit_*arms, and add new call sites of_populace_fit_constructor. Renaming those files here would conflict with the whole stack, and renaming the helper would break #14 at run time. This PR touches only lines the stack leaves alone.Left as is
runs/(manifests and metrics CSVs, 2251), and themicrocosm2026bibliography entry, whose title reads "Microcosm (formerly Populace)" (paper/bibliography/references.bib:332).populace_fit,populace_fit_unweightedandpopulace_fit_unchainedinPLAN.md,methods.py,cli/tables.pyand the tests. The committed run manifests and CSVs record them.populace-scale, whichruns/scf-to-cps-harness-scale/manifest.jsonrecords.populace-fitandpopulace-framedistributions at pre-rename commit71b5a83(pyproject.toml:36-37,uv.lock).populace.fitimport (methods.py:168,tests/test_adapters.py:22) and thepyproject.toml:30comment about it. The brief says to leave imports while the spec pinspopulace-*.pyproject.toml:79,README.md:29,methods.py:9,tests/test_smoke.py:3).cli/tables.py:20comment that documents the frozen key spelling.populaceid prefix (introduction.tex:34), and the data availability statement names the repo and distribution at the pinned commit (disclosures.tex:23-24).README.md:10-11already serves as the repo's one mapping line: "(Microcosm was first released under the name Populace; the reported sweeps pin a pre-rename commit, so the experiment code and its pinned dependencies keep the legacypopulacespellings.)" I left it as is.pyproject.toml:28comment that narrates the rename andpyproject.toml:34populace#290; prose inmethods.py:92, 95, 135, 142, 144, 399, 412, 424; thetests/test_adapters.py:86comment; and the introduction footnote's "first released under the name Populace" (introduction.tex:33). The stack rewrites the hunks around all of them.\populaceand\populacefit(paper/macros.tex:4, 8, 9and 24 uses across the sections). They already render "Microcosm" and "microcosm-fit", so the rendered paper is unaffected. Also held: the private helper_populace_fit_constructor(methods.py:139, 403, 416, 428).Compat aliases
None.
Tests
uv run pytest(base install,HF_HUB_OFFLINE=1): 27 passed, 1 skipped (tests/test_adapters.py, which needs themethodsextra), in 2 min 42 s.uv run ruff check .: all checks passed.uv run ruff format --check .: 24 files already formatted.Unsure
\populaceto\microcosm,\populacefitto\microcosmfit),_populace_fit_constructor, and the prose inmethods.py,pyproject.toml:28, 34andtests/test_adapters.py:86.paper/sections/introduction.tex:32-35: the footnote narrates the rename so that readers can match the legacy ids. The rulebook would cut or rewrite narration, but this manuscript is under IJM submission, so the authors should decide.paper/bibliography/references.bib:332: the title "{Microcosm} (formerly {Populace})" is the authors' citation of the software. The brief leaves bibliography entries alone, but the rulebook's redundant-pair rule would make it "Microcosm".paper/sections/disclosures.tex:22-24: "(then namedpopulace, whose distribution the pinned commit ships aspopulace-fit)" states the ids at the pinned commit. I kept it as R.Sweep record and rulebook:
~/reviews/populace-rename-2026-11-06/(RULEBOOK.md). Publishedpopulace-*ids stay frozen pending d2569.🤖 Generated with Claude Code