OLD-7698: restore old upstream PR 7698 - docs/world_census: rejected count, what a rejected candidate is, census_exact, --jobs default (ASSET-379) #774
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!774
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/774/head"
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?
@aslan2142 on GitHub · 2026-11-24 13:40 UTC · original
aslan2142:docs-sweep-world_census→main· +10 −5 · 1 files · 2 commits · merged 2026-11-24 16:38 UTCClaimed in the coordination issue as: OLD-7698 #14
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).