mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
The two guard tests failed on the ubuntu-24.04 gate job (run 43833457124) while they pass bit for bit on Windows: colour adaptation High gives (300,180) 64 instead of 65, rotation Low gives (285,220) 118 instead of 119, every other channel matches. Not a change from main: no commit betweenf143ce5849, where the samples were captured, and the branch parenteea585958touches content_aware or inpaint, and the pins also hold here at RAYON_NUM_THREADS 4, 2 and 1. The vote that blends the seams between the copied pieces weights the patches with (-cost / (2 sigma2)).exp() of the host C library (inpaint/solver.rs); two samples sit right on a level boundary and round one level apart between glibc and the Windows runtime. Compare the nine samples of each option set within 2 levels per channel instead of bit for bit, list every sample over that slack in the failure message, and say in the code why. All 27 pinned values stay and the guard intent stays: unmeasured option sets keep today's fill. The pin still bites, because the structure path this PR adds moves these samples by tens of levels, 60 at (300,165) alone.