Skip to content

README: one row per subject in the project status table (#4066) - #5304

Open
evilclanker9000 wants to merge 1 commit into
ItsNotRexed:mainfrom
evilclanker9000:deepseek/1-readme-status-rows
Open

evilclanker9000 wants to merge 1 commit into
ItsNotRexed:mainfrom
evilclanker9000:deepseek/1-readme-status-rows

Conversation

@evilclanker9000

Copy link
Copy Markdown
Contributor

Claimed in the coordination issue as: EGEN-README-STATUS-ROWS (issue #4066)

What and why

README's project status table names five subjects twice. Each twin pair disagrees, so the front page gives two
answers to the same question; #4066 reports the wave64 one (23,841 vs 21,545). The stale row of every pair came
from an older commit than its twin (git log -S per row), so the stale one goes and the current one stays:

Subject Dropped (older) Kept (newer)
Shaders: RDNA2 → SPIR-V translation 21,545 are wave64 (573cd13d8, 11-20) 23,841 from the FSSM header flag (2546446dd, 11-22), the same reading #4066 gives
Models (OBJ with real names…) "Exported. Not all layouts are decoded yet" ten-archive recount at pin e293917 with its docs/models.md#full-archive-re-count-at-e293917 link (d1c566622, 11-22)
Texture dictionaries… (DDS) "Pool entries stored as BCPack are still skipped… not wired into rpf9dump yet" rpf9dump strict mode plus tools/ttpf_assets.py (52c652cc1, 11-22; the script exists)
Xbox D3D12 → Vulkan "No buffer views, root signatures, pipelines, draws… yet" the row with pipelines, DXGI swapchains and contributor testing (7e3474509, 11-22)
Ray tracing (BVH) TRI0/TRI1 leaves, XDXR-vs-KHR default "open" TRI0-TRI3 with the barycentric remap, refit/compaction, XDXR as the default (5d915a146, 11-22)

The Windows translation run (43d0015) that only the dropped translation row linked moves onto the spirv-val
row, which already names that run. Net: 6 deleted lines, 1 added.

The test is new: tests/test_docs_table_rows.py gets test_status_table_names_each_subject_once (in README's
"What | Status" table, the first-cell values must be unique) and a synthetic negative control. It cannot be
checked over every table: 87 tables under docs/ legitimately repeat a first cell (measurement rows such as
1k/10k, entries that span several rows), so the check is scoped to the table where the drift happened.

Tested

Documentation and one test file; no GPU needed. Python 3.12.10 on Windows 11.

Before (README as on main 3faac557b, test as in this PR):

python -I tests/test_docs_table_rows.py
AssertionError: Lists differ: ['Models (OBJ with real names, UVs, materi…', 'Ray tracing (BVH)',
'Shaders: RDNA2 → SPIR-V translation', 'Texture dictionaries and world texture pools (DDS)',
'Xbox D3D12 → Vulkan'] != []
FAILED (failures=1)

After:

python -I tests/test_docs_table_rows.py -v      → Ran 4 tests, OK

Every other test that reads README or docs/: test_docs_cli_flags 3 OK, test_docs_design_rows 4 OK,
test_docs_env_vars 4 OK, test_docs_links 6 OK, test_docs_list_items 2 OK, test_docs_pr_template 2 OK,
test_docs_python_deps 3 OK, test_docs_repo_paths 2 OK, test_docs_table_ids 2 OK, test_i18n_index 5 OK,
test_text_tables 31 OK.

Notes

  • The kept rows stay where they are, so in the table ray tracing now sits above "Xbox D3D12 → Vulkan" (that is the
    order the two newer rows arrived in). I left it there to keep the diff to deletions; say so if you prefer them
    swapped.
  • Every figure left on the page was already on main; this PR claims no new measurement.
  • Docs: the wave64 count is 23,841 (FSSM flag); untangle the Wave size row #3066 edits the kept translation row, and this PR deletes a different line, so the two should rebase cleanly.
  • An unclaimed fork branch codex/proc97-docs-dedupe touches the same rows: it keeps the old 21,545 figure and
    drops the newer models and textures rows, and it has no pull request. Nothing of it is reused here.

AI-assisted.

Five subjects appear twice, each a merge leftover: the RDNA2 -> SPIR-V translation row (23,841 vs 21,545 wave64, issue ItsNotRexed#4066), Models, Texture dictionaries, Xbox D3D12 -> Vulkan and Ray tracing (BVH). The stale twin of each pair is from an older commit (git log -S per row); the current row stays, and the Windows translation run link moves onto the spirv-val row that already names it. tests/test_docs_table_rows.py now fails when the status table names a subject twice.

@Kam471 Kam471 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed head 2f78f7e (README 7+/6-, test 40+).

Commands:

  • python -I -m pytest tests/test_docs_table_rows.py -q -> 4 passed
  • python -I -m pytest tests/test_docs_table_rows.py tests/test_docs_links.py tests/test_docs_design_rows.py tests/test_docs_table_ids.py tests/test_docs_pr_template.py tests/test_text_tables.py -q -> 49 passed, 17 subtests passed
  • negative control (main's README + this test) -> 1 failed, 3 passed, so the check does catch the drift
  • git diff --check -> clean

Content checks: one row per subject now; 21,545 no longer appears in README, and docs/design.md keeps it only as the historical figure with 23,841 as the current FSSM reading, matching #4066. The dropped rows trace to older commits (db0dc8bd5, 573cd13d8, 5cd151c55); the kept rows are the 11-22 ones named in the description. The test is correctly scoped to README's What | Status table.

Verdict: pass.

@leozinhoszg leozinhoszg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at 2f78f7ebe3 (base 3faac557b) and against current main 561b65a83 (Windows 11, CPython 3.14.7, python -I). On its base this is right, and the test is the most careful of the three status-table PRs. Main has moved since then, though. The PR now conflicts in README.md, and two row choices need redoing in the rebase.

What checks out

  • On 3faac557b, all five choices are right: each keeps the newer variant. The Windows 43d0015 link moves onto the spirv-val row, so nothing is lost.
  • The test: it finds the table by its "What | Status" header, reports every repeated subject at once, and has a synthetic negative control. The note on why the rule can't cover every table (87 tables under docs/ repeat a first cell on purpose) is useful context.
  • On the branch: all 10 tests/test_docs_*.py pass, and scripts/check_no_game_data.py exits 0.

Against current main

  • README.md conflicts with 561b65a83. Run against current main, the test reports six repeated subjects, not five. Since the base, D3D12 grew to four variants, ray tracing and textures to three, and the validation row is now doubled too.
  • Ray tracing: the kept row (5d915a146) says "Not done in the builder: TRI1 pairing, BOX16 nodes, serialization". Current main also has b8c07f8cc (zneel, "XDXR builder: pair sibling triangles into TRI0/TRI1 leaves", 11-22 20:16), which says the builder writes TRI1 leaves and that TRI1 pairing and BOX16 nodes are in. That row didn't exist on this PR's base. It is now the newest, and it matches runtime/ and docs/bvh.md, so the rebase should keep it.
  • D3D12: there is now a fourth variant, from 57c175391 ("Revert #2490"). That revert touched the row only to append the ([plan](docs/d3d12_vulkan.md)) link. The rest is still #2490's text (the console-shaped list proxy and AllocateUploadMemory), which main reverted, and git grep -i AllocateUploadMemory origin/main -- runtime finds nothing. The rebase should drop that row. Keeping 7e3474509, as now, or its near-twin 326ebb143 (same commit message, rebased twice) is fine.
  • Same test file as #4782: both PRs add a test to tests/test_docs_table_rows.py, so they conflict there as well.
  • Row order (minor): ray tracing above D3D12. You already offered to swap them, and I'd take that.

Overlap

#4782 (PROC-234, claimed earlier) and #5973 dedupe the same table. On current main:

PR Rows kept Test
#4782 right in all six topics. Only the two shader rows need swapping: validation now sits above translation, which says "validation is the next row" status table only; stops at the first repeat
#5973 keeps the reverted #2490 D3D12 row the repeated-topic rule over every table in README.md
#5304 conflicts; ray tracing and D3D12 to redo status table only; reports all repeats, with a negative control

Only one can land in README.md. The shortest path may be #4782's rows plus this PR's test (or #5973's). That is the coordinator's call, so I left the same comparison on the other two.

Docs-only review: no game files and no GPU needed. AI-assisted (Claude Code). I checked the trial merge, the blame and the counts above myself.

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