Repository navigation
README: one row per subject in the project status table (#4066) - #5304
evilclanker9000 wants to merge 1 commit into
Conversation
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
left a comment
There was a problem hiding this comment.
Reviewed head 2f78f7e (README 7+/6-, test 40+).
Commands:
python -I -m pytest tests/test_docs_table_rows.py -q-> 4 passedpython -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
left a comment
There was a problem hiding this comment.
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 Windows43d0015link moves onto thespirv-valrow, 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_*.pypass, andscripts/check_no_game_data.pyexits 0.
Against current main
README.mdconflicts with561b65a83. 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 hasb8c07f8cc(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 matchesruntime/anddocs/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 andAllocateUploadMemory), which main reverted, andgit grep -i AllocateUploadMemory origin/main -- runtimefinds nothing. The rebase should drop that row. Keeping7e3474509, as now, or its near-twin326ebb143(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.
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 -Sper row), so the stale one goes and the current one stays:21,545are wave64 (573cd13d8, 11-20)2546446dd, 11-22), the same reading #4066 givese293917with itsdocs/models.md#full-archive-re-count-at-e293917link (d1c566622, 11-22)rpf9dumpyet"rpf9dumpstrict mode plustools/ttpf_assets.py(52c652cc1, 11-22; the script exists)7e3474509, 11-22)5d915a146, 11-22)The Windows translation run (
43d0015) that only the dropped translation row linked moves onto thespirv-valrow, which already names that run. Net: 6 deleted lines, 1 added.
The test is new:
tests/test_docs_table_rows.pygetstest_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 as1k/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
main3faac557b, test as in this PR):After:
Every other test that reads README or
docs/:test_docs_cli_flags3 OK,test_docs_design_rows4 OK,test_docs_env_vars4 OK,test_docs_links6 OK,test_docs_list_items2 OK,test_docs_pr_template2 OK,test_docs_python_deps3 OK,test_docs_repo_paths2 OK,test_docs_table_ids2 OK,test_i18n_index5 OK,test_text_tables31 OK.Notes
order the two newer rows arrived in). I left it there to keep the diff to deletions; say so if you prefer them
swapped.
main; this PR claims no new measurement.codex/proc97-docs-dedupetouches the same rows: it keeps the old21,545figure anddrops the newer models and textures rows, and it has no pull request. Nothing of it is reused here.
AI-assisted.