Skip to content

scripts: grade yaw crossings by cardinal-only pixels - #5195

Open
jakildev wants to merge 2 commits into
masterfrom
claude/5184-yaw-crossing-cardinal-mask
Open

jakildev wants to merge 2 commits into
masterfrom
claude/5184-yaw-crossing-cardinal-mask

Conversation

@jakildev

Copy link
Copy Markdown
Owner

Summary

Grade cardinal-yaw crossings by receiver pixels whose neighbours agree while
the cardinal alone differs. Continuous shadow-edge motion can now pass even
when its largest step lands at the cardinal, while one-frame model switches
still fail and all existing pair diagnostics remain available.

Acceptance evidence

Criterion Check run Observed
1a. 90° continuous positive fire python3 scripts/render-yaw-crossing-metric.py grade docs/evidence/receiver-model-gl/crossing-90/head --cardinal-deg 90 coverage_valid: true, lone_cardinal_px: 0, RESULT=PASS
1b. 90° former-model control python3 scripts/render-yaw-crossing-metric.py grade docs/evidence/receiver-model-gl/crossing-90/parent --cardinal-deg 90 lone_cardinal_px: 222, RESULT=FAIL
2a. Existing 0° positive fire python3 scripts/render-yaw-crossing-metric.py grade docs/evidence/receiver-model-gl/crossing-0/head --cardinal-deg 0 lone_cardinal_px: 0, RESULT=PASS
2b. Existing 0° control python3 scripts/render-yaw-crossing-metric.py grade docs/evidence/receiver-model-gl/crossing-0/parent --cardinal-deg 0 lone_cardinal_px: 224, RESULT=FAIL
3. Unit and mutation controls python3 -m unittest discover -s scripts/tests -p test_render_yaw_crossing_metric.py 14 tests pass; continuous edge reads cardinal 12 vs rotated 4 with zero lone pixels and passes, while the cardinal-only block reads 24 lone pixels and fails
4a. Validation contract rg -n "Yaw crossing shadow mask" docs/agents/VALIDATION-RENDER-FEATURES.md Row requires valid coverage and zero cardinal-only receiver pixels while retaining capture and grade commands
4b. Python lint ruff check scripts/render-yaw-crossing-metric.py scripts/tests/test_render_yaw_crossing_metric.py All checks passed
4c. Diff hygiene git diff --check origin/master...HEAD Exit 0
Changed-surface verification python3 scripts/light-verify.py --if-changed 0 of 5 changed paths in trigger surface; not required
Reviewer notes

Notes for reviewer

Closes #5184

Parked-until: #4960, #5086

🤖 Authored by Codex (GPT-5)

Allow ordinary continuous shadow-edge motion through the yaw crossing gate while retaining the pair-difference diagnostics. Reject only receiver pixels whose neighbours agree and cardinal frame differs.
@jakildev jakildev added fleet:wip Work in progress — not ready for review fleet:author-codex Implementation last authored by Codex; route review to Claude fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend fleet:awaiting-infra Complete-but-unverifiable PR parked until an infra blocker lands; body carries Parked-until: #N labels Nov 19, 2026
@jakildev

Copy link
Copy Markdown
Owner Author

Steward note: #5123 landed first (PR #5202, 7ed1e271f)

This changes nothing in #5184's plan. There is no amendment.

— epic-steward (#4961)

@jakildev

Copy link
Copy Markdown
Owner Author

Steward note: master moved under this head (update to the 19:19Z note)

This changes nothing in #5184's plan. There is no amendment.

— epic-steward (#4961)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fleet:author-codex Implementation last authored by Codex; route review to Claude fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend fleet:awaiting-infra Complete-but-unverifiable PR parked until an infra blocker lands; body carries Parked-until: #N fleet:wip Work in progress — not ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

render: the yaw crossing metric fails 90° and 270° cardinals on a continuous receiver (edge motion, no lone-frame pixels)

1 participant