[PR #1318] ps_sweep: preserve proven color mismatches in exact reports (DRAFT-63) #1348

Open
opened 2026-11-26 20:20:56 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1318
Author: @fin-github
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: codex/draft-63


📝 Commits (1)

  • d8f36f1 ps_sweep: preserve proven color mismatches in exact reports

📊 Changes

2 files changed (+36 additions, -1 deletions)

View changed files

📝 tests/test_ps_sweep.py (+34 -0)
📝 tools/ps_sweep.py (+2 -1)

📄 Description

Claimed in the coordination issue as: DRAFT-63 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7145408470)

Supersedes draft #63. Cherry-picked Oleg Makarov's commit from old-pr/9787 onto main with its original authorship.

What and why

ps_sweep compare --exact now keeps the draw classified as a mismatch when complete color readbacks already differ and the depth readback is missing or short. The report still records the depth diagnostic for each draw. The regression also checks that a draw with matching colors and missing depth is still classified as missing.

Tested

Windows 11 (build 26200.9974), Python 3.14.4. Synthetic files only.

  • Before, on upstream/main at 4a50cafc7 with the draft test only, python -I tests/test_ps_sweep.py ran 25 tests with the new regression failing, 21 passing and 3 Vulkan-worker skips. The report counted two missing and one incompatible draw where two mismatches and one missing draw were expected.
  • After the cherry-pick, python -I tests/test_ps_sweep.py had 22 passes and the same 3 skips.
  • python -I tests/test_ab_control_flow.py had 65 passes and 1 skip.
  • python -I scripts/check_no_game_data.py tools/ps_sweep.py tests/test_ps_sweep.py and git diff upstream/main --check exited 0.

GPUs tested: no GPU

AI-assisted (Codex) for takeover and verification. The original draft records OpenCode, Muse Spark 1.3, and GPT-6.2 Sol.


🔄 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/1318 **Author:** [@fin-github](https://github.com/fin-github) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `codex/draft-63` --- ### 📝 Commits (1) - [`d8f36f1`](https://github.com/ubiquitarianism/leonida/commit/d8f36f1d6236dce1e306f972d3cc72d1f32e4c86) ps_sweep: preserve proven color mismatches in exact reports ### 📊 Changes **2 files changed** (+36 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_ps_sweep.py` (+34 -0) 📝 `tools/ps_sweep.py` (+2 -1) </details> ### 📄 Description Claimed in the coordination issue as: DRAFT-63 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7145408470) Supersedes draft #63. Cherry-picked Oleg Makarov's commit from `old-pr/9787` onto `main` with its original authorship. ### What and why `ps_sweep compare --exact` now keeps the draw classified as a mismatch when complete color readbacks already differ and the depth readback is missing or short. The report still records the depth diagnostic for each draw. The regression also checks that a draw with matching colors and missing depth is still classified as missing. ### Tested Windows 11 (build 26200.9974), Python 3.14.4. Synthetic files only. - Before, on `upstream/main` at `4a50cafc7` with the draft test only, `python -I tests/test_ps_sweep.py` ran 25 tests with the new regression failing, 21 passing and 3 Vulkan-worker skips. The report counted two missing and one incompatible draw where two mismatches and one missing draw were expected. - After the cherry-pick, `python -I tests/test_ps_sweep.py` had 22 passes and the same 3 skips. - `python -I tests/test_ab_control_flow.py` had 65 passes and 1 skip. - `python -I scripts/check_no_game_data.py tools/ps_sweep.py tests/test_ps_sweep.py` and `git diff upstream/main --check` exited 0. GPUs tested: no GPU AI-assisted (Codex) for takeover and verification. The original draft records OpenCode, Muse Spark 1.3, and GPT-6.2 Sol. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#1348
No description provided.