Repository navigation
Feature: remove retracing, SDF miss exit - #111
Merged
Merged
Conversation
- solve_system!: the retrace keyword is gone; every beam of the queue is reset with empty! and traced, the group method resets the group first - delete retrace_system!, solve_leaf!, replace!(beam, interaction, index), _modify_beam_head! and _last_beam_intersection - children! throws an ArgumentError on a beam that already has children, relaunch! always replaces the children - tests: new testset "Solving again" (moved and re-solved beam equals a new one, object moved into a path, kept beam attached again, failed group solve), retrace tests rewritten as re-solve tests - docs, docstrings and agent skill describe solving again; skill files updated: SKILL.md, API.md, WORKFLOW.md, CHECKLIST.md, components/systems-and-groups.md, templates/05_periscope_objectgroup.jl - version 0.14.0 Closes #102 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A ray that leaves an SDF shape doubled its step until the path length overflowed to Inf, which takes all 1000 iterations. It now counts as a miss once it has travelled SDF_MISS_DISTANCE, i.e. after about 60 steps. Hits are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #111 +/- ##
==========================================
- Coverage 88.50% 88.05% -0.45%
==========================================
Files 73 73
Lines 4524 4246 -278
==========================================
- Hits 4004 3739 -265
+ Misses 520 507 -13 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Features
solve_system!: keywordretraceremoved, every call solves the beam from its startchildren!throws for a beam that already has children;relaunch!replaces themretrace_system!,replace!(beam, interaction, index),wavelength!(::GaussianBeamlet, λ)removedsolve_system!: noempty!(beam)needed after objects were moved, added or removedDoc changes
SKILL.md,API.md,WORKFLOW.md,CHECKLIST.md,components/systems-and-groups.md, template 05 updatedInternal changes
Merge sequence
code, the constructor call for export_script BeamletOpticsGUI.jl#18