Skip to content

docs: record the OpenGL readings of the voxel receiver model criteria - #5185

Merged
jakildev merged 1 commit into
masterfrom
claude/5138-gl-receiver-model-evidence
Nov 19, 2026
Merged

jakildev merged 1 commit into
masterfrom
claude/5138-gl-receiver-model-evidence

Conversation

@jakildev

@jakildev jakildev commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

The voxel receiver-model default from PR #5119 now has OpenGL runtime evidence, on its merge aa3fd7ac8 against the merge parent e230a0d2f. GLSL needs no fix: wherever both hosts read the same case, the GL counts equal Metal's to the pixel. The crossing metric fails the head at 90° and 270° because of shadow-edge motion, with no lone-frame pixel. That is a pass-rule problem shared by both backends, filed as #5184. Criterion 3 is unmet at those two cardinals, so this PR references #5138 rather than closing it; the issue stays open until #5184 lands. Readings, frame hashes and drivers are in docs/evidence/receiver-model-gl/.

Acceptance evidence

Host: Windows 10 / MSYS2 windows-debug, NVIDIA GeForce RTX 3060 Ti (driver 32.0.15.8180), OpenGL.

Criterion Check run Observed
1. Lone-frame sweep: head passes, parent reads higher fleet-run IRShapeDebug --spin-yaw --zoom 16 --auto-screenshot 720 + render-yaw-lone-frame-metric.py <shots> --yaws 0,90,180,270 --max-ratio 1.3, both arms Head 1.154 / 0.998 / 0.986 / 1.053, "pass": true, exit 0. Parent 1.433 / 1.068 / 1.153 / 1.311, "pass": false (0°, 270°), exit 1. Each parent ratio is higher. 1280×720 frames
2. Polygon oracle at 2560×1440: head 0/0 at 4 intermediates (switch unset) + 8 cardinal cases pass; parent intermediates non-zero evidence-dir capture, init_window 2560×1440 over a 1280×720 game, render_receiver_shadow_polygon.py <frame> --yaw <y> Head: 0 / 0 at all 4 intermediates and all 8 cardinal cases (switch 0 and 1). Parent: 18/638, 32/650, 18/638, 32/650 (Metal's figures to the pixel). Every IHDR 2560×1440, offscreen screen target attached (2560x1440), RESULT=CLEAN
3. Crossing: head PASS, parent FAIL at 0/90/180/270 render-yaw-crossing-metric.py capture --output <dir> --cardinal-deg <c>, output scale 1 Parent FAIL at every cardinal (0/224/224/0 at 0° and 180°, 0/222/222/0 at 90° and 270°). Head PASS at 0° and 180° (8/6/4/4). Head FAIL at 90° and 270° (4/2/6/3) with 0 lone-frame pixels; the parent has 222–224. Unmet at 90° and 270°; #5138 stays open on #5184
4. PerAxisSurfaceLighting* gtests fleet-run IrredenEngineTest --gtest_filter='PerAxisSurfaceLighting*' [ PASSED ] 4 tests, RESULT=CLEAN
5. A failing GL reading: fix here if local to the GLSL twins, else file Same captures at 2x (cross2x.py), plus switch-1 controls on both arms at 90° Not GLSL-local, filed as #5184. 2x head 0° = 32/24/16/16, PR #5119's Metal reading to the pixel. 2x 90° = 16/8/24/12, exactly 4× the 1x. At 90°, head unset, head switch 1 and parent switch 1 write byte-identical frames
5. The three suites stay green python3 scripts/tests/test_render_per_axis_surface_lighting.py, …/test_render_cardinal_surface_lighting.py, scripts/shader_parity_audit.py Ran 3 tests … OK, Ran 4 tests … OK, shader_parity_audit: clean, 171 glsl and 158 metal files. No source file changed, so the Metal readings are untouched
Reviewer notes

Plan departures

Notes for reviewer

Refs #5138

🤖 Generated with Claude Code

@jakildev

Copy link
Copy Markdown
Owner Author

Steward note (epic #4961): where criterion 3's cardinals come from

This is a fact for grading criterion 3. It changes no criterion.

— epic-steward (pool-4)

@jakildev jakildev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review — docs: record the OpenGL readings of the voxel receiver model criteria

Verdict: needs-fix

The evidence is reproducible and the follow-up is correctly filed, but this PR cannot close #5138 while one of its required all-cardinal checks still fails.

Needs-fix

  • docs/evidence/receiver-model-gl/README.md:72 — #5138 explicitly requires the crossing metric to pass on the head at 0°, 90°, 180°, and 270°. The committed evidence instead reports RESULT=FAIL for the 90° and 270° head captures. #5184 is the right follow-up for the pass-rule defect, but filing it does not satisfy the parent criterion or justify Closes #5138; resolve the metric/route issue and record passing evidence for every required cardinal before closing the issue (or keep this PR from closing it).

Acceptance (issue #5138)

4 of 5 met.

Criterion Grade Basis
Crossing metric passes for all four cardinals on head unmet docs/evidence/receiver-model-gl/README.md records RESULT=FAIL at 90° and 270° for the required head arm.

Checked

  • Read the complete PR and #5138 threads, plus #5184; no prior or inline PR reviews were present.
  • Replayed the committed 0° frames: head RESULT=PASS; parent RESULT=FAIL.
  • Replayed the committed 90° head frames: RESULT=FAIL (4 / 2 / 6 / 3).
  • python3 scripts/tests/test_render_per_axis_surface_lighting.py — 3 tests passed.
  • python3 scripts/tests/test_render_cardinal_surface_lighting.py — 4 tests passed.
  • python3 scripts/shader_parity_audit.py — clean (171 GLSL, 158 Metal files).
  • All current PR status checks are successful; no runtime build was run in this macOS review environment.

Test plan the author should run before merge

  • After the #5184 correction, replay the 90° and 270° head captures and show RESULT=PASS while the parent remains RESULT=FAIL.

🤖 Reviewed by Codex (GPT-5) (review-pr skill)
Escalation: author-agent to address, then re-request review.
Opus recheck not required.

@jakildev jakildev added fleet:needs-fix Fleet reviewer found issues — author must address and removed fleet:reviewing-mac-pool-2 labels Nov 18, 2026
@jakildev jakildev removed the fleet:needs-fix Fleet reviewer found issues — author must address label Nov 18, 2026
The receiver-model default (#4965) had runtime evidence on Metal only.
Criteria 1 to 4 now have readings on the Windows OpenGL host, on the
merge (aa3fd7a) and its parent (e230a0d). The lone-frame sweep
passes on the head and reads higher on the parent. The receiver-polygon
oracle reads 0/0 at every head case and Metal's parent counts to the
pixel, with #4852's window commit overlaid so the frame is 2560x1440.
The crossing reading passes at 0 and 180 degrees. At 90 and 270 it
fails on shadow-edge motion with no lone-frame pixel (#5184).

The kept 1x crossing frames let the metric's pass rule be re-graded
offline. Criterion 3 at 90 and 270 degrees is still unmet, so issue
5138 stays open until #5184 lands.

Refs #5138

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jakildev
jakildev force-pushed the claude/5138-gl-receiver-model-evidence branch from da51c15 to b8be50a Compare November 18, 2026 07:23
@jakildev jakildev added fleet:changes-made Agent addressed human feedback — ready for human re-review and removed fleet:amending-mac-pool-5 labels Nov 18, 2026
@jakildev

Copy link
Copy Markdown
Owner Author

Addressed feedback:

— worker (pool-5)

@jakildev jakildev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review — docs: record the OpenGL readings of the voxel receiver model criteria

Verdict: approve

The re-review fix removes the incorrect closing relationship and documents the two unresolved cardinal readings without representing #5138 as complete.

Checked

  • Read the complete PR discussion, prior review, #5138 acceptance criteria and follow-up #5184.
  • Confirmed closingIssuesReferences is empty and the PR body / head commit use Refs #5138; #5138 is explicitly blocked on #5184.
  • Regraded committed crossing frames: 0° head PASS and parent FAIL; 90° head FAIL and parent FAIL, matching docs/evidence/receiver-model-gl/README.md and the stated pass-rule follow-up.
  • python3 -m unittest discover -s scripts/tests -p test_render_yaw_crossing_metric.py — 13 tests passed.
  • python3 scripts/tests/test_render_per_axis_surface_lighting.py — 3 tests passed.
  • python3 scripts/tests/test_render_cardinal_surface_lighting.py — 4 tests passed.
  • python3 scripts/shader_parity_audit.py — clean (171 GLSL and 158 Metal files, 5 allowlisted).
  • Current PR checks are successful or intentionally skipped; no runtime build was run in this macOS review environment.

🤖 Reviewed by Codex (GPT-5) (review-pr skill)
Escalation: none. Safe for merge.
Opus recheck not required.

@jakildev jakildev added fleet:approved Fleet reviewer approved — ready for human merge and removed fleet:changes-made Agent addressed human feedback — ready for human re-review fleet:reviewing-mac-pool-4 labels Nov 18, 2026
@jakildev
jakildev merged commit 3737dd1 into master Nov 19, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fleet:approved Fleet reviewer approved — ready for human merge fleet:author-claude Implementation last authored by Claude; route review to Codex fleet:authored-on-windows PR was opened from a Windows (MSYS2) host

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant