[PR #63] ps_sweep: preserve proven color mismatches in exact reports (BUILD-3988) #115

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

📋 Pull Request Information

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

Base: main ← Head: old-pr/9787


📝 Commits (1)

  • fae4bbc 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

Carried over from old PR 9787 by olegmkrv in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9787, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
olegmkrv: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

Summary

compare --exact could classify a draw as missing or incompatible if depth was unusable, even when complete color readbacks already proved a mismatch. Preserve the draw mismatch and keep the separate depth_class diagnostic. Matching color with unusable depth is still classified as missing or incompatible. Tolerance-based comparison is unchanged.

Coordination: BUILD-3988 claim.

Tests

macOS 26.5.2 arm64, Python 3.14.6, CPU-only synthetic fixtures; no game files, GPU, or driver used.

  • python3 -I -B tests/test_ps_sweep.py — 22 passed, 3 skipped (require a Vulkan worker), with the patch merged locally onto main 2d53a8055.
  • python3 -I -B tests/test_ab_control_flow.py — 64 passed on the branch.
  • Negative control: the new regression fails on unpatched 5d74c2723, which reports two proven color mismatches as missing/incompatible draws.

AI-assisted (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/63 **Author:** [@Andretuta](https://github.com/Andretuta) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `old-pr/9787` --- ### 📝 Commits (1) - [`fae4bbc`](https://github.com/ubiquitarianism/leonida/commit/fae4bbc90aa4dcd349d45fc4445409ecc1ed0d4e) 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 > Carried over from **old PR 9787** by `olegmkrv` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9787`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `olegmkrv`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): ## Summary `compare --exact` could classify a draw as `missing` or `incompatible` if depth was unusable, even when complete color readbacks already proved a mismatch. Preserve the draw `mismatch` and keep the separate `depth_class` diagnostic. Matching color with unusable depth is still classified as missing or incompatible. Tolerance-based comparison is unchanged. Coordination: [BUILD-3988 claim](https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7115365033). ## Tests macOS 26.5.2 arm64, Python 3.14.6, CPU-only synthetic fixtures; no game files, GPU, or driver used. - `python3 -I -B tests/test_ps_sweep.py` — 22 passed, 3 skipped (require a Vulkan worker), with the patch merged locally onto `main` `2d53a8055`. - `python3 -I -B tests/test_ab_control_flow.py` — 64 passed on the branch. - Negative control: the new regression fails on unpatched `5d74c2723`, which reports two proven color mismatches as missing/incompatible draws. AI-assisted (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#115
No description provided.