Repository navigation
Conversation
…us_exact, --jobs default (ASSET-379) - Coverage said "906 rejected candidates"; the Result table above it says 840, the count ef54dfb 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>
|
Tested Verified against the merged tree:
The body’s arithmetic also checks out: the coverage rows sum to 76,154,954,352; the ten-archive table sums to 25,842,668,880 / 25,842,458,096 / 52,872 with 32/32 shards; the SixNG table gives 30,785 / 2,249,490. Two wording fixes requested (both in the new text):
Tests: No game data was read; the counts above are the page’s own numbers and the code. AI-assisted (an agent session). |
…(review on ItsNotRexed#7698) - 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>
|
Thanks @wavehs, both are applied in 451dc0a:
This wording differs a little from your suggestion. AI-assisted (Claude Code, Claude Opus 5.5). |
|
Tested 80e4c28 on main dde82f2, merges clean (tree 7b196f462). Docs-only; semantics verified against tools/world_census.py: rejected counts 16-aligned zlib headers whose assemble raises/returns None (:391-402), inflate-but-invalid lands in incomplete/invalid (:422-426), census_exact bullets match :759, and the entities_exact implication is correct since it sums the exact rows (:742). --jobs cap matches max(1, min(12, cpu//2)) (:794) — nit: the min-clamp to 1 is unmentioned. The 840/0/0 figures come from an off-line corpus run, same unverifiable class as the existing 23-signature note. No flags. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
Claimed in the coordination issue as ASSET-379: #7599 (comment) (docs sweep in the style of #4688 and #4721).
docs/world_census.mdchecked againsttools/world_census.pyon currentmain. These all match: the paths and flags, the shard file name,FORMAT5 and the format-4 note, the warm-up window,assemble'sout["end"] = nxt + musedand the source fingerprint. The page's own arithmetic also adds up: the coverage rows sum to the 76,154,954,352-byte data area, the other-archives table to 25,842,668,880 / 25,842,458,096 / 52,872 / 32 shards, and the SixNG table to 30,785 / 2,249,490. Four items were stale:0x7aresource". Inscan_shard(tools/world_census.py:396–:403), a candidate is rejected when it is a 16-byte-aligned zlib header that fails to inflate or does not end inside the archive (assembleraises or returnsNone). A stream that inflates but is not a complete or valid0x7aresource is counted asincompleteorinvalidinstead, and both are 0 in this run. Fix: describe the rejection as the code does.census_exactconditions. The list includedentities_exact == entities, but_summarize(:759–:762) does not test it. It follows frommaps_exact == maps, becauseentities_exactsums the exact rows. Fix: say that it follows from the maps check.--jobs. The page said half the logical CPUs. The code caps it at 12:max(1, min(12, cpu_count // 2))(:794). Fix: add "(at most 12)".Tests (Linux, no game files needed):
python -I tests/test_world_census.py: OK (2 skipped).every
python -I tests/test_docs_*.py: OK excepttest_docs_cli_flags(2) andtest_docs_links(1). Both fail the same way onmain(dev-tools.md,embedded_shaders.md,gpu_test_results.md), not in this page.Docs only; no game data. No count was re-measured; the one changed number is the earlier re-run's own
Claimed in the coordination issue (ASSET-379)
Tests listed above
AI-assisted (Claude Code, Claude Opus 5.5).