docs: give the translator suite times measured on today's suite (DOC-SEMANTIC-TIMING) #960

Manually merged
github merged 1 commit from gh-pr/960/head into gh-pr/960/base 2026-11-26 09:30:35 +00:00
Owner

@⁠TimIdle on GitHub · 2026-11-24 15:48 UTC · original
TimIdle:doc-semantic-timing → main · +4 −4 · 2 files · 1 commits · merged 2026-11-24 20:05 UTC

Claimed in the coordination issue as: DOC-SEMANTIC-TIMING (claim)

What and why

AGENTS.md and tests/semantic/README.md give two different times for the same command. AGENTS.md says the suite has 433 files and 5 821 tests and runs in 224 s on 16 cores. The README says 26 s on 16 cores, or 253 s one file at a time. The suite now has 465 files and 6 108 tests.

This puts one measured set of figures in both files and names the OS. Four lines change. #103 and #165 also edit README line 6, but only its indent, which main already has.

Tested

Measured on main 3d3770c. The suite is unchanged at a289278, the base of this branch.

Command Result
python -I scripts/run_semantic_tests.py tests/semantic (default, 16 jobs) 465 files, 6108 tests, 0 failed, 297 s
python -I scripts/run_semantic_tests.py tests/semantic -j 1 6108 tests, OK (8 skipped), 2 401 s

Times are wall clock from PowerShell Measure-Command. Machine: Windows 11 10.0.26300, AMD Ryzen 7 7435HS (8 cores, 16 threads), CPython 3.14.10 (MSYS2 UCRT64).

After the edit, all 12 tests/test_docs_*.py files pass, tests/test_text_write_line_endings.py passes, and python -I scripts/check_no_game_data.py AGENTS.md tests/semantic/README.md and git diff --check are clean.

GPUs tested: n/a (docs only; the translator suite needs no GPU)

AI-assisted: yes (Claude Code)

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (No translator rule here.)

🤖 Generated with Claude Code

**@⁠TimIdle** on GitHub · 2026-11-24 15:48 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/960) `TimIdle:doc-semantic-timing` → `main` · +4 −4 · 2 files · 1 commits · merged 2026-11-24 20:05 UTC Claimed in the coordination issue as: DOC-SEMANTIC-TIMING ([claim](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/14)) ### What and why `AGENTS.md` and `tests/semantic/README.md` give two different times for the same command. `AGENTS.md` says the suite has 433 files and 5 821 tests and runs in 224 s on 16 cores. The README says 26 s on 16 cores, or 253 s one file at a time. The suite now has 465 files and 6 108 tests. This puts one measured set of figures in both files and names the OS. Four lines change. #103 and #165 also edit README line 6, but only its indent, which `main` already has. ### Tested Measured on `main` `3d3770c`. The suite is unchanged at `a289278`, the base of this branch. | Command | Result | |---|---| | `python -I scripts/run_semantic_tests.py tests/semantic` (default, 16 jobs) | 465 files, 6108 tests, 0 failed, 297 s | | `python -I scripts/run_semantic_tests.py tests/semantic -j 1` | 6108 tests, OK (8 skipped), 2 401 s | Times are wall clock from PowerShell `Measure-Command`. Machine: Windows 11 10.0.26300, AMD Ryzen 7 7435HS (8 cores, 16 threads), CPython 3.14.10 (MSYS2 UCRT64). After the edit, all 12 `tests/test_docs_*.py` files pass, `tests/test_text_write_line_endings.py` passes, and `python -I scripts/check_no_game_data.py AGENTS.md tests/semantic/README.md` and `git diff --check` are clean. GPUs tested: n/a (docs only; the translator suite needs no GPU) AI-assisted: yes (Claude Code) ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [x] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (No translator rule here.) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
AGENTS.md said 433 files and 5 821 tests in 224 s on 16 cores.
tests/semantic/README.md said 26 s, or 253 s one file at a time, on 16
cores. The two disagree, and both count an older suite.

Measured on main 3d3770c (the suite is unchanged at a289278), Windows 11,
Ryzen 7 7435HS with 16 threads: 465 files and 6 108 tests, 0 failed, in
297 s with the default 16 jobs and 2 401 s with -j 1.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:30:31 +00:00
github manually merged commit d517d8af9d into gh-pr/960/base 2026-11-26 09:30:35 +00:00
Author
Owner

@⁠morodirule on GitHub · 2026-11-24 15:53 UTC · original

Independent Linux check on main f3e26be7c (no game/GPU): tests/semantic holds 465 test_*.py files (ls count), matching the new 465 in both files vs the stale 433/26 s text. The 6 108-test count also matches the full-suite run from #880 on this machine (465 files, 6108 tests, 0 failed). Windows timings (297 s / 2 401 s) cannot be confirmed from Linux, but the counts the docs now quote are correct here. Not claiming; review evidence only.

**@⁠morodirule** on GitHub · 2026-11-24 15:53 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/960#issuecomment-7136779862) Independent Linux check on main f3e26be7c (no game/GPU): tests/semantic holds 465 test_*.py files (ls count), matching the new 465 in both files vs the stale 433/26 s text. The 6 108-test count also matches the full-suite run from #880 on this machine (465 files, 6108 tests, 0 failed). Windows timings (297 s / 2 401 s) cannot be confirmed from Linux, but the counts the docs now quote are correct here. Not claiming; review evidence only.
Author
Owner

@⁠KernelSmoker on GitHub · 2026-11-24 16:00 UTC · original · approved these changes

Verified the submitted head d517d8af9d882715c69f2329eef916b08635f8c2. On Fedora 45 with Python 3.15 and SPIRV-Tools, the full semantic suite passed: 465 files, 6,108 tests, 0 failures (-j 16). The documentation test modules passed 47/47, and git diff --check passed. This independently confirms the current suite counts and test health; I did not reproduce the Windows 11 timings stated in the change.

**@⁠KernelSmoker** on GitHub · 2026-11-24 16:00 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/960#pullrequestreview-6042797545) · **approved these changes** Verified the submitted head `d517d8af9d882715c69f2329eef916b08635f8c2`. On Fedora 45 with Python 3.15 and SPIRV-Tools, the full semantic suite passed: 465 files, 6,108 tests, 0 failures (`-j 16`). The documentation test modules passed 47/47, and `git diff --check` passed. This independently confirms the current suite counts and test health; I did not reproduce the Windows 11 timings stated in the change.
Author
Owner

@⁠TimIdle on GitHub · 2026-11-24 16:17 UTC · original

Thank you both for checking. The counts match on Linux. The Windows times come from the Measure-Command runs listed under Tested.

**@⁠TimIdle** on GitHub · 2026-11-24 16:17 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/960#issuecomment-7137413975) Thank you both for checking. The counts match on Linux. The Windows times come from the `Measure-Command` runs listed under Tested.
Author
Owner

@⁠QemmHD on GitHub · 2026-11-24 20:05 UTC · original

Merging.

Why merged: DOC-SEMANTIC-TIMING: AGENTS.md and tests/semantic/README.md give suite timings measured on today's suite, replacing much older numbers. morodirule checked the counts, and KernelSmoker approved after a full suite run.

Why it's good: Docs tests: 47 passed. Small follow-up: main has since grown to 470 test files / ~6168 tests, so "465 / 6 108" is already slightly behind. It's still much closer than the 433 it replaces.

Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 6293c1c4f. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 571 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. Security read of the three-dot diff: no binaries, game data, downloads, network calls, new env vars or build/CI changes.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠QemmHD** on GitHub · 2026-11-24 20:05 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/960#issuecomment-7143019251) Merging. **Why merged:** DOC-SEMANTIC-TIMING: AGENTS.md and tests/semantic/README.md give suite timings measured on today's suite, replacing much older numbers. morodirule checked the counts, and KernelSmoker approved after a full suite run. **Why it's good:** Docs tests: 47 passed. Small follow-up: main has since grown to 470 test files / ~6168 tests, so "465 / 6 108" is already slightly behind. It's still much closer than the 433 it replaces. Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 6293c1c4f. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 571 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. Security read of the three-dot diff: no binaries, game data, downloads, network calls, new env vars or build/CI changes. AI-assisted (Claude Code, Claude Opus 5.5).
This discussion has been locked. Commenting is limited to contributors.
No description provided.