mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-12 21:23:02 +00:00
* perf(algo): build Remove Tool target masks with a bounded separable dilation (#10179) * docs(algo): remove::dilate no longer always runs two full-grid passes * test(algo): shrink the square dilation tests Exhaustive masks up to 3x3 instead of 4x4, drop the 300x200 named grid (the smaller grids already clip at r = 200, so its oracle-cost guard goes too), and run the path-choice tests on 600x400 and 240x240 grids. * test(algo): a mask with more set cells than bounds keeps matches the oracle Covers the branch where bounds drops its cell list (more than KEEP set cells) and the direct path rescans the box. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>