OLD-7698: restore old upstream PR 7698 - docs/world_census: rejected count, what a rejected candidate is, census_exact, --jobs default (ASSET-379) #774
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/774"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-11-24T13:40:09Z.
Claimed in the coordination issue as: OLD-7698 https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7133102735
Restoration of my original pull request, old upstream PR 7698 in
ItsNotRexed/Leonida, which was closed unmerged when that repository went private on 2026-11-23 (old numbers link nowhere now). Rebased onto main at3bb46d658b; the two commits apply unchanged and all four corrections still hold against the current tool (its only change since, a resume-cache type check, does not touch these lines). The old PR number in the second commit's title is now plain text.What and why
docs/world_census.mddisagreed withtools/world_census.pyin four places:docs/world_census.md:21) says 840. That is the count re-measured after the warm-up fix, which was updated in the table only. Coverage now says 840.assembleraiseszlib.error,struct.errororIndexError, or returnsNonebecause the stream does not end inside the archive (tools/world_census.py:395-402,Noneat:258-259).0DRPz(:185) is accepted as payload.0DRPzstream that is truncated, does not parse or is still short of a page counts asincomplete(:305-306,:421-423).invalidis a second parse check behind that (:424-426).census_exact. The condition checksmaps_exact == maps(tools/world_census.py:766), notentities_exact == entitiesseparately. That one follows from it, becauseentities_exactsums the exact rows (:749-750).--jobsdefault. The default is half the logical CPUs, capped at 12 (tools/world_census.py:801). The doc left out the cap.Tested
python -I tests/test_docs_*.py(all 12): pass.python -I tests/test_world_census.py: pass.git diff --check: clean.python -I scripts/check_no_game_data.py docs/world_census.md: clean.Docs only; no game files needed.
GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no translator change)AI-assisted (Claude Code, Claude Opus 5.5).