ps_sweep: keep color mismatches in exact reports #2165

Open
github-bot wants to merge 1 commit from github-bot/gh-2165 into main AGit
Owner

@⁠whoalin1 on GitHub · 2026-11-26 01:05 UTC · original
whoalin1:ps-sweep-exact-depth-mismatch → main · +31 −1 · 2 files · 1 commits · open

Summary

Carries forward the semantics of OLD-9787 on current main. In compare --exact, a draw with a proven color readback mismatch was reclassified as missing, incompatible, or a depth mismatch whenever its depth companion was absent or unusable. The row already records depth_class separately, so bad depth must not erase the proven target mismatch.

Includes a synthetic regression case covering an absent depth file and a truncated depth file. No game data or GPU.

Verification

  • python -m compileall -q tools/ps_sweep.py tests/test_ps_sweep.py — PASS
  • python -I tests/test_ps_sweep.py — 25 tests OK (3 skipped)

AI-assisted (Devin).

**@⁠whoalin1** on GitHub · 2026-11-26 01:05 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2165) `whoalin1:ps-sweep-exact-depth-mismatch` → `main` · +31 −1 · 2 files · 1 commits · open ## Summary Carries forward the semantics of OLD-9787 on current main. In `compare --exact`, a draw with a proven color readback mismatch was reclassified as `missing`, `incompatible`, or a depth mismatch whenever its depth companion was absent or unusable. The row already records `depth_class` separately, so bad depth must not erase the proven target mismatch. Includes a synthetic regression case covering an absent depth file and a truncated depth file. No game data or GPU. ## Verification - `python -m compileall -q tools/ps_sweep.py tests/test_ps_sweep.py` — PASS - `python -I tests/test_ps_sweep.py` — **25 tests OK (3 skipped)** AI-assisted (Devin).
A draw whose color readback mismatched was reclassified as missing, incompatible, or a depth mismatch whenever its depth companion was absent or unusable. That hid the proven target difference, even though the report already carries depth_class separately.\n\nKeep an observed color mismatch as the row's class and cover absent and short depth companions with a synthetic exact-report case. Carries forward the semantics of OLD-9787, rebased onto current main.\n\nVerification: compileall PASS; python -I tests/test_ps_sweep.py: 25 tests OK (3 skipped).\n\nCo-authored-by: olegmkrv <[email protected]>\nAI-assisted (Devin).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:20:56 +00:00
Author
Owner

@⁠real-rusher on GitHub · 2026-11-26 10:12 UTC · original

Verified on main a73a57e1 (Ubuntu 24.04 x86-64, Python 3.13, no GPU). Merges cleanly. With this PR, python -I tests/test_ps_sweep.py: 25 tests OK (3 skipped). The PR's test file against main's tool: 1 failure, so the new test fails on main and passes with the fix. compileall clean.

AI-assisted: yes (Claude Code)

**@⁠real-rusher** on GitHub · 2026-11-26 10:12 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2165#issuecomment-7189058030) Verified on main a73a57e1 (Ubuntu 24.04 x86-64, Python 3.13, no GPU). Merges cleanly. With this PR, python -I tests/test_ps_sweep.py: 25 tests OK (3 skipped). The PR's test file against main's tool: 1 failure, so the new test fails on main and passes with the fix. compileall clean. AI-assisted: yes (Claude Code)
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2165/head:github-bot/gh-2165'
git switch 'github-bot/gh-2165'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2165'
git switch 'github-bot/gh-2165'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2165'
git switch 'github-bot/gh-2165'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2165'
git switch 'main'
git merge --squash 'github-bot/gh-2165'
git switch 'main'
git merge --ff-only 'github-bot/gh-2165'
git switch 'main'
git merge 'github-bot/gh-2165'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.