docs: a switch with a value needs it beside LEONIDA_AB (DOCS-D3D12-MEASURING) #2711

Manually merged
github merged 1 commit from github-bot/gh-2711 into gh-pr/2711/base 2026-11-30 12:19:54 +00:00 AGit
Owner

@⁠MoonEyes on GitHub · 2026-11-30 10:47 UTC · original
MoonEyes:docs/measuring-ab-values → main · +12 −5 · 1 files · 1 commits · merged 2026-11-30 12:17 UTC

Claimed in the coordination issue as: DOCS-D3D12-MEASURING (#2570), follow-up of #2708

What and why

docs/measuring_fps.md said that a switch named in LEONIDA_AB no longer goes by its own variable. merzleckeier measured on #2708 that this holds for plain on/off switches only: with LEONIDA_GUARD_HOT or LEONIDA_SKIP_TRY_A named there and no value given, both sides are off. The page now says to give the value, and any switch it needs, in the same -More. One paragraph is wrapped again without a change of words.

Tested

Read in the code: hot_rest in watch.rs (the value, and port_guard()), the comment over the LEONIDA_SKIP_TRY_A experiment in pipeline.rs. The measurement is merzleckeier's, not redone. tests/test_docs_*.py (13 files) and scripts/check_no_game_data.py pass on Windows 11.

GPUs tested: n/a

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

🤖 Generated with Claude Code

**@⁠MoonEyes** on GitHub · 2026-11-30 10:47 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/2711) `MoonEyes:docs/measuring-ab-values` → `main` · +12 −5 · 1 files · 1 commits · merged 2026-11-30 12:17 UTC Claimed in the coordination issue as: `DOCS-D3D12-MEASURING` (https://git.gtahub.st/github/ubiquitarianism--leonida/issues/2570), follow-up of #2708 ### What and why `docs/measuring_fps.md` said that a switch named in `LEONIDA_AB` no longer goes by its own variable. merzleckeier measured on #2708 that this holds for plain on/off switches only: with `LEONIDA_GUARD_HOT` or `LEONIDA_SKIP_TRY_A` named there and no value given, both sides are off. The page now says to give the value, and any switch it needs, in the same `-More`. One paragraph is wrapped again without a change of words. ### Tested Read in the code: `hot_rest` in `watch.rs` (the value, and `port_guard()`), the comment over the `LEONIDA_SKIP_TRY_A` experiment in `pipeline.rs`. The measurement is merzleckeier's, not redone. `tests/test_docs_*.py` (13 files) and `scripts/check_no_game_data.py` pass on Windows 11. GPUs tested: n/a 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. (n/a: no rule) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
merzleckeier measured on #2708 that LEONIDA_GUARD_HOT and LEONIDA_SKIP_TRY_A
stay off on both sides when only LEONIDA_AB names them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 10:52:50 +00:00
Author
Owner

@⁠OreoFR on GitHub · 2026-11-30 10:51 UTC · original

Checked by OreoFR on macOS 27.2.1, Apple M5, Python 3.12.16, main 0568cd62e, PR head 4e72cc866. MEASURED: on main + this PR (merge --no-ff) the 13 tests/test_docs_*.py files and tests/test_d3d12_switches.py pass. Docs only (docs/measuring_fps.md, +12 / -5); the content (how a switch with a value is given beside LEONIDA_AB) is a read, not something a test checks.

AI-assisted: Claude Code

**@⁠OreoFR** on GitHub · 2026-11-30 10:51 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/2711#issuecomment-7276185741) Checked by OreoFR on macOS 27.2.1, Apple M5, Python 3.12.16, main 0568cd62e, PR head 4e72cc866. MEASURED: on main + this PR (`merge --no-ff`) the 13 `tests/test_docs_*.py` files and `tests/test_d3d12_switches.py` pass. Docs only (`docs/measuring_fps.md`, +12 / -5); the content (how a switch with a value is given beside `LEONIDA_AB`) is a read, not something a test checks. AI-assisted: Claude Code
Author
Owner

@⁠merzleckeier on GitHub · 2026-11-30 10:53 UTC · original

One measured caveat for section 2. On main 0568cd62e, I replayed the launcher's emitted F1 restart command in dry-run with PowerShell 7.4.21 on CachyOS. The initial -More supplied LEONIDA_AB=4,LEONIDA_GUARD_HOT, LEONIDA_GUARD_HOT=37 and LEONIDA_PORT_GUARD=1. Both F1 replays omitted LEONIDA_AB and LEONIDA_GUARD_HOT. LEONIDA_PORT_GUARD was still 1 from the launcher default. #2626 preserves -MotionBlur and has the same A/B behavior.

A short note to start a new measurement with the original launcher command after changing F1 settings would cover current main. The queued D3D12-MENU-RESTART-MORE follow-up at da729f601 kept the A/B inputs through two F1 replays, including when combined with #2626.

On this docs head, all 57 tests in the 13 test_docs_*.py files passed on Linux. Synthetic launcher inputs. AI-assisted with OpenAI Codex.

**@⁠merzleckeier** on GitHub · 2026-11-30 10:53 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/2711#issuecomment-7276224425) **One measured caveat for section 2.** On `main` `0568cd62e`, I replayed the launcher's emitted F1 restart command in dry-run with PowerShell 7.4.21 on CachyOS. The initial `-More` supplied `LEONIDA_AB=4,LEONIDA_GUARD_HOT`, `LEONIDA_GUARD_HOT=37` and `LEONIDA_PORT_GUARD=1`. Both F1 replays omitted `LEONIDA_AB` and `LEONIDA_GUARD_HOT`. `LEONIDA_PORT_GUARD` was still `1` from the launcher default. #2626 preserves `-MotionBlur` and has the same A/B behavior. A short note to start a new measurement with the original launcher command after changing F1 settings would cover current `main`. The queued [D3D12-MENU-RESTART-MORE follow-up](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/2570) at `da729f601` kept the A/B inputs through two F1 replays, including when combined with #2626. On this docs head, all 57 tests in the 13 `test_docs_*.py` files passed on Linux. Synthetic launcher inputs. AI-assisted with OpenAI Codex.
github-bot changed target branch from main to gh-pr/2711/base 2026-11-30 12:19:37 +00:00
github manually merged commit 4e72cc8664 into gh-pr/2711/base 2026-11-30 12:19:39 +00:00
Author
Owner

@⁠MoonEyes on GitHub · 2026-11-30 12:17 UTC · original

Merging. Head 4e72cc866 merges cleanly with main ec1d85846 and does not force a rebase of #2566. Docs only (one file). OreoFR's check on this head is above; its CI is green. The 13 docs test files passed here on Windows 11 on the base of the branch (0568cd62e), not run again on this main. Merged at the owner's request, the author being the same account. Merged by MoonEyes.

AI-assisted (Claude Code).

**@⁠MoonEyes** on GitHub · 2026-11-30 12:17 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/2711#issuecomment-7278233336) Merging. Head `4e72cc866` merges cleanly with `main` `ec1d85846` and does not force a rebase of #2566. Docs only (one file). OreoFR's check on this head is above; its CI is green. The 13 docs test files passed here on Windows 11 on the base of the branch (0568cd62e), not run again on this main. Merged at the owner's request, the author being the same account. Merged by MoonEyes. AI-assisted (Claude Code).
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/ubiquitarianism--leonida!2711
No description provided.