Skip to content

docs/rpf: record the complete name-coverage index from #1790 - #7658

Open
isfcrctfs wants to merge 1 commit into
ItsNotRexed:mainfrom
isfcrctfs:docs/rpf-complete-name-coverage
Open

isfcrctfs wants to merge 1 commit into
ItsNotRexed:mainfrom
isfcrctfs:docs/rpf-complete-name-coverage

Conversation

@isfcrctfs

Copy link
Copy Markdown

Claimed in the coordination issue (#7333). Depends on: none.

What and why

docs/rpf.md presented #1790's first-pass figures as whole-package coverage: it said the walker ran over "all 22 archives … (150.2 GiB)" while the table's 1,489,677 streams / 177,087 named (11.89%) actually came from 123.0 GiB. The reporter's own later comment on #1790 corrects this and gives the complete index.

This records both passes: 2,235,084 streams, 215,028 named (9.62%), 168,660 unique paths, 511,526 unique identifiers, path mentions not reported for the complete pass. The stream-type breakdown is labelled as first-pass, movies.rpf is confirmed zero zlib streams across its whole 8.8 GiB, and the "ceiling of this method" sentence now uses the complete 9.62% rather than the first-pass 11.89%.

Docs only — one Markdown file, no code, no dependency, no CI change, and counts only (no game data).

Tested

tests/test_docs_table_rows.py   tests/test_docs_table_ids.py    tests/test_docs_repeated_lines.py
tests/test_docs_list_items.py   tests/test_docs_repo_paths.py   tests/test_docs_env_vars.py
tests/test_docs_python_deps.py  tests/test_docs_design_rows.py  tests/test_i18n_index.py   -> all OK
scripts/check_no_game_data.py docs/rpf.md -> exit 0
python -m compileall -q make_game.py tools tests -> exit 0

Two docs tests are red on current main and unchanged by this diff (test_docs_cli_flags.py on docs/dev-tools.md/docs/embedded_shaders.md, test_docs_links.py on a runtime/README.md fence); both are covered by open #7242/#7351 and this diff adds no flags or links.

AI-assisted: yes.

ItsNotRexed#1790's first pass covered 123.0 GiB of the 150.2 GiB package, but
docs/rpf.md presented its 1,489,677 streams / 177,087 named (11.89%) as
the whole-package result. The later complete index reports 2,235,084
streams / 215,028 named (9.62%), 168,660 unique paths and 511,526
unique identifiers; path mentions were not reported for it.

Keep both sets, mark the stream-type breakdown as the first pass, note
that movies.rpf produces zero zlib streams across all 8.8 GiB, and use
the complete coverage in the ceiling sentence.

Tests: python3.12 -I tests/test_docs_{table_rows,table_ids,repeated_lines,
list_items,repo_paths,env_vars,python_deps,design_rows}.py and
tests/test_i18n_index.py pass; scripts/check_no_game_data.py docs/rpf.md
passes. tests/test_docs_cli_flags.py and tests/test_docs_links.py are red
on main for the unrelated open ItsNotRexed#7242 and unchanged by this diff.

Co-authored-by: DerpSpears <61290890+DerpSpears@users.noreply.github.com>
@hcampbell98

Copy link
Copy Markdown

Tested aaba5de1f merged with main db9fef883 on Linux (WSL2, CPython 3.14.4, CPU only, no game files): Pass.

Checks

  • Merge, git diff --check db9fef883...HEAD, python3 -I scripts/check_no_game_data.py docs/rpf.md, and python3 -m compileall -q make_game.py tools tests: clean / exit 0.
  • Documentation and i18n checks (python3 -I):
    • tests/test_i18n_index.py: 9/9 OK
    • tests/test_docs_table_rows.py: 2/2 OK
    • tests/test_docs_table_ids.py: 2/2 OK
    • tests/test_docs_repeated_lines.py: 2/2 OK
    • tests/test_docs_list_items.py: 3/3 OK
    • tests/test_docs_repo_paths.py: 3/3 OK
    • tests/test_docs_env_vars.py: 4/4 OK
    • tests/test_docs_python_deps.py: 3/3 OK
    • tests/test_docs_design_rows.py: 5/5 OK
  • Verified every updated figure (123.0 GiB first pass, 27.2 GiB remainder, 150.2 GiB complete package; 1,489,677 / 177,087 (11.8876% -> 11.89%); complete index 2,235,084 / 215,028 (9.6206% -> 9.62%), 168,660 unique paths, 511,526 unique identifiers, path mentions not reported; movies.rpf 8.8 GiB zero zlib streams) against @JoshRob297's correction comment in #1790. Note: retail archives were not re-scanned here (no game files).
  • Pre-existing baseline failures matching db9fef883 identically: tests/test_docs_cli_flags.py (2 failures), tests/test_docs_links.py (1 failure), and tests/test_text_write_line_endings.py (1 failure).

AI-assisted.

@morodirule

Copy link
Copy Markdown

Tested aaba5de on Arch Linux, Python 3.14.10, CPU only: pass — docs battery (table_rows, table_ids, repeated_lines, list_items, repo_paths, env_vars, python_deps, design_rows, i18n_index) all OK; check_no_game_data clean; compileall clean. The 2 unrelated failures (cli_flags dev-tools row, links gpu-results file) name files this diff doesn't touch and match known open items. No negative control applicable (docs-only, no test file in PR). No game files. AI-assisted.

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.

3 participants