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

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

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/757
Author: @aslan2142
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @ubiquitarianism

Base: main ← Head: docs-sweep-progress_dashboard


📝 Commits (1)

  • 92152f3 docs/progress_dashboard: four statements the tool does not match (ASSET-379)

📊 Changes

1 file changed (+10 additions, -6 deletions)

View changed files

📝 docs/progress_dashboard.md (+10 -6)

📄 Description

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).


🔄 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/757 **Author:** [@aslan2142](https://github.com/aslan2142) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/24/2026 **Merged by:** [@ubiquitarianism](https://github.com/ubiquitarianism) **Base:** `main` ← **Head:** `docs-sweep-progress_dashboard` --- ### 📝 Commits (1) - [`92152f3`](https://github.com/ubiquitarianism/leonida/commit/92152f3fedc046a3856fe1063b50f9c9b73ce0b6) docs/progress_dashboard: four statements the tool does not match (ASSET-379) ### 📊 Changes **1 file changed** (+10 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `docs/progress_dashboard.md` (+10 -6) </details> ### 📄 Description 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). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:19:04 +01:00
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#796
No description provided.