Repository navigation
fix: the fillet point solve's bigger-step retry solves with the bigger step; its flag is retired (WR-456, #2338) - #2752
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
657b106 to
e97c6c2
Compare
|
Heads-up on an independent flag retirement: #2791 claims tangency-labs/solidcraft#13764, the N-D half of |
|
Thanks for the heads-up, @fdalmaso. This PR retires Written by Claude Code (Anthropic) on behalf of @MarkusReichart. |
604ad2e to
8b3a982
Compare
|
The red difftest checks on
fmt, clippy, test, wasm, deny and ci-scripts pass. Written by Claude Code (Anthropic) on behalf of @MarkusReichart. |
|
Follow-up with the exact base: kernel-rig and difftest-sweep fail the same way on main at
Written by Claude Code (Anthropic) on behalf of @MarkusReichart. |
|
Could you rebase this onto main? #2816 replaced difftest with goldens, and main now requires the |
|
Thanks @MarkusReichart, the flag is gone completely and the test checks the one thing that matters, the 100x guess. Nothing else to change. After the rebase, |
…ault (WR-456, tangency-labs#2338) `bigger_step_retry_uses_the_bigger_step` runs the default kernel: after a failed 1e-5 forward step the retry's first guess lies 100x the first guess's distance from the point. It fails until `fillet_point_bigger_step_retry` is retired (the retry steps by 1e-5 again, 1x). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r step by default; its flag is retired (WR-456, tangency-labs#2338) `UpstreamFixes::fillet_point_bigger_step_retry` is gone and its path is the only one: when `ComputePointValues`' first forward finite-difference step (1e-5) finds no point, the retry solves with 1e-3, not with 1e-5 again. Upstream passes `dStep` where it declared `dBigStep`, so its retry repeated the failed solve. The tests that turned the flag on, tangency-labs#2260's rig kernel and the corpus's fixes.json drop the name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… retired (tangency-labs#2338) Records the retirement, the test's new name, and the measured reach of the retry: the solidcore suite (425 entries in about 50 tests, all pass) and the difftest (blend.fillet_executive_p3 and blend.fillet_solver_p4 reach it; every case keeps its outcome and values against main's CI reports), so no cpp_defect marker. Text written with Codex (OpenAI). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cy-labs#2338) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8b3a982 to
3ac64be
Compare
|
@jyviko Rebased onto main 🤖 Addressed by Claude Code |
Fixes #2338, the tracking issue for WR-456's fix (
fillet_point_bigger_step_retry). It is a flag retirement, which §4b welcomes; SolidCraft already runs with this flag on (kernel_cases/fixes.json), so its users see no change.The defect (WR-456). In
SmFilletSolver::ComputePointValues, when the first forward finite-difference step (dStep = 1e-5) finds no point, the retry declaresdBigStep = 1e-3but passesdSteptoStepSolveagain, so it repeats the solve that just failed.The change. The retry in
c6_compute_point_values(crates/solidcore/src/blend/fillet_solver/p4.rs) always solves with1e-3. The flag and its off path are deleted; the tests that set it, #2260's rig kernel andkernel_cases/fixes.jsondrop its name (they already ran the bigger step). WR-456 gets an addendum.Test first.
bigger_step_retry_uses_the_bigger_step(was..._with_the_fix) runs the default kernel and records the guesses of the first solve and the retry: the retry's first guess must lie 100 times as far from the point as the first solve's. At the test commit it fails with ratio 1; with the fix it passes.Which results change
Only runs that reach the retry with the flag off. A temporary probe (not committed) logged every entry into the retry:
fillet_executive::api); the count of tests is approximate, as concurrent probe writes interleaved. All pass with the bigger step.blend.fillet_solver_p4andblend.fillet_executive_p3, the two units the probe saw reach the retry in the old difftest (61 and 157 entries), pass withchanged=0, and all 283 units pass. Nothing is blessed.Pictures
No pictures of bodies: no case
diagnosticscan draw from an.smbfile changes its result (the rig ran with this flag on; every golden is unchanged). The suite tests that reach the retry build their bodies in code and pass their volume and closed-form checks; whether they move bit for bit is unmeasured. The mechanism, drawn in VectorCraft:The retry box on each side: before, it repeats the failed 1e-5 solve; after, it solves with the declared 1e-3 step. (VectorCraft source and SVG.)
Evidence
All in WSL. Test first, at the test commit and at the fix (older base
7f6cf9efe, same patch):Goldens and gate at the head
c9ab79f98(rebased onto main3ed619475; the commit after it only adds to the WR-456 addendum):The one known failing case is #2933's, listed on main. CI's
kernel-rigfails the same way on main at3ed619475(run 42215621732): the same three851-chamfer-knife-edge-tiprefusals and the same two moved known-failing cases, with the same volumes.Scope
Written with Codex (OpenAI) and Claude Code (Anthropic) on behalf of @MarkusReichart.
🤖 Generated with Claude Code