OLD-7697: restore old upstream PR 7697 - docs/progress_dashboard: 4 statements the tool does not match (ASSET-379) #757

Merged
aslan2142 merged 1 commit from upstream-pr/757 into main 2026-11-24 16:38:48 +00:00
aslan2142 commented 2026-11-24 13:32:06 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-11-24T13:32:06Z.


Claimed in the coordination issue as: OLD-7697 https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7132924227

Restoration of my original pull request, old upstream PR 7697 in ItsNotRexed/Leonida, which was closed unmerged when that repository went private on 2026-11-23 (old numbers link nowhere now). Rebased onto main at 2d73c242fd. The cherry-pick applied cleanly next to the merged D3D12 tracking-issue lookup. I checked all four corrections against the current tool and kept them unchanged.

What and why

docs/progress_dashboard.md says four things that tools/progress_dashboard.py does not do:

  • UNKNOWN status. The doc says a test is UNKNOWN when "git can't tell what changed". Nothing calls changed_since (tools/progress_dashboard.py:230). A test is UNKNOWN only in two cases:
    • a unit-test file passed but every case in it skipped (all_skipped, tools/progress_dashboard.py:347-348);
    • a CTest or JUnit row was skipped (tools/progress_dashboard.py:489-490).
  • Age check of runtime-test reports. The doc says that "CTest logs and XML reports" are age-checked. Only rows where is_ctest is true are compared with the last commit touching runtime/ (tools/progress_dashboard.py:491). That means the CTest log and CTest-flavoured JUnit reports (tools/progress_dashboard.py:477). A pytest --junitxml report always counts as current.
  • Trend chart. The chart draws [...new Set(HIST.flatMap((h) => Object.keys(h.metrics)))].slice(0, 8) (tools/progress_dashboard.html:413).
    • The page payload is written with sort_keys=True (tools/progress_dashboard.py:1016), so the metric IDs come in alphabetical order.
    • The tool defines 11 metrics. With every source present, runtime.current, tests.current and tests.passed are not drawn.
    • The doc now says this. Those three metrics still show in the metrics table.
  • --github without --login. Every --github run reads the open coordination issue (tools/progress_dashboard.py:933-946). The page header shows the size of three of its sections (tools/progress_dashboard.html:185-186). Only the claims and pull requests depend on --login (tools/progress_dashboard.py:948), and the pull-request list is capped at 50 (--limit 50, tools/progress_dashboard.py:957). The doc now says both.

Docs only; the tool is unchanged.

Tested

  • python -I tests/test_docs_*.py (all 12 files): OK
  • python -I tests/test_progress_dashboard.py: OK
  • git diff --check: clean
  • python -I scripts/check_no_game_data.py docs/progress_dashboard.md: clean

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. (n/a: no translator change)

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

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5473118486 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/757). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-11-24T13:32:06Z. --- Claimed in the coordination issue as: OLD-7697 https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7132924227 Restoration of my original pull request, old upstream PR 7697 in `ItsNotRexed/Leonida`, which was closed unmerged when that repository went private on 2026-11-23 (old numbers link nowhere now). Rebased onto main at 2d73c242fddfe26d57b52ee150704e6c3b23cff4. The cherry-pick applied cleanly next to the merged D3D12 tracking-issue lookup. I checked all four corrections against the current tool and kept them unchanged. ### What and why `docs/progress_dashboard.md` says four things that `tools/progress_dashboard.py` does not do: - **UNKNOWN status.** The doc says a test is UNKNOWN when "git can't tell what changed". Nothing calls `changed_since` (`tools/progress_dashboard.py:230`). A test is UNKNOWN only in two cases: - a unit-test file passed but every case in it skipped (`all_skipped`, `tools/progress_dashboard.py:347-348`); - a CTest or JUnit row was skipped (`tools/progress_dashboard.py:489-490`). - **Age check of runtime-test reports.** The doc says that "CTest logs and XML reports" are age-checked. Only rows where `is_ctest` is true are compared with the last commit touching `runtime/` (`tools/progress_dashboard.py:491`). That means the CTest log and CTest-flavoured JUnit reports (`tools/progress_dashboard.py:477`). A pytest `--junitxml` report always counts as current. - **Trend chart.** The chart draws `[...new Set(HIST.flatMap((h) => Object.keys(h.metrics)))].slice(0, 8)` (`tools/progress_dashboard.html:413`). - The page payload is written with `sort_keys=True` (`tools/progress_dashboard.py:1016`), so the metric IDs come in alphabetical order. - The tool defines 11 metrics. With every source present, `runtime.current`, `tests.current` and `tests.passed` are not drawn. - The doc now says this. Those three metrics still show in the metrics table. - **`--github` without `--login`.** Every `--github` run reads the open coordination issue (`tools/progress_dashboard.py:933-946`). The page header shows the size of three of its sections (`tools/progress_dashboard.html:185-186`). Only the claims and pull requests depend on `--login` (`tools/progress_dashboard.py:948`), and the pull-request list is capped at 50 (`--limit 50`, `tools/progress_dashboard.py:957`). The doc now says both. Docs only; the tool is unchanged. ### Tested - `python -I tests/test_docs_*.py` (all 12 files): OK - `python -I tests/test_progress_dashboard.py`: OK - `git diff --check`: clean - `python -I scripts/check_no_game_data.py docs/progress_dashboard.md`: clean 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. (n/a: no translator change) AI-assisted (Claude Code, Claude Opus 5.5).
abnalstlll-byte commented 2026-11-24 13:33:28 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by abnalstlll-byte on 2026-11-24T13:33:28Z.

Review: APPROVED


Audited and verified. Clean-room compliant.

  • Updates 4 documentation points in docs/progress_dashboard.md to accurately match tools/progress_dashboard.py implementation.
  • Corrects CTest/pytest age checks, trend chart 8-metric limits, coordination issue header sections, and UNKNOWN status definition.
<!-- greyfinch-sync:ubiquitarianism/leonida:review:6040107659 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/757#pullrequestreview-6040107659). Originally posted by [abnalstlll-byte](https://github.com/abnalstlll-byte) on 2026-11-24T13:33:28Z. **Review:** APPROVED --- Audited and verified. Clean-room compliant. - Updates 4 documentation points in docs/progress_dashboard.md to accurately match tools/progress_dashboard.py implementation. - Corrects CTest/pytest age checks, trend chart 8-metric limits, coordination issue header sections, and UNKNOWN status definition.
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!757
No description provided.