- The rejection handler catches zlib.error, struct.error and IndexError
(scan_shard), not only a zlib error.
- Only a stream whose inflated bytes 0x10..0x15 are 0DRPz is a 0x7a
candidate (inflate); a stream without that prefix is accepted as
payload. A 0DRPz stream that is truncated, does not parse or is still
short of a page is incomplete (assemble's "complete"); invalid is a
second parse check behind it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Coverage said "906 rejected candidates"; the Result table above it says
840, the count ef54dfbf9 re-measured after the warm-up fix and left in
the table only.
- A rejected candidate is a 16-byte-aligned zlib header that does not
inflate to a stream ending inside the archive (scan_shard, assemble);
an inflated stream that is not a complete or valid 0x7a resource is
counted as incomplete or invalid, not rejected.
- census_exact (_summarize) tests maps_exact == maps, which implies
entities_exact == entities; it does not test the latter on its own.
- The default --jobs is half the logical CPUs, capped at 12.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SixNG's 7,257 extra resources have CEntityDef objects but no CMapData struct:
961 interior archetype resources (CMloArchetypeDef, 540,665 entities in interior
space) and 6,296 35abc248 entity groups (39,622 entities in group-local space).
The census has 7 maps (1,239 entities) that SixNG misses, whose entity data is in
a continuation page. Net 7,250 maps / 579,048 entities, the whole published gap.
The 23,528 maps both count agree on every entity count.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Re-ran world_census.py on levels.rpf (36 shards, a 1.0.2.1 copy) with the warm-up fix. Map rows,
entities and coverage are unchanged; the stream and byte totals lose the 35 shard boundaries' double
count:
- zlib streams 1,122,614 -> 1,117,857
- stored bytes 75,165,813,806 -> 74,877,281,159, now exactly the accepted stream payload in Coverage
(an independent, interval-based measure)
- inflated bytes 175,587,890,693 -> 174,941,755,029
- rejected candidates 906 -> 840
- the "adopted continuation streams" row is gone: it counted the double count, not joins
The metadata-streams row now reads 164,914, the census's own meta total and the sum of the
CMapData-only (138,839) and other (26,075) metadata rows further down; it said 165,880.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 5b1f5c5b6e124b0fa28a6e768ef5fabd8e5fc2aa)