Repository navigation
Tests: validation against analytic references - #156
Merged
Merged
Conversation
Traced results compared with references that do not use BMO: - an exact meridional ray trace through spherical surfaces (Snell's law surface by surface, written in the test): bi-convex, plano-convex, convex-plano, bi-concave and meniscus lenses, a cemented doublet and the 10 surfaces of the Sonnar of TestSonnarLens.jl, at heights from 0.01 mm to near the rim; BMO agrees to ~1e-11 m in height and ~1e-10 rad in slope - the paraxial focus of a spherical mirror at R/2, the aberration-free focus of a paraboloid - the minimum deviation of a prism, n sin(A/2) = sin((A + D)/2) - the Sellmeier equation of N-BK7 against n_F, n_d, n_C of the datasheet - the field behind a window for s and p polarization from 0° to 70°, |t12 t21| = 1 - |r|² (Fresnel, Stokes relations) - the radius of a GaussianBeamlet behind a thick lens and of an AstigmaticGaussianBeamlet behind a cylindrical lens, per axis, against the ABCD law - the fringe period λ/2 and the contrast of a Michelson interferometer No physics errors were found. The beamlet test uses a narrow beam: for a wide one, BMO shifts the waist by the exact spherical aberration of the parabasal rays (e.g. -7.9 µm for w = 0.5 mm on a 50 mm lens), which the paraxial ABCD law does not contain.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #156 +/- ##
==========================================
+ Coverage 89.81% 89.94% +0.13%
==========================================
Files 82 82
Lines 4525 4525
==========================================
+ Hits 4064 4070 +6
+ Misses 461 455 -6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
StackEnjoyer
approved these changes
Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Internal changes
test/E2E/TestAnalyticReferences.jl(37 tests, ~6 s): BMO against references that do not use BMONo physics errors found. For a wide beamlet, BMO shifts the waist by the exact spherical aberration of its parabasal rays, which the paraxial ABCD law does not contain; the test uses a narrow beam.
Agent skill
Closes #155