Skip to content

Rename Populace to Microcosm in prose and code - #258

Merged
MaxGhenis merged 2 commits into
mainfrom
microcosm-name-sweep-20261106
Nov 7, 2026
Merged

MaxGhenis merged 2 commits into
mainfrom
microcosm-name-sweep-20261106

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Rename live PolicyBench references and paper-rendering names to Microcosm while preserving frozen records and identifiers.

Counts

Files Mentions
Before 187 771
After 178 729

What changed

  • Updated live documentation, app labels, paper source, comments, and generated-report wording.
  • Renamed paper-rendering properties and constants, retaining their old names as compatibility aliases.

Left as is

  • H: 673 mentions in historical run paths, frozen results, published paper artifacts, audit records, and text that reproduces frozen artifacts.
  • R: 46 mentions in published dataset identifiers and recorded provenance values.
  • Compatibility aliases: 10 mentions (eight alias names plus two group marker comments) preserve the old Python names.
  • D and mapping line: none.

Compat aliases

Remove after the next release: POPULACE_PEOPLE, POPULACE_HOUSEHOLDS, POPULACE_ELIGIBLE_HOUSEHOLDS, and PaperResults.populace_people_fmt, populace_households_fmt, populace_eligible_households_fmt, populace_eligible_pct_fmt, and populace_excluded_pct_fmt.

Two group comments mark them, one above each block: # compat: populace alias, remove after next release (the three lines below) at policybench/paper_results.py:767 and (the five lines below) at :1562. A removal grep finds those two hits.

Tests

  • git diff --check: passed.

  • python -m compileall -q on the changed Python files: passed.

  • pytest -q -n 4: could not run because pytest-xdist is not installed. A serial python -m pytest -q encountered a missing hypothesis dependency during collection and was interrupted.

  • bun test tests in app: 84 passed; 11 failed to load because dependencies including React and fast-check and generated src/data-summary.json are missing. bun install --frozen-lockfile initially failed on temp-directory permissions; a retry with a writable temporary directory stalled and was interrupted.

  • CI at 315f58f: lint, test, app, paper and Vercel all pass. Lint first failed at 0ae0410 (ruff E501 on seven alias lines that carried a trailing marker); commit 315f58f moves each marker above its group, and the module's AST is unchanged.

Review

  • Sol (GPT-6.1) approved 0ae0410 with no blocking findings.
  • An Opus 5.5 reviewer approved the comment-only delta at 315f58f with no blocking findings; it asked for these corrected counts.

Unsure

  • scripts/freeze_snapshot.py:1828 and scripts/freeze_snapshot.py:1926: retained these prose templates as H because they reproduce frozen snapshot artifacts; a reviewer may wish to confirm whether future snapshot wording should change.

Sweep record and rulebook: ~/reviews/populace-rename-2026-11-06/ (RULEBOOK.md).

🤖 Generated with Claude Code

@vercel

vercel Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
policybench-site Ready Ready Preview Nov 7, 2026 1:41pm UTC

Request Review

Each alias group now carries one compat marker comment above it instead of one
per line, which pushed seven lines past 88 characters and failed CI lint. The
module's AST is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis
MaxGhenis marked this pull request as ready for review November 7, 2026 15:33
@MaxGhenis
MaxGhenis merged commit 7ffbee7 into main Nov 7, 2026
6 checks passed
@MaxGhenis
MaxGhenis deleted the microcosm-name-sweep-20261106 branch November 7, 2026 15:33

This branch was successfully deployed

1 active deployment
Preview — 315f58f0 Deployed Nov 7, 2026 by vercel[bot]
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.

1 participant