Tests on main are failing - #307
Closed
1-Bort-1 wants to merge 2 commits into
Closed
Conversation
#292 moved the 1e-8 finite-difference step into `linearize`'s default and had the POLAR_MATRICES check take `backend=nothing`, which deleted the call-site step the comment on this branch reworded. Resolved to that side: the comment has nothing left to describe, and the branch now carries no change over #292. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013CHKQ3LruEdTwH5MBxCKkk
Contributor
Author
|
Local full suite: FAIL (3 min, Julia 1.12.7, one cell of the matrix) |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Base automatically changed from
agent/287-test-forwarddiff-jl-s-polar-matrices-che
to
main
September 11, 2026 20:18
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.
TL;DR
mainis red on thePOLAR_MATRICESforwarddiff flake and #292 carries the fix; this branch was the one commit on top of it, rewording the comment on that check's finite-difference step. #292 has since moved that step intolinearize's own default, which deleted the line the comment described — so after merging #292 back in this branch carries nothing of its own, and #304 is closed.What was failing
mainCI run 34446797250 (the merge of #285) and release #302's run 34628824540 both failed the same assertion:Expression: rel_err < 0.001/Evaluated: 0.04001429189872729 < 0.001in "AutoForwardDiff matches AutoFiniteDiff (LOOP, POLAR_MATRICES)". Nothing else onmainfailed, andmainhas had no CI run since.The check differentiates a piecewise-linear polar whose alpha grid has knots every 5°, and a 1e-5 forward difference straddling a knot measures the average of two slopes where forward AD takes one. Which panel alpha lands in that window is decided by the NeuralFoil fixture, redrawn every run (#291) — the #287 flake, fixed in #292 by tightening
rtolto 1e-11, the step to 1e-8 and the bound to 1e-4.Why this branch is empty
The advisory review on #292 flagged the comment that PR added at the call site, which described the old wide step beside the new narrow one; cac7762 reworded it. #292's own follow-up 1a4a039 then took
linearize'sfd_absstep/fd_relstepdefaults to 1e-8 and had the test passbackend=nothing, deleting the explicit step — and with it the only line the comment had to describe.That is the conflict this turn was handed. Resolved to #292's side: with no step written at the call site there is nothing for a comment there to say, and why 1e-8 is the right default now lives in #292's changelog entry and
linearize's docstring rather than in the test. Merge e18f9ed leaves the branch byte-identical to #292's head, so #304 had no diff left and is closed.What is left for #303 is merging #292 —
mainstays red until it lands. The fixture-reproducibility root cause (#291) and the release (#302) are untouched.Verification
0.04001429189872729 < 0.001attest/solver/test_forwarddiff.jltest/solver/test_forwarddiff.jlon the merged head e18f9ed: 7/7 pass, 34.2 s (juliaserver,testenv) —norm_fwd = 2.205885944736307,norm_fd = 2.205885850610976bin/reuse_lint· up to date with the stack base, which itself carriesmainat fb1eea7Scope
0 changed lines over the stack base
agent/287-test-forwarddiff-jl-s-polar-matrices-che(#292); +19 / −14 across 3 files againstmain, all of it #292's. Stack: 2/2 → #292, closed as subsumed.Closes #303 · task
VortexStepMethod.jl-303