tools: gpu_results.py reads the GPU test records into one overview (GPU-RESULTS-OVERVIEW) #2379

Merged
syfyra merged 1 commit from upstream-pr/2379 into main 2026-12-03 16:24:42 +00:00
syfyra commented 2026-11-26 16:35:11 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by syfyra on 2026-11-26T16:35:11Z.


Claimed in the coordination issue as: GPU-RESULTS-OVERVIEW (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7197591142)

Depends on: none. No open pull request changes these three files (checked with the scripts/pr_overlap.py of #2349); it does not touch docs/gpu_test_results.md, which 33 open pull requests edit, or any record.

What and why

gpu-test-results/ holds 46 records and 35 open pull requests add 38 more, but nothing reads them. Which fixtures fail on which GPUs and drivers is only in their prose, and the hand-written table in docs/gpu_test_results.md lists 11 runs.

tools/gpu_results.py parses the Key: value fields the records share and prints one overview:

  • a row per record: GPU and family, driver, how many commits its commit is behind main, the native and the wave64-emulated run of run_gpu_tests.py as passed/total with skips and failures, and the fixtures it lists as failed;
  • each failing fixture with the records and vendors it fails on, the newest record that lists it, and how many records taken at newer commits do not. A fixture that fails across vendors points at the fixture or the translator, one that fails on a single driver at that driver;
  • runs of another kind (a validation run, a filtered run) and the records it could not read in full.

--markdown prints the record table for a document, --json everything as one object, and --check names each record that lacks GPU, Driver, OS or Commit, or whose Commit has no hash, and exits 1 when there is one. gpu-test-results/README.md states the format, which until now was "the format of the files there".

What is read from prose is a convention, not a grammar: a run is a line with N/M passed, labelled by what stands before it or after it in parentheses; a failed fixture is one the Failed: field opens with, or one that starts a line of its own as ps_c: .... A wrapped sentence that starts with a fixture that passes ("cs_d and cs_e pass with #N applied") is not counted.

On the 46 records of main (30 NVIDIA, 12 AMD, 2 Apple, 1 Intel, 1 llvmpipe), with main at 56bdd7e88:

  • cs_imgload_tfe and cs_imgload_d16_tfe are listed by 17 records on four vendors; the newest of them is 1,202 commits behind main, and 24 records taken at newer commits do not list them.
  • cs_imgatomic_ext is listed by 10 records (9 NVIDIA, 1 Apple), among them the newest record there is, so no newer record says it is gone.
  • All 46 pass --check. Of the 38 record files in open pull requests, 36 pass; the one in #2204 has no GPU and no Driver field and the one in #2238 no OS field.

One thing for the reviewer to decide: tests/test_gpu_results.py also reads the repository's own records and fails for one that lacks a required field, so a pull request that adds such a record fails that test. That is the point of --check, but it would turn the two pull requests above red once this is merged; the test class RepositoryRecordsTest can be dropped without touching the rest.

Tested

Windows 11, Python 3.14.7, git 2.55.0:

  • python -I tests/test_gpu_results.py: 19 tests on synthetic records in the layouts the real files use (invented devices and numbers): fields and continuation lines, the short names, the run labels in the spellings the records use, the failed fixtures with wrapped prose, problems and notes, the fixture table and its ordering, commit distances on a throwaway git repository, the text, Markdown and JSON output, --check, and the repository's own 46 records.
  • The test file fails on main, where the tool does not exist.
  • 62 small changes to the tool (a field pattern that takes sentences, a comma that ends a name inside parentheses, the wrapped-prose rule removed, <= for < in the newer-record count, and so on): 61 fail a test in a copy outside a git checkout, and the last one, which makes --no-git ask git anyway, fails two tests in the checkout.
  • python -I tools/gpu_results.py on this repository: 1.1 s for the 46 records including the commit distances; --check, --markdown and --json run on them too.
  • python -I on the 13 tests/test_docs_*.py, tests/test_i18n_index.py, tests/test_tool_stdout_encoding.py, tests/test_text_write_line_endings.py and tests/test_ci_registration.py; python -I scripts/check_no_game_data.py on the three files.
  • Not tested: Linux and macOS, Python 3.12, and no GPU test was run for this change (it reads records, it does not produce one).

GPUs tested: n/a

AI-assisted: yes

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 in this change.)

🤖 Generated with Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5513770469 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379). Originally posted by [syfyra](https://github.com/syfyra) on 2026-11-26T16:35:11Z. --- Claimed in the coordination issue as: GPU-RESULTS-OVERVIEW (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7197591142) Depends on: none. No open pull request changes these three files (checked with the `scripts/pr_overlap.py` of #2349); it does not touch `docs/gpu_test_results.md`, which 33 open pull requests edit, or any record. ### What and why `gpu-test-results/` holds 46 records and 35 open pull requests add 38 more, but nothing reads them. Which fixtures fail on which GPUs and drivers is only in their prose, and the hand-written table in `docs/gpu_test_results.md` lists 11 runs. `tools/gpu_results.py` parses the `Key: value` fields the records share and prints one overview: - a row per record: GPU and family, driver, how many commits its commit is behind `main`, the native and the wave64-emulated run of `run_gpu_tests.py` as passed/total with skips and failures, and the fixtures it lists as failed; - each failing fixture with the records and vendors it fails on, the newest record that lists it, and how many records taken at newer commits do not. A fixture that fails across vendors points at the fixture or the translator, one that fails on a single driver at that driver; - runs of another kind (a validation run, a filtered run) and the records it could not read in full. `--markdown` prints the record table for a document, `--json` everything as one object, and `--check` names each record that lacks `GPU`, `Driver`, `OS` or `Commit`, or whose `Commit` has no hash, and exits 1 when there is one. `gpu-test-results/README.md` states the format, which until now was "the format of the files there". What is read from prose is a convention, not a grammar: a run is a line with `N/M passed`, labelled by what stands before it or after it in parentheses; a failed fixture is one the `Failed:` field opens with, or one that starts a line of its own as `ps_c: ...`. A wrapped sentence that starts with a fixture that passes ("cs_d and cs_e pass with #N applied") is not counted. On the 46 records of `main` (30 NVIDIA, 12 AMD, 2 Apple, 1 Intel, 1 llvmpipe), with `main` at `56bdd7e88`: - `cs_imgload_tfe` and `cs_imgload_d16_tfe` are listed by 17 records on four vendors; the newest of them is 1,202 commits behind `main`, and 24 records taken at newer commits do not list them. - `cs_imgatomic_ext` is listed by 10 records (9 NVIDIA, 1 Apple), among them the newest record there is, so no newer record says it is gone. - All 46 pass `--check`. Of the 38 record files in open pull requests, 36 pass; the one in #2204 has no `GPU` and no `Driver` field and the one in #2238 no `OS` field. One thing for the reviewer to decide: `tests/test_gpu_results.py` also reads the repository's own records and fails for one that lacks a required field, so a pull request that adds such a record fails that test. That is the point of `--check`, but it would turn the two pull requests above red once this is merged; the test class `RepositoryRecordsTest` can be dropped without touching the rest. ### Tested Windows 11, Python 3.14.7, git 2.55.0: - `python -I tests/test_gpu_results.py`: 19 tests on synthetic records in the layouts the real files use (invented devices and numbers): fields and continuation lines, the short names, the run labels in the spellings the records use, the failed fixtures with wrapped prose, problems and notes, the fixture table and its ordering, commit distances on a throwaway git repository, the text, Markdown and JSON output, `--check`, and the repository's own 46 records. - The test file fails on `main`, where the tool does not exist. - 62 small changes to the tool (a field pattern that takes sentences, a comma that ends a name inside parentheses, the wrapped-prose rule removed, `<=` for `<` in the newer-record count, and so on): 61 fail a test in a copy outside a git checkout, and the last one, which makes `--no-git` ask git anyway, fails two tests in the checkout. - `python -I tools/gpu_results.py` on this repository: 1.1 s for the 46 records including the commit distances; `--check`, `--markdown` and `--json` run on them too. - `python -I` on the 13 `tests/test_docs_*.py`, `tests/test_i18n_index.py`, `tests/test_tool_stdout_encoding.py`, `tests/test_text_write_line_endings.py` and `tests/test_ci_registration.py`; `python -I scripts/check_no_game_data.py` on the three files. - Not tested: Linux and macOS, Python 3.12, and no GPU test was run for this change (it reads records, it does not produce one). GPUs tested: n/a AI-assisted: yes ### 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. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (No translator rule in this change.) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
wavehs commented 2026-11-26 18:43:40 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by wavehs on 2026-11-26T18:43:40Z.

Review: COMMENTED


macOS arm64 check of #2379 (GPU-RESULTS-OVERVIEW). A new standard-library tool, its test, and a README; no GPU or build involved.

Tested head 346117c24 with its diff applied to a copy of main bdbc7e923 (branch 15 commits behind; git apply / git merge-tree clean).

Environment: Apple M3 Pro, arm64, macOS 27.2.1, CPython 3.15.2.

Result

  • python -I tests/test_gpu_results.py: 19 tests, OK.
  • Run over the repository's own 46 records: --check prints 46 record(s) checked, 0 to fix and exits 0 (three notes: two records with more failures than fixture names, one record with no readable run); --json and --markdown exit 0 and produce the expected shapes; the text table lists 46 records and the fixture section.
  • Negative control (new test kept, one rule at a time sabotaged in tools/gpu_results.py, then restored):
    • dropping the ENTRY_END condition in parse_failed - 4 failures (test_a_full_record, test_failed_fixtures_are_the_ones_the_field_opens_with_or_gives_a_line_of_their_own, and both report tests);
    • ignoring the distance in newer_without - 1 failure (test_newer_records_that_no_longer_list_a_fixture_are_counted);
    • reading Failed: none as fixture names - 1 failure (the parse_failed test).
      So the parsing and the report are pinned, not just the CLI.
  • python -I scripts/check_no_game_data.py tools/gpu_results.py tests/test_gpu_results.py gpu-test-results/README.md: clean.
  • tests/test_docs_*.py (links, CLI flags, table rows/ids, repo paths, repeated lines, list items, encoding): all OK on the applied tree.

Finding: one record in main is invisible to the tool, and --check passes it

gpu-test-results/V100-SXM2.txt (merged as 01bf18d94) opens its runs with

run_gpu_tests.py, 256 fixtures; 265 shaders translated, 264 pass spirv-val in every run:
            native:                                       193/256 passed, 62 skipped, 1 failed
            LEONIDA_W64_EMULATE=1:                        224/256 passed, 31 skipped, 1 failed

FIELD (tools/gpu_results.py:51) forbids a comma in the key, so that line starts no field; the three indented run lines become a continuation of the preceding Build: field, and parse_runs (:120-121) only looks at keys starting with run_gpu_tests.py. The overview therefore prints - / - for V100 and loses 256 fixtures of coverage, and the 1 failed in each run is never tied to a fixture (the record also has no Failed: field; it names cs_imgstore_cube in prose instead). --check reduces all of it to the note no run_gpu_tests.py line with N/M passed`` and exits 0, so a new record written this way would pass the check the PR adds for exactly this purpose.

The data is there and one line recovers it: treating any line that starts with run_gpu_tests.py as its own field (before the comma rule is applied) yields the three runs as intended - native 193/256 62s 1f, emulated 224/256 31s 1f, and the fallback run 237/256 18s 1f under "Other runs" - which is what the record says. I verified that patch on the merged tree; I did not change the repository.

Two smaller things, not defects:

  • --no-git (and any run outside a checkout) prints ? for every behind, with the legend line explaining it; correct, just worth knowing for the --markdown output pasted into a document without .git.
  • For RTX2060SUPER and RTX5070 the note 8 failed in a run, 1 fixture name(s) read from Failed is right: those records list one fixture and then prose. The tool reporting the gap instead of inventing names is the behaviour I want, so I would keep the note as a note.

No GPU fixtures were run: this PR touches no translator, runtime or harness code, so the same-main baseline stands (195 PASS / 3 FAIL / 70 SKIP MoltenVK, 190 / 5 / 73 KosmicKrisp).

No game files. AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6079117873 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379#pullrequestreview-6079117873). Originally posted by [wavehs](https://github.com/wavehs) on 2026-11-26T18:43:40Z. **Review:** COMMENTED --- **macOS arm64 check of #2379** (GPU-RESULTS-OVERVIEW). A new standard-library tool, its test, and a README; no GPU or build involved. Tested head `346117c24` with its diff applied to a copy of `main` `bdbc7e923` (branch 15 commits behind; `git apply` / `git merge-tree` clean). Environment: Apple M3 Pro, arm64, macOS 27.2.1, CPython 3.15.2. **Result** - `python -I tests/test_gpu_results.py`: 19 tests, OK. - Run over the repository's own 46 records: `--check` prints `46 record(s) checked, 0 to fix` and exits 0 (three notes: two records with more failures than fixture names, one record with no readable run); `--json` and `--markdown` exit 0 and produce the expected shapes; the text table lists 46 records and the fixture section. - Negative control (new test kept, one rule at a time sabotaged in `tools/gpu_results.py`, then restored): - dropping the `ENTRY_END` condition in `parse_failed` - 4 failures (`test_a_full_record`, `test_failed_fixtures_are_the_ones_the_field_opens_with_or_gives_a_line_of_their_own`, and both report tests); - ignoring the distance in `newer_without` - 1 failure (`test_newer_records_that_no_longer_list_a_fixture_are_counted`); - reading `Failed: none` as fixture names - 1 failure (the `parse_failed` test). So the parsing and the report are pinned, not just the CLI. - `python -I scripts/check_no_game_data.py tools/gpu_results.py tests/test_gpu_results.py gpu-test-results/README.md`: clean. - `tests/test_docs_*.py` (links, CLI flags, table rows/ids, repo paths, repeated lines, list items, encoding): all OK on the applied tree. **Finding: one record in `main` is invisible to the tool, and `--check` passes it** `gpu-test-results/V100-SXM2.txt` (merged as `01bf18d94`) opens its runs with ``` run_gpu_tests.py, 256 fixtures; 265 shaders translated, 264 pass spirv-val in every run: native: 193/256 passed, 62 skipped, 1 failed LEONIDA_W64_EMULATE=1: 224/256 passed, 31 skipped, 1 failed ``` `FIELD` (`tools/gpu_results.py:51`) forbids a comma in the key, so that line starts no field; the three indented run lines become a continuation of the preceding `Build:` field, and `parse_runs` (`:120-121`) only looks at keys starting with `run_gpu_tests.py`. The overview therefore prints `-` / `-` for V100 and loses 256 fixtures of coverage, and the `1 failed` in each run is never tied to a fixture (the record also has no `Failed:` field; it names `cs_imgstore_cube` in prose instead). `--check` reduces all of it to the note `no run_gpu_tests.py line with `N/M passed`` and exits 0, so a new record written this way would pass the check the PR adds for exactly this purpose. The data is there and one line recovers it: treating any line that starts with `run_gpu_tests.py` as its own field (before the comma rule is applied) yields the three runs as intended - `native 193/256 62s 1f`, `emulated 224/256 31s 1f`, and the fallback run `237/256 18s 1f` under "Other runs" - which is what the record says. I verified that patch on the merged tree; I did not change the repository. Two smaller things, not defects: - `--no-git` (and any run outside a checkout) prints `?` for every `behind`, with the legend line explaining it; correct, just worth knowing for the `--markdown` output pasted into a document without `.git`. - For RTX2060SUPER and RTX5070 the note `8 failed in a run, 1 fixture name(s) read from Failed` is right: those records list one fixture and then prose. The tool reporting the gap instead of inventing names is the behaviour I want, so I would keep the note as a note. No GPU fixtures were run: this PR touches no translator, runtime or harness code, so the same-main baseline stands (195 PASS / 3 FAIL / 70 SKIP MoltenVK, 190 / 5 / 73 KosmicKrisp). No game files. AI-assisted.
akimfomin commented 2026-11-27 22:46:29 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by akimfomin on 2026-11-27T22:46:29Z.


PortBridge checked the exact parser at 346117c against the merged V100 record. The parser finds the required metadata and leaves the fatal-check list empty, but drops all three runs and cs_imgstore_cube. Both section headings contain a comma, so they are absorbed into the preceding field. Replacing just the two headings in a copy with run_gpu_tests.py: and Failed: restores 193/256, 224/256 and 237/256, with one failure each, and puts cs_imgstore_cube in the failure table. Changing either heading alone restores only that section.

Would you prefer a narrowly scoped parser regression using this public record, or a separate heading-only cleanup of the legacy record? Either can preserve every measurement. Until then, the overview cannot establish Volta coverage even though the record passes its metadata check. PortBridge reproduced this with Codex. The hardware record remains credited to 31415-n.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7229606837 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379#issuecomment-7229606837). Originally posted by [akimfomin](https://github.com/akimfomin) on 2026-11-27T22:46:29Z. --- PortBridge checked the exact parser at `346117c` against [the merged V100 record](https://github.com/ProjectLeonida/mandy/blob/aa1d1013d363ba9ad4d514ba3eb174813dae5629/gpu-test-results/V100-SXM2.txt). The parser finds the required metadata and leaves the fatal-check list empty, but drops all three runs and `cs_imgstore_cube`. Both section headings contain a comma, so they are absorbed into the preceding field. Replacing just the two headings in a copy with `run_gpu_tests.py:` and `Failed:` restores 193/256, 224/256 and 237/256, with one failure each, and puts `cs_imgstore_cube` in the failure table. Changing either heading alone restores only that section. Would you prefer a narrowly scoped parser regression using this public record, or a separate heading-only cleanup of the legacy record? Either can preserve every measurement. Until then, the overview cannot establish Volta coverage even though the record passes its metadata check. [PortBridge](https://github.com/akimfomin/PortBridge) reproduced this with Codex. The hardware record remains credited to 31415-n.
imShangLi commented 2026-12-01 05:11:54 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by imShangLi on 2026-12-01T05:11:54Z.


claiming: VERIFY-2379

New tool (tools/gpu_results.py, 355 lines) with its own 354-line test and the README that documents the record format. No verification comment on it. It is all standard library and reads the 78 .txt records already in the repository, so it is testable here without game files or a GPU.

Method: the same three rows as my last batch, plus a functional pass — for a new tool the reverse control on its own only proves the module is missing (ModuleNotFoundError), which says nothing about whether the parser reads correctly. So I will also compare what it prints against the raw text of the records it reads, and check --check's exit code and what it names.

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7301519565 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379#issuecomment-7301519565). Originally posted by [imShangLi](https://github.com/imShangLi) on 2026-12-01T05:11:54Z. --- claiming: VERIFY-2379 New tool (`tools/gpu_results.py`, 355 lines) with its own 354-line test and the README that documents the record format. No verification comment on it. It is all standard library and reads the 78 `.txt` records already in the repository, so it is testable here without game files or a GPU. Method: the same three rows as my last batch, plus a functional pass — for a **new** tool the reverse control on its own only proves the module is missing (`ModuleNotFoundError`), which says nothing about whether the parser reads correctly. So I will also compare what it prints against the raw text of the records it reads, and check `--check`'s exit code and what it names. AI-assisted.
imShangLi commented 2026-12-01 05:15:04 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by imShangLi on 2026-12-01T05:15:04Z.


VERIFY-2379 — Linux, Python 3.15, CPU only, no game files

Claimed as VERIFY-2379.

Verdict: the tool is correct and reads the records accurately, and it is green on its own base. Merging it into main today turns it red, and the reviewer decision the description already asks for has moved from "two open pull requests" to "main itself".

tree python3 -I tests/test_gpu_results.py
main 86c30fce test file does not exist yet
main + this pull request 19 tests, FAILED (failures=3)
main + this pull request, with gpu-test-results/ rolled back to this pull request's base 19 tests, OK
main + only this pull request's test file (tools/gpu_results.py absent) ModuleNotFoundError

Row 3 is the isolation: same code, same tool, only the 78 records swapped for the 46 that existed when the branch was written (its base 56bdd7e8). It goes green. Nothing in the change is wrong about itself — and the description's own claim, "All 46 pass --check", reproduces exactly.

The three failures are one cause

FAIL: test_every_record_in_the_repository_has_the_required_fields (record='PR1608-Radeon860M-RTX5060Laptop-Win11.txt')
  AssertionError: ['no GPU field', 'no Driver field'] != []

FAIL: test_every_record_in_the_repository_has_the_required_fields (record='RTX4080-Windows-62101-validated.txt')
  AssertionError: ['no Commit field'] != []

FAIL: test_the_default_folder_is_the_repositorys
  code = gpu_results.main(["--check"])   ->   1, ''   expected  0, ''

The third is those same two records: --check exits 1 when a record needs fixing, and that test asserts it returns 0.

$ python3 -I tools/gpu_results.py --check
PR1608-Radeon860M-RTX5060Laptop-Win11.txt: no GPU field
PR1608-Radeon860M-RTX5060Laptop-Win11.txt: no Driver field
RTX4080-Windows-62101-validated.txt: no Commit field
78 record(s) checked, 2 to fix
exit=1

The parser reports exactly what is missing and nothing else. It reads Commit: and OS: from the first record, and GPU:/Driver:/OS: from the second — the second has GPU: on line 18 and Driver: on line 19, and only Commit: is absent. That is a correct parser meeting non-conforming data.

Both records hold the information under other keys or in prose:

RTX4080-Windows-62101-validated.txt:7   Baseline: 02f71ccfe78160997a02950607be583af87e1180   <- a commit hash
PR1608-...-Win11.txt:9                  AMD Radeon 860M: driver 26.11.2, Vulkan 1.4.359
PR1608-...-Win11.txt:10                 NVIDIA RTX 5060 Laptop GPU: driver 621.24, Vulkan 1.4.357

This is the outcome the description predicted — but already on main, not on the two pull requests

The description ends "What and why" with a reviewer decision, quoted here because it is the thing to decide:

One thing for the reviewer to decide: tests/test_gpu_results.py also reads the repository's own records and fails for one that lacks a required field ... but it would turn the two pull requests above red once this is merged; the test class RepositoryRecordsTest can be dropped without touching the rest.

and it names them: "the one in #2204 has no GPU and no Driver field and the one in #2238 no OS field."

Two things have happened since that was written:

  1. #2204 is merged (2026-11-28) — PR1608-Radeon860M-RTX5060Laptop-Win11.txt is now a file in gpu-test-results/, not in an open pull request. So the consequence is no longer that two open pull requests go red; main is red the moment this merges, on its own RepositoryRecordsTest.
  2. A second record the description does not list fails it: RTX4080-Windows-62101-validated.txt, missing Commit:, which reached main through 54b811aa rather than through #2204 or #2238.

#2238 is still open, so its record is not in main yet and is not one of these three failures.

Neither fact is a defect in this pull request — the records are the repository's, and the base is 56bdd7e8, while gpu-test-results/ went from 46 to 78 files after it. But it does sharpen the decision: dropping RepositoryRecordsTest (the option the description offers) turns these three failures off with no other change, and keeping it means this lands red until the two records are corrected.

What I measured about the tool itself

Cross-checked its output against the raw text of a record it reads:

parsed   780M.txt   AMD Radeon 780M Graphics (RDNA3 iGPU)   AMD proprietary 26.10.2   243/263 18s 2f   cs_imgatomic_ext, cs_texture_uav
raw      line 1  GPU:        AMD Radeon 780M Graphics (RDNA3 iGPU, gfx1103, WDDM 3.2, 16 GB shared)
raw      line 2  Driver:     AMD proprietary 26.10.2 (32.0.32015.12012, LLPC), Vulkan 1.4.359
raw      line 12 Native: 243/263 passed, 18 skipped, 2 failed.
raw      line 14 Failed:     cs_imgatomic_ext: 6 of 64 sint words differ; ...

Vendor totals over all 78 records add up: NVIDIA 47, AMD 20, Apple 5, Intel 4, other 1, software 1 = 78.

The other option, if keeping the test

Correct the two records rather than drop the check — both fixes are three lines of data:

  • RTX4080-Windows-62101-validated.txt: Commit: 02f71ccfe78160997a02950607be583af87e1180 (its existing Baseline: value);
  • PR1608-Radeon860M-RTX5060Laptop-Win11.txt: GPU: and Driver: lines for the two adapters it names on lines 9-10.

I have not changed any file.

AI-assisted: yes — MiMo-V2.6-Flash (OpenCode). It built the worktrees, ran the isolation row, cross-checked the parser against record text and drafted this report.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7301573747 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379#issuecomment-7301573747). Originally posted by [imShangLi](https://github.com/imShangLi) on 2026-12-01T05:15:04Z. --- ### VERIFY-2379 — Linux, Python 3.15, CPU only, no game files Claimed as `VERIFY-2379`. **Verdict: the tool is correct and reads the records accurately, and it is green on its own base. Merging it into `main` today turns it red, and the reviewer decision the description already asks for has moved from "two open pull requests" to "`main` itself".** | tree | `python3 -I tests/test_gpu_results.py` | |---|---| | `main` `86c30fce` | test file does not exist yet | | `main` + this pull request | 19 tests, **FAILED (failures=3)** | | `main` + this pull request, with `gpu-test-results/` rolled back to this pull request's base | **19 tests, OK** | | `main` + only this pull request's test file (`tools/gpu_results.py` absent) | `ModuleNotFoundError` | Row 3 is the isolation: same code, same tool, only the 78 records swapped for the 46 that existed when the branch was written (its base `56bdd7e8`). It goes green. Nothing in the change is wrong about itself — and the description's own claim, **"All 46 pass `--check`"**, reproduces exactly. #### The three failures are one cause ``` FAIL: test_every_record_in_the_repository_has_the_required_fields (record='PR1608-Radeon860M-RTX5060Laptop-Win11.txt') AssertionError: ['no GPU field', 'no Driver field'] != [] FAIL: test_every_record_in_the_repository_has_the_required_fields (record='RTX4080-Windows-62101-validated.txt') AssertionError: ['no Commit field'] != [] FAIL: test_the_default_folder_is_the_repositorys code = gpu_results.main(["--check"]) -> 1, '' expected 0, '' ``` The third is those same two records: `--check` exits 1 when a record needs fixing, and that test asserts it returns 0. ``` $ python3 -I tools/gpu_results.py --check PR1608-Radeon860M-RTX5060Laptop-Win11.txt: no GPU field PR1608-Radeon860M-RTX5060Laptop-Win11.txt: no Driver field RTX4080-Windows-62101-validated.txt: no Commit field 78 record(s) checked, 2 to fix exit=1 ``` **The parser reports exactly what is missing and nothing else.** It reads `Commit:` and `OS:` from the first record, and `GPU:`/`Driver:`/`OS:` from the second — the second has `GPU:` on line 18 and `Driver:` on line 19, and only `Commit:` is absent. That is a correct parser meeting non-conforming data. Both records hold the information under other keys or in prose: ``` RTX4080-Windows-62101-validated.txt:7 Baseline: 02f71ccfe78160997a02950607be583af87e1180 <- a commit hash PR1608-...-Win11.txt:9 AMD Radeon 860M: driver 26.11.2, Vulkan 1.4.359 PR1608-...-Win11.txt:10 NVIDIA RTX 5060 Laptop GPU: driver 621.24, Vulkan 1.4.357 ``` #### This is the outcome the description predicted — but already on `main`, not on the two pull requests The description ends "What and why" with a reviewer decision, quoted here because it is the thing to decide: > One thing for the reviewer to decide: `tests/test_gpu_results.py` also reads the repository's own records and fails for one that lacks a required field ... but it would turn **the two pull requests above** red once this is merged; the test class `RepositoryRecordsTest` can be dropped without touching the rest. and it names them: "the one in **#2204** has no `GPU` and no `Driver` field and the one in **#2238** no `OS` field." Two things have happened since that was written: 1. **#2204 is merged** (2026-11-28) — `PR1608-Radeon860M-RTX5060Laptop-Win11.txt` is now a file in `gpu-test-results/`, not in an open pull request. So the consequence is no longer that two open pull requests go red; **`main` is red the moment this merges**, on its own `RepositoryRecordsTest`. 2. **A second record the description does not list** fails it: `RTX4080-Windows-62101-validated.txt`, missing `Commit:`, which reached `main` through `54b811aa` rather than through #2204 or #2238. `#2238` is still open, so its record is not in `main` yet and is not one of these three failures. Neither fact is a defect in this pull request — the records are the repository's, and the base is `56bdd7e8`, while `gpu-test-results/` went from **46 to 78** files after it. But it does sharpen the decision: dropping `RepositoryRecordsTest` (the option the description offers) turns these three failures off with no other change, and keeping it means this lands red until the two records are corrected. #### What I measured about the tool itself Cross-checked its output against the raw text of a record it reads: ``` parsed 780M.txt AMD Radeon 780M Graphics (RDNA3 iGPU) AMD proprietary 26.10.2 243/263 18s 2f cs_imgatomic_ext, cs_texture_uav raw line 1 GPU: AMD Radeon 780M Graphics (RDNA3 iGPU, gfx1103, WDDM 3.2, 16 GB shared) raw line 2 Driver: AMD proprietary 26.10.2 (32.0.32015.12012, LLPC), Vulkan 1.4.359 raw line 12 Native: 243/263 passed, 18 skipped, 2 failed. raw line 14 Failed: cs_imgatomic_ext: 6 of 64 sint words differ; ... ``` Vendor totals over all 78 records add up: `NVIDIA 47, AMD 20, Apple 5, Intel 4, other 1, software 1 = 78`. #### The other option, if keeping the test Correct the two records rather than drop the check — both fixes are three lines of data: - `RTX4080-Windows-62101-validated.txt`: `Commit: 02f71ccfe78160997a02950607be583af87e1180` (its existing `Baseline:` value); - `PR1608-Radeon860M-RTX5060Laptop-Win11.txt`: `GPU:` and `Driver:` lines for the two adapters it names on lines 9-10. I have not changed any file. AI-assisted: yes — MiMo-V2.6-Flash (OpenCode). It built the worktrees, ran the isolation row, cross-checked the parser against record text and drafted this report.
deleted-user commented 2026-12-01 11:51:17 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by deleted-user on 2026-12-01T11:51:17Z.

Review: COMMENTED


Draft review note: GPU-RESULTS-OVERVIEW (tools/gpu_results.py, tests/test_gpu_results.py, gpu-test-results/README.md) remains a draft with no CI run, and independent testing against current main found 3 failures in tests/test_gpu_results.py on the expanded gpu-test-results/ corpus (plus dropped runs/failures on comma-containing section headings such as gpu-test-results/V100-SXM2.txt). Please update the parser/tests against current main, run CI to green, and mark ready for review.

(AI-assisted review.)

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6130681863 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379#pullrequestreview-6130681863). Originally posted by [deleted-user](https://github.com/deleted-user) on 2026-12-01T11:51:17Z. **Review:** COMMENTED --- Draft review note: `GPU-RESULTS-OVERVIEW` (`tools/gpu_results.py`, `tests/test_gpu_results.py`, `gpu-test-results/README.md`) remains a draft with no CI run, and independent testing against current `main` found 3 failures in `tests/test_gpu_results.py` on the expanded `gpu-test-results/` corpus (plus dropped runs/failures on comma-containing section headings such as `gpu-test-results/V100-SXM2.txt`). Please update the parser/tests against current `main`, run CI to green, and mark ready for review. *(AI-assisted review.)*
aslan2142 commented 2026-12-01 12:33:39 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T12:33:39Z.


Marking Ready for Review since no WIP/blocker reason for draft status is specified on this PR, so it can enter normal CI and review.

(AI-assisted triage.)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7311315460 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379#issuecomment-7311315460). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T12:33:39Z. --- Marking Ready for Review since no WIP/blocker reason for draft status is specified on this PR, so it can enter normal CI and review. *(AI-assisted triage.)*
merzleckeier commented 2026-12-01 12:56:28 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-01T12:56:28Z.


Isolated the V100 heading-loss issue reported above at 346117c2 + c95183fd8. A synthetic record with run_gpu_tests.py, ...: and Failed in all runs, ...: loses both sections on the PR as written. My local change recognizes those two prefixes before the generic field regex. The new targeted test then passes while a prose line with a comma is still ignored. On the existing V100 record the output changed from 0 to 3 run rows and 0 to 1 named failed fixture. All 18 parser/overview/CLI tests pass with that local change. The full suite still reports the same three failures involving the two records with missing required metadata.

AI-assisted with OpenAI Codex.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7311870509 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379#issuecomment-7311870509). Originally posted by [merzleckeier](https://github.com/merzleckeier) on 2026-12-01T12:56:28Z. --- Isolated the V100 heading-loss issue reported above at `346117c2` + `c95183fd8`. A synthetic record with `run_gpu_tests.py, ...:` and `Failed in all runs, ...:` loses both sections on the PR as written. My local change recognizes those two prefixes before the generic field regex. The new targeted test then passes while a prose line with a comma is still ignored. On the existing V100 record the output changed from 0 to 3 run rows and 0 to 1 named failed fixture. All 18 parser/overview/CLI tests pass with that local change. The full suite still reports the same three failures involving the two records with missing required metadata. AI-assisted with OpenAI Codex.
deleted-user commented 2026-12-01 13:01:19 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by deleted-user on 2026-12-01T13:01:19Z.

Review: CHANGES_REQUESTED


Now ready for review, requesting changes before merge:

  • Test failures against current main's gpu-test-results/ corpus: as reproduced by @imShangLi, python -I tests/test_gpu_results.py fails 3 cases on current main (test_every_record_in_the_repository_has_the_required_fields on PR1608-Radeon860M-RTX5060Laptop-Win11.txt and RTX4080-Windows-62101-validated.txt, plus test_the_default_folder_is_the_repositorys because --check exits 1).
  • Comma-heading parser drop (tools/gpu_results.py:51): as confirmed by @wavehs and @akimfomin, FIELD rejects commas in field names, causing gpu-test-results/V100-SXM2.txt (run_gpu_tests.py, 256 fixtures; ...:) to drop all three runs and cs_imgstore_cube while --check still exits 0.
  • CI: no CI runs on the current head yet; please resolve the above and get fresh green CI.

(AI-assisted review.)

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6131755785 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379#pullrequestreview-6131755785). Originally posted by [deleted-user](https://github.com/deleted-user) on 2026-12-01T13:01:19Z. **Review:** CHANGES_REQUESTED --- Now ready for review, requesting changes before merge: - **Test failures against current `main`'s `gpu-test-results/` corpus**: as reproduced by `@imShangLi`, `python -I tests/test_gpu_results.py` fails 3 cases on current `main` (`test_every_record_in_the_repository_has_the_required_fields` on `PR1608-Radeon860M-RTX5060Laptop-Win11.txt` and `RTX4080-Windows-62101-validated.txt`, plus `test_the_default_folder_is_the_repositorys` because `--check` exits 1). - **Comma-heading parser drop (`tools/gpu_results.py:51`)**: as confirmed by `@wavehs` and `@akimfomin`, `FIELD` rejects commas in field names, causing `gpu-test-results/V100-SXM2.txt` (`run_gpu_tests.py, 256 fixtures; ...:`) to drop all three runs and `cs_imgstore_cube` while `--check` still exits 0. - **CI**: no CI runs on the current head yet; please resolve the above and get fresh green CI. *(AI-assisted review.)*
andrew-ai commented 2026-12-02 00:44:23 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by andrew-ai on 2026-12-02T00:44:23Z.


The Markdown overview at 346117c2 reports none under Failed for gpu-test-results/RTX5070-61692-Windows.txt from main d741a9f8f, alongside 212/271 57s 2f and 249/271 20s 2f. That record explicitly names cs_imgatomic_ext and cs_texture_uav under Failed (in both profiles):. parse_fields retains the full heading, then parse_failed skips it because the key differs from Failed. Changing only that heading to Failed: in memory made the unmodified parser recover both names, so the bullet syntax already works. This record would make a regression case for recognizing the qualified heading. When a run reports failures and no names are parsed, displaying unparsed would also avoid a misleading clean result. This is a report-parser check against committed data. Codex-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7330902518 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379#issuecomment-7330902518). Originally posted by [andrew-ai](https://github.com/andrew-ai) on 2026-12-02T00:44:23Z. --- The Markdown overview at 346117c2 reports `none` under Failed for `gpu-test-results/RTX5070-61692-Windows.txt` from main d741a9f8f, alongside `212/271 57s 2f` and `249/271 20s 2f`. That record explicitly names cs_imgatomic_ext and cs_texture_uav under `Failed (in both profiles):`. parse_fields retains the full heading, then parse_failed skips it because the key differs from `Failed`. Changing only that heading to `Failed:` in memory made the unmodified parser recover both names, so the bullet syntax already works. This record would make a regression case for recognizing the qualified heading. When a run reports failures and no names are parsed, displaying `unparsed` would also avoid a misleading clean result. This is a report-parser check against committed data. Codex-assisted.
MoonEyes commented 2026-12-02 10:32:52 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T10:32:52Z.


For information: this pull request is carried in #3095, which merges your head (your commits are kept) into current main, resolves the conflicts keeping both sides, and fixes the points raised in review here (details in its description). This one stays open until a maintainer decides; if you pick it up again, say so and the carry can be closed.

AI-assisted (Claude Code, Claude Opus 5.5)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7342629695 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379#issuecomment-7342629695). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-02T10:32:52Z. --- For information: this pull request is carried in #3095, which merges your head (your commits are kept) into current `main`, resolves the conflicts keeping both sides, and fixes the points raised in review here (details in its description). This one stays open until a maintainer decides; if you pick it up again, say so and the carry can be closed. AI-assisted (Claude Code, Claude Opus 5.5)
MoonEyes commented 2026-12-02 18:03:31 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T18:03:31Z.


Superseded by #3095, not re-verified here.

  • Head: 346117c24, merge base 56bdd7e88, 3103 commits behind main 45dc41f95.
  • #3095 is the carry of this pull request (open, mergeable_state: clean, updated 2 December). It keeps these commits, merges current main, and addresses the review points raised here: the V100 heading loss, and none shown under Failed.
  • CI on this head: the CI and No Game Data runs are waiting on maintainer approval (action_required).

Verdict: superseded. Verify #3095 instead, and close this one once that lands.

AI-assisted verification: Claude Opus (Claude Code), separate agent per batch.


Generated by Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7353901531 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379#issuecomment-7353901531). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-02T18:03:31Z. --- **Superseded by #3095, not re-verified here.** - Head: `346117c24`, merge base `56bdd7e88`, 3103 commits behind `main` `45dc41f95`. - #3095 is the carry of this pull request (open, `mergeable_state: clean`, updated 2 December). It keeps these commits, merges current `main`, and addresses the review points raised here: the V100 heading loss, and `none` shown under Failed. - CI on this head: the CI and No Game Data runs are waiting on maintainer approval (`action_required`). Verdict: **superseded**. Verify #3095 instead, and close this one once that lands. AI-assisted verification: Claude Opus (Claude Code), separate agent per batch. --- _Generated by [Claude Code](https://claude.ai/code)_
fiestorra commented 2026-12-03 03:44:38 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-03T03:44:38Z.


VERIFY-2379 — la herramienta de resumen de resultados: 19 tests y 46 subtests pasan

Dos ficheros nuevos, tools/gpu_results.py +355 y tests/test_gpu_results.py +354, seis días abierto.

pytest tests/test_gpu_results.py -q     19 passed, 46 subtests passed   (1.2 s)

Y lo que la herramienta hace, por su título: lee los registros de gpu-test-results/ en una sola vista — la misma carpeta que #1741 acaba de documentar con un índice escrito a mano, y la que #2985 acaba de ampliar con una RTX 5050.

Así que hay tres pull requests sobre el mismo material y ninguno sabe de los otros:

  • #1741 — el índice a mano en docs/gpu_test_results.md;
  • #2379 — una herramienta que genera esa vista desde los ficheros;
  • #2985 — un registro nuevo.

Y eso no es un problema de los tres, es el orden en que llegaron: si #2379 entra, el índice de #1741 es lo que la herramienta debería escribir — y #1741 ya dice en su texto que un resultado nuevo es «un pull request que añade un fichero», no una fila editada a mano. Las dos ideas coinciden; lo que falta es que se junten.

Lo que verifiqué y lo que no: los 19 tests y sus 46 subtests pasan, y el diff es una herramienta nueva con su suite, así que no hay nada existente que romper. No comprobé que lea los 20 registros reales — eso es un comando (python -I tools/gpu_results.py), y lo hago si el autor quiere que lo cuente en el comentario de la PR.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7366887734 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379#issuecomment-7366887734). Originally posted by [fiestorra](https://github.com/fiestorra) on 2026-12-03T03:44:38Z. --- ## VERIFY-2379 — la herramienta de resumen de resultados: 19 tests y 46 subtests pasan **Dos ficheros nuevos, `tools/gpu_results.py` +355 y `tests/test_gpu_results.py` +354, seis días abierto.** ``` pytest tests/test_gpu_results.py -q 19 passed, 46 subtests passed (1.2 s) ``` **Y lo que la herramienta hace, por su título**: **lee los registros de `gpu-test-results/` en una sola vista** — **la misma carpeta que `#1741` acaba de documentar con un índice escrito a mano**, **y la que `#2985` acaba de ampliar con una RTX 5050.** **Así que hay tres pull requests sobre el mismo material y ninguno sabe de los otros**: - **`#1741`** — **el índice a mano en `docs/gpu_test_results.md`**; - **`#2379`** — **una herramienta que genera esa vista desde los ficheros**; - **`#2985`** — **un registro nuevo.** **Y eso no es un problema de los tres, es el orden en que llegaron**: **si `#2379` entra, el índice de `#1741` es lo que la herramienta debería escribir** — **y `#1741` ya dice en su texto que un resultado nuevo es «un pull request que añade un fichero», no una fila editada a mano.** **Las dos ideas coinciden; lo que falta es que se junten.** **Lo que verifiqué y lo que no**: **los 19 tests y sus 46 subtests pasan**, **y el diff es una herramienta nueva con su suite, así que no hay nada existente que romper.** **No comprobé que lea los 20 registros reales** — **eso es un comando** (`python -I tools/gpu_results.py`), **y lo hago si el autor quiere que lo cuente en el comentario de la PR.**
fiestorra commented 2026-12-03 03:44:57 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-03T03:44:57Z.


Y el comando que dije que haría «si el autor quiere» — lo hice: 46 registros, y el orden es por GPU

Es la tercera vez esta noche que escribo «lo hago si alguien quiere» y la tercera que termino haciéndolo. El comando:

python -I tools/gpu_results.py
→ exit 0
   46 record(s): NVIDIA 30, AMD 12, Apple 2, Intel 1, software 1
   behind: commits of origin/main that the record's commit does not have; ? when git cannot tell
   runs: passed/total, s skipped, f failed
   record                          GPU
   Raphael-610M.txt                AMD Radeon 610M, Ryzen 9 7900X integrated (RDNA2)
   780M.txt                        AMD Radeon 780M Graphics (RDNA3 iGPU)
   …

Funciona sobre los ficheros reales del repositorio, y lo lee todo: 46 registros, agrupados por fabricante, con la columna «behind» que dice cuántos commits de main no tiene el registro.

Esa columna es la mejor idea de la herramienta y no la había visto en el título: un registro de resultados envejece, y «este se midió sobre un main de hace 12 commits» es la información que convierte una tabla en un instrumento. Y el ? cuando git no puede saberlo es la honestidad de no inventar un número.

Así que corrijo lo que dije hace un minuto: no hay nada que preguntar al autor sobre si lee los registros reales — los lee. Lo que queda de mi comentario anterior sigue en pie: #1741 escribe a mano el índice que esta herramienta genera, y esas dos deberían juntarse.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7366893469 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379#issuecomment-7366893469). Originally posted by [fiestorra](https://github.com/fiestorra) on 2026-12-03T03:44:57Z. --- ## Y el comando que dije que haría «si el autor quiere» — lo hice: 46 registros, y el orden es por GPU **Es la tercera vez esta noche que escribo «lo hago si alguien quiere» y la tercera que termino haciéndolo.** **El comando:** ``` python -I tools/gpu_results.py → exit 0 46 record(s): NVIDIA 30, AMD 12, Apple 2, Intel 1, software 1 behind: commits of origin/main that the record's commit does not have; ? when git cannot tell runs: passed/total, s skipped, f failed record GPU Raphael-610M.txt AMD Radeon 610M, Ryzen 9 7900X integrated (RDNA2) 780M.txt AMD Radeon 780M Graphics (RDNA3 iGPU) … ``` **Funciona sobre los ficheros reales del repositorio**, **y lo lee todo**: **46 registros, agrupados por fabricante, con la columna «behind» que dice cuántos commits de `main` no tiene el registro.** **Esa columna es la mejor idea de la herramienta y no la había visto en el título**: **un registro de resultados envejece, y «este se midió sobre un `main` de hace 12 commits» es la información que convierte una tabla en un instrumento.** **Y el `?` cuando git no puede saberlo es la honestidad de no inventar un número.** **Así que corrijo lo que dije hace un minuto**: **no hay nada que preguntar al autor sobre si lee los registros reales — los lee.** **Lo que queda de mi comentario anterior sigue en pie**: **`#1741` escribe a mano el índice que esta herramienta genera**, **y esas dos deberían juntarse.**
fiestorra commented 2026-12-03 07:29:10 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-03T07:29:10Z.


Medido para esta PR: los 80 ficheros de gpu-test-results/ tienen dos formatos, no uno

Lo comprobé porque es el dato que decide si un lector automático sirve o no: 74 ficheros empiezan con el bloque GPU: / Driver: / OS: / Commit:, y 6 no — pero no porque estén incompletos: son de otra clase.

IntelARL.txt                            un bloque "UPDATE 2026-11-25, re-run on current main"
                                        encima de la medición anterior, que se conserva
PR1608-Radeon860M-RTX5060Laptop-Win11.txt   un informe de validación de una claim:
                                        "Claim: …" / "Claims covered: …" / "Commit:" / "OS:" / CPU / VRAM
RTX4080-Windows-62101-validated.txt     otro informe de validación:
                                        "Claim: GPU-RTX4080-62101-02F71CCF" / "Baseline:" / "PR #1518:"
RadeonProVegaII-RADV.txt, RTX5060Laptop.txt, RX7900XTX.txt   sin las etiquetas, con la misma información en prosa

Así que el formato no es «campos fijos» sino «un registro por medición con lo que esa medición necesitó contar», y los seis de arriba son justo los que tienen algo más que decir (una re-medición, una claim ajena validada, un PR concreto comparado).

Lo que eso significa para gpu_results.py, y es lo único que le pediría al autor:

  • un lector que exija las cuatro etiquetas va a saltarse los 6 más interesantes — los que validan claims de otras personas y los que re-miden después de un merge;
  • y uno que no las exija va a leer las 74 y las 6 sin distinguir el Commit: de una validación del Commit: de la medición, que es peor: una fila que parece una medida y es una cita.

La forma que yo probaría, con los dos casos delante: parsear lo que haya (etiquetas si están, primera línea si no) y marcar cada registro con su clase — measurement, update, claim-validation — para que el resumen pueda decir «74 medidas y 6 validaciones» en vez de «80 medidas».

Lo que no verifiqué: que sea lo que la PR hace — lo leí en el título («reads the GPU test records into one overview») y en el estado del repositorio, no en el diff, porque la PR es de hace diez días y mi verificación de esta noche ha sido sobre lo que entra hoy, no sobre ella.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7371053102 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379#issuecomment-7371053102). Originally posted by [fiestorra](https://github.com/fiestorra) on 2026-12-03T07:29:10Z. --- ## Medido para esta PR: los 80 ficheros de `gpu-test-results/` **tienen dos formatos, no uno** **Lo comprobé porque es el dato que decide si un lector automático sirve o no**: **74 ficheros empiezan con el bloque `GPU:` / `Driver:` / `OS:` / `Commit:`**, **y 6 no** — **pero no porque estén incompletos: son de otra clase.** ``` IntelARL.txt un bloque "UPDATE 2026-11-25, re-run on current main" encima de la medición anterior, que se conserva PR1608-Radeon860M-RTX5060Laptop-Win11.txt un informe de validación de una claim: "Claim: …" / "Claims covered: …" / "Commit:" / "OS:" / CPU / VRAM RTX4080-Windows-62101-validated.txt otro informe de validación: "Claim: GPU-RTX4080-62101-02F71CCF" / "Baseline:" / "PR #1518:" RadeonProVegaII-RADV.txt, RTX5060Laptop.txt, RX7900XTX.txt sin las etiquetas, con la misma información en prosa ``` **Así que el formato no es «campos fijos» sino «un registro por medición con lo que esa medición necesitó contar»**, **y los seis de arriba son justo los que tienen algo más que decir** (**una re-medición, una claim ajena validada, un PR concreto comparado**). **Lo que eso significa para `gpu_results.py`**, **y es lo único que le pediría al autor**: - **un lector que exija las cuatro etiquetas va a saltarse los 6 más interesantes** — **los que validan claims de otras personas y los que re-miden después de un merge**; - **y uno que no las exija va a leer las 74 y las 6 sin distinguir el `Commit:` de una validación del `Commit:` de la medición**, **que es peor: una fila que parece una medida y es una cita**. **La forma que yo probaría, con los dos casos delante**: **parsear lo que haya (etiquetas si están, primera línea si no) y marcar cada registro con su clase** — **`measurement`, `update`, `claim-validation`** — **para que el resumen pueda decir «74 medidas y 6 validaciones» en vez de «80 medidas».** **Lo que no verifiqué**: **que sea lo que la PR hace** — **lo leí en el título** (**«reads the GPU test records into one overview»**) **y en el estado del repositorio, no en el diff**, **porque la PR es de hace diez días y mi verificación de esta noche ha sido sobre lo que entra hoy, no sobre ella.**
fiestorra commented 2026-12-03 07:30:51 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-03T07:30:51Z.


VERIFY-2379 — aplicado sobre main de hoy: lee los 80 registros, y 4 de sus tests fallan por los que llegaron después

Y antes de los números, el error que casi cometo: en su propio árbol la herramienta lee 46 ficheros, y en main hay 80 — mi primera lectura fue «lee 46 de 80», que es otra resta entre árboles distintos. Lo correcto es aplicar la PR sobre main, y eso es lo que hice:

cherry-pick del rango sobre d9b618f10   exit 0, 3 files, +746
python3 tools/gpu_results.py            80 record(s): NVIDIA 48, AMD 21, Apple 5, Intel 4,
                                        other 1, software 1
python3 -m pytest tests/test_gpu_results.py -q
                                        4 failed, 18 passed, 77 subtests passed

Los cuatro fallos, y son exactamente del tipo que preveía hace un rato:

AssertionError: Lists differ: ['no GPU field', 'no Driver field'] != []
AssertionError: Lists differ: ['no Commit field'] != []

Su test nuevo comprueba que cada registro tiene los campos obligatorios — y los registros que han entrado en main desde que escribió la PR no los tienen. O sea: la herramienta parsea los 80 (bien), y su aserción de calidad falla en 4 (también bien: está haciendo su trabajo).

Lo que eso dice de la PR, y no es una crítica: es una herramienta con un test que se puso rojo porque el repositorio cambió debajo, que es la mejor señal posible — el test detectó los registros nuevos sin campos, que son los seis que describí antes (IntelARL, PR1608-…, RTX4080-…-validated, y los tres sin etiquetas).

Y la decisión que le toca al autor, con los dos hechos delante: si esos six son «validaciones» y no «medidas», el test debe distinguir la clase y no exigirles los campos de una medición — que es lo que le proponía en el comentario anterior, ahora con la prueba de que hace falta.

Lo que verifiqué: que aplica limpio sobre el main de hoy, que lee los 80, y que sus tests fallan por 4 registros concretos.
Lo que no: si el autor quiere que esos seis pasen la comprobación de campos — eso es una decisión de producto, no un bug.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7371086380 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2379#issuecomment-7371086380). Originally posted by [fiestorra](https://github.com/fiestorra) on 2026-12-03T07:30:51Z. --- ## VERIFY-2379 — aplicado sobre `main` de hoy: **lee los 80 registros**, y **4 de sus tests fallan por los que llegaron después** **Y antes de los números, el error que casi cometo**: **en su propio árbol la herramienta lee 46 ficheros, y en `main` hay 80** — **mi primera lectura fue «lee 46 de 80», que es otra resta entre árboles distintos**. **Lo correcto es aplicar la PR sobre `main`**, **y eso es lo que hice**: ``` cherry-pick del rango sobre d9b618f10 exit 0, 3 files, +746 python3 tools/gpu_results.py 80 record(s): NVIDIA 48, AMD 21, Apple 5, Intel 4, other 1, software 1 python3 -m pytest tests/test_gpu_results.py -q 4 failed, 18 passed, 77 subtests passed ``` **Los cuatro fallos, y son exactamente del tipo que preveía hace un rato**: ``` AssertionError: Lists differ: ['no GPU field', 'no Driver field'] != [] AssertionError: Lists differ: ['no Commit field'] != [] ``` **Su test nuevo comprueba que *cada* registro tiene los campos obligatorios** — **y los registros que han entrado en `main` desde que escribió la PR no los tienen.** **O sea: la herramienta parsea los 80** (**bien**), **y su aserción de calidad falla en 4** (**también bien: está haciendo su trabajo**). **Lo que eso dice de la PR, y no es una crítica**: **es una herramienta con un test que se puso rojo porque el repositorio cambió debajo**, **que es la mejor señal posible** — **el test detectó los registros nuevos sin campos, que son los seis que describí antes** (`IntelARL`, `PR1608-…`, `RTX4080-…-validated`, y los tres sin etiquetas). **Y la decisión que le toca al autor, con los dos hechos delante**: **si esos six son «validaciones» y no «medidas», el test debe distinguir la clase y no exigirles los campos de una medición** — **que es lo que le proponía en el comentario anterior**, **ahora con la prueba de que hace falta.** **Lo que verifiqué**: **que aplica limpio sobre el `main` de hoy, que lee los 80, y que sus tests fallan por 4 registros concretos.** **Lo que no**: **si el autor quiere que esos seis pasen la comprobación de campos** — **eso es una decisión de producto, no un bug.**
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
ProjectLeonida/mandy!2379
No description provided.