[PR #925] docs/design: cite the tests of the Wave size and Typed buffer loads rows (DOC-DESIGN-ROW-CITES) #964

Open
opened 2026-11-26 20:19:38 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/925
Author: @TuroYT
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: docs/design-row-cites


📝 Commits (1)

  • 15faedc docs/design: cite the tests of the Wave size and Typed buffer loads rows (DOC-DESIGN-ROW-CITES)

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 docs/design.md (+2 -2)

📄 Description

Claimed in the coordination issue as: DOC-DESIGN-ROW-CITES (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135544593)

What was wrong

  • docs/design.md:338, the Wave size row, explains fssm_header.wave_size() (FSSM flags word u32[0xD4] bit 5) and cites no test. tests/test_fssm_wave_size.py checks that bit rule on synthetic blobs (7 tests).
  • docs/design.md:298, the Typed buffer loads row, names the file as tools\gfx10_formats.json with a backslash. The file is tools/gfx10_formats.json.

Reproduction on a28927849:

$ sed -n 338p docs/design.md | grep -c test_fssm_wave_size
0
$ sed -n 298p docs/design.md | grep -o 'tools.gfx10_formats.json'
tools\gfx10_formats.json
$ ls tools/gfx10_formats.json
tools/gfx10_formats.json

What changed

Two rows, no other text:

  • Wave size: one sentence naming tests/test_fssm_wave_size.py as the check of the bit rule on synthetic blobs. It says the test does not check the corpus counts in the row.
  • Typed buffer loads: the path is now tools/gfx10_formats.json. The row also names tests/test_gfx10_descriptors.py, which checks the format rows of runtime/src/gfx10_descriptors.h against that file.

Other open pull requests touch other rows of docs/design.md. None changes these two rows.

Tested

$ sed -n 338p docs/design.md | grep -c test_fssm_wave_size
1
$ sed -n 298p docs/design.md | grep -o 'tools.gfx10_formats.json'
tools/gfx10_formats.json
$ sed -n 298p docs/design.md | grep -c 'tools\\gfx10'
0
$ python3 -I tests/test_fssm_wave_size.py 2>&1 | tail -3
Ran 7 tests in 0.156s
OK
$ python3 -I tests/test_gfx10_descriptors.py 2>&1 | tail -3
Ran 5 tests in 0.039s
OK
$ python3 -I tests/test_text_write_line_endings.py 2>&1 | tail -3
Ran 3 tests in 5.261s
OK
$ python3 -I scripts/check_no_game_data.py docs/design.md
(exit 0)
$ git diff --check
(exit 0)
$ git diff --stat
 docs/design.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
$ python3 -I tests/test_docs_design_rows.py    -> Ran 5 tests OK
$ python3 -I tests/test_design_contract_rows.py -> Ran 5 tests OK
$ python3 -I tests/test_docs_encoding.py       -> Ran 1 test OK
$ python3 -I tests/test_docs_table_rows.py     -> Ran 2 tests OK

Also run, all OK: test_d16_format_probe.py (1 skipped), test_desc_cache.py, test_f16misc_diff.py, test_fma_mix_probe.py, test_hashdict.py, test_sad_diff.py, test_shader_meta.py.

Not tested

  • The pytest-based files that read docs/design.md (test_shader_index.py, test_values.py, test_valu_fuzz.py, and others) were not run.
  • The rendered Markdown table was not viewed in a browser.
  • No GPU, no game files. Docs only.

AI-assisted (Claude Code).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/925 **Author:** [@TuroYT](https://github.com/TuroYT) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `docs/design-row-cites` --- ### 📝 Commits (1) - [`15faedc`](https://github.com/ubiquitarianism/leonida/commit/15faedcfe57f85000886f834de233a5abfdb9a3d) docs/design: cite the tests of the Wave size and Typed buffer loads rows (DOC-DESIGN-ROW-CITES) ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/design.md` (+2 -2) </details> ### 📄 Description Claimed in the coordination issue as: DOC-DESIGN-ROW-CITES (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135544593) ## What was wrong - `docs/design.md:338`, the Wave size row, explains `fssm_header.wave_size()` (FSSM flags word `u32[0xD4]` bit 5) and cites no test. `tests/test_fssm_wave_size.py` checks that bit rule on synthetic blobs (7 tests). - `docs/design.md:298`, the Typed buffer loads row, names the file as `tools\gfx10_formats.json` with a backslash. The file is `tools/gfx10_formats.json`. Reproduction on `a28927849`: ``` $ sed -n 338p docs/design.md | grep -c test_fssm_wave_size 0 $ sed -n 298p docs/design.md | grep -o 'tools.gfx10_formats.json' tools\gfx10_formats.json $ ls tools/gfx10_formats.json tools/gfx10_formats.json ``` ## What changed Two rows, no other text: - Wave size: one sentence naming `tests/test_fssm_wave_size.py` as the check of the bit rule on synthetic blobs. It says the test does not check the corpus counts in the row. - Typed buffer loads: the path is now `tools/gfx10_formats.json`. The row also names `tests/test_gfx10_descriptors.py`, which checks the format rows of `runtime/src/gfx10_descriptors.h` against that file. Other open pull requests touch other rows of `docs/design.md`. None changes these two rows. ## Tested ``` $ sed -n 338p docs/design.md | grep -c test_fssm_wave_size 1 $ sed -n 298p docs/design.md | grep -o 'tools.gfx10_formats.json' tools/gfx10_formats.json $ sed -n 298p docs/design.md | grep -c 'tools\\gfx10' 0 $ python3 -I tests/test_fssm_wave_size.py 2>&1 | tail -3 Ran 7 tests in 0.156s OK $ python3 -I tests/test_gfx10_descriptors.py 2>&1 | tail -3 Ran 5 tests in 0.039s OK $ python3 -I tests/test_text_write_line_endings.py 2>&1 | tail -3 Ran 3 tests in 5.261s OK $ python3 -I scripts/check_no_game_data.py docs/design.md (exit 0) $ git diff --check (exit 0) $ git diff --stat docs/design.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) $ python3 -I tests/test_docs_design_rows.py -> Ran 5 tests OK $ python3 -I tests/test_design_contract_rows.py -> Ran 5 tests OK $ python3 -I tests/test_docs_encoding.py -> Ran 1 test OK $ python3 -I tests/test_docs_table_rows.py -> Ran 2 tests OK ``` Also run, all OK: `test_d16_format_probe.py` (1 skipped), `test_desc_cache.py`, `test_f16misc_diff.py`, `test_fma_mix_probe.py`, `test_hashdict.py`, `test_sad_diff.py`, `test_shader_meta.py`. ## Not tested - The pytest-based files that read `docs/design.md` (`test_shader_index.py`, `test_values.py`, `test_valu_fuzz.py`, and others) were not run. - The rendered Markdown table was not viewed in a browser. - No GPU, no game files. Docs only. AI-assisted (Claude Code). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#964
No description provided.