Count black-frame transitions in run comparisons #9

Manually merged
github merged 1 commit from github-bot/gh-9 into main 2026-11-27 12:40:50 +00:00 AGit
Owner

@⁠civilwarinfrance on GitHub · 2026-11-27 01:53 UTC · original
civilwarinfrance:fix/fps-report-black-frame-transitions → main · +49 −1 · 3 files · 1 commits · merged 2026-11-27 12:32 UTC

Changes

A single black-frame transition can log a warning, one or more draw details, and a follow-up levels warning. The comparison counted every line containing black frame, so a run with more diagnostic detail could appear to have worse rendering.

Count the transition warning once and keep the existing black frames row. The runbook now explains what the row measures. The base and checkpoint runtimes emit the same transition warning. VIctory diagnostic

Verification

  • python3 -m unittest discover -s tests -v passed the CLI regression. Before the change, two comparisons reported a rise from 1 to 4 and from 1 to 5. With the fix, they report 1 to 1 when only the diagnostics change and 1 to 2 when a second transition occurs.
  • git diff --check passed. The test used synthetic log lines on Apple Silicon.

AI assistance: OpenAI Codex wrote the patch and ran the test.

**@⁠civilwarinfrance** on GitHub · 2026-11-27 01:53 UTC · [original](https://github.com/paveledits/ScarlettMac/pull/9) `civilwarinfrance:fix/fps-report-black-frame-transitions` → `main` · +49 −1 · 3 files · 1 commits · merged 2026-11-27 12:32 UTC ## Changes A single black-frame transition can log a warning, one or more draw details, and a follow-up levels warning. The comparison counted every line containing `black frame`, so a run with more diagnostic detail could appear to have worse rendering. Count the transition warning once and keep the existing `black frames` row. The runbook now explains what the row measures. The base and checkpoint runtimes emit the same transition warning. [VIctory diagnostic](https://github.com/pragyaangaur/VIctory-macOS/blob/bf99e728b2fa89c3550d51e07626c0da9bd6ec47/crates/victory-gpu/src/queue.rs#L704-L740) ## Verification - `python3 -m unittest discover -s tests -v` passed the CLI regression. Before the change, two comparisons reported a rise from 1 to 4 and from 1 to 5. With the fix, they report 1 to 1 when only the diagnostics change and 1 to 2 when a second transition occurs. - `git diff --check` passed. The test used synthetic log lines on Apple Silicon. AI assistance: OpenAI Codex wrote the patch and ran the test.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 02:12:59 +00:00
github manually merged commit fe1777f9de into main 2026-11-27 12:40:50 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.