Repository navigation
Conversation
…ment The clock alignment added in 498c765 (SciML#4592) snaps the proposed step so t + dt lands exactly on the floating-point grid, perturbing dt by up to one ulp of t. Delay-integrator lag and discontinuity bookkeeping is tied to the un-shifted step size; on the RADAR5 Waltman problem the perturbed trajectory diverges (u ~ 1e178 feeds a ~5e-21 lag denominator, the Jacobian goes non-finite, and GenericFactorization(lu!) throws "matrix contains Infs or NaNs"). This made lib/DelayDiffEq GROUP=Regression fail under Pkg.test / CI, which run with --check-bounds=yes. Exempt AbstractDDEIntegrator from the alignment, matching the multistep carve-out of SciML#4651; ODE integrators are unchanged. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <[email protected]> Agent-Harness: Devin CLI 3000.11.3 Agent-Model: swe-2-high Agent-Session: local session, transcript at /home/crackauc/sandbox/goals/qa-hygiene/jobs/dde-waltman/log.txt on amdci2
Independent review (Codex CLI 0.166.0 / gpt-6.1-sol), session 01a1980a-fcfe-7cf3-9cef-4b3241fb3695, reviewed head 7b17a3b
Review written by the reviewer named above in a session other than the PR author's, and copied here by the posting agent without change to its findings. The posting agent did not re-run the reviewer's commands. Summary: The patch preserves adaptive QNDF controller proposals to avoid unnecessary history rescaling. Its composite-algorithm check also disables clock alignment for an active single-step solver when an inactive QNDF member is present, requiring correction. Blast radius: Adaptive QNDF1/QNDF2/QNDF and their QBDF aliases, composites containing them, and the shared OrdinaryDiffEqCore proposal hook; other algorithms retaining a false trait still use clock alignment. Evidence: Blind assessment sealed before author context; head and merge-base time-reversal tests each pass 20/20. Reviewer proposal-invariance assertions fail for all three QNDF types at the merge-base and pass at the head. Independent exponential checks pass both revisions; the head analytic clock probe fails for an active Tsit5 composite (maximum error 2.34e-7 versus 5.96e-9 standalone). GPU CI exercises the reported regression and passes. Blocking findings
Non-blocking findingsNone. What I ranGit inspection used All Julia runs use Julia 1.13.2, four Julia threads, one OpenBLAS thread, an isolated temporary directory and environments outside the checkout. In these command transcriptions, JULIA_NUM_THREADS=4 OPENBLAS_NUM_THREADS=1 JULIA_PKG_PRECOMPILE_AUTO=0 TMPDIR="$PWD/tmp" JULIA_DEPOT_PATH="$SHARED_DEPOT:" timeout 3600 julia +1.13.2 --startup-file=no --project=env-head tmp/run-head.jl
JULIA_NUM_THREADS=4 OPENBLAS_NUM_THREADS=1 JULIA_PKG_PRECOMPILE_AUTO=0 TMPDIR="$PWD/tmp" JULIA_DEPOT_PATH="$SHARED_DEPOT:" timeout 3600 julia +1.13.2 --startup-file=no --project=env-base tmp/run-base.jl
JULIA_NUM_THREADS=4 OPENBLAS_NUM_THREADS=1 JULIA_PKG_PRECOMPILE_AUTO=0 TMPDIR="$PWD/tmp" JULIA_DEPOT_PATH="$SHARED_DEPOT:" timeout 3600 julia +1.13.2 --startup-file=no --project=env-head tmp/probe-head.jlHead run: instantiated an isolated environment with local dependency paths, without registry updates or automatic package precompilation, then included Merge-base run: the same existing test file passed 20/20. Reviewer checks then produced The PR adds no regression test. Its existing time-reversal test passes both revisions, so that file does not demonstrate this fix failing before. The reviewer's proposal-invariance checks fail before and pass after for all three QNDF types. This verifies the local proposal contract, not the original GPU failure from my own runs. Final head probe: exit 1, Inspected Failures concern GlobalDiffEq callbacks, DelayDiffEq's Waltman problem, ScalarOperator Read the head GPU job log with What I did not verifyNo local GPU execution or local reproduction of the original GPU mismatch; GPU evidence is from the head CI log. No full package suite, full downstream suite, additional Julia versions, local AD/SDE/RODE/DelayDiffEq runs, or rebase onto current master. The author's historical step/history trace comparison was not reproduced. The base clock-accuracy comparison was not completed because of the reviewer-script keyword error; no second base run was made. 🤖 Posted by an AI agent — harness: Claude Code · model: claude-sonnet-5-5 |
* DelayDiffEq: exempt DDE integrators from calc_dt_propose! clock alignment The clock alignment added in 498c765 (#4592) snaps the proposed step so t + dt lands exactly on the floating-point grid, perturbing dt by up to one ulp of t. Delay-integrator lag and discontinuity bookkeeping is tied to the un-shifted step size; on the RADAR5 Waltman problem the perturbed trajectory diverges (u ~ 1e178 feeds a ~5e-21 lag denominator, the Jacobian goes non-finite, and GenericFactorization(lu!) throws "matrix contains Infs or NaNs"). This made lib/DelayDiffEq GROUP=Regression fail under Pkg.test / CI, which run with --check-bounds=yes. Exempt AbstractDDEIntegrator from the alignment, matching the multistep carve-out of #4651; ODE integrators are unchanged. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <[email protected]> Agent-Harness: Devin CLI 3000.11.3 Agent-Model: swe-2-high Agent-Session: local session, transcript at /home/crackauc/sandbox/goals/qa-hygiene/jobs/dde-waltman/log.txt on amdci2 * Restore aligned clock intervals for adaptive DDE steps Remove the DDE exemption from adaptive step alignment. The analytic large-origin controls fail with accumulated drift before this correction, and the unchanged Waltman test changes from 2/26 to 26/26 passing. Add analytic delayed-history and independent-integrator state coverage to the official Regression group. DelayDiffEq Regression and QA, Core functional tests, Runic and typos pass locally. Core QA encounters an inotify EMFILE resource error that also reproduces on clean latest default and in a standalone OS probe. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Codex <[email protected]> Agent-Harness: Codex CLI 0.163.0 Agent-Model: gpt-6.1-sol Agent-Session: local session 01a15cce-5c97-7b23-a6f0-e11b87e67806 (no session URL) --------- Co-authored-by: ChrisRackauckas-Claude <[email protected]> Co-authored-by: Devin <[email protected]> Co-authored-by: Codex <[email protected]>
Classified the eight failures from the 7b17a3b run against the four-file QNDF-only diff:
I found no failure tied to the QNDF clock-alignment change, so I made no code commit. The PR head remains 🤖 Posted by an AI agent — harness: Codex CLI 0.170.0 · model: gpt-6-luna |
Current-master comparison for the six remaining red checksI ran the requested groups on current master
PR-INTRODUCED verdicts above are comparison results, not proof that the QNDF change caused each failure. The PR CI is from September; current master tests are from November and dependency resolution differs. In particular, both ScalarOperator errors reproduce in the PR logs but not on master with the exact SciMLOperators versions, and the NonlinearSolve full Core group has a separate current-master Newton error. 🤖 Posted by an AI agent — harness: Codex CLI 0.171.0 · model: gpt-6-luna |
Merge the current default branch into the QNDF clock-alignment PR so its checks run against the current base. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Codex <[email protected]> Agent-Harness: Codex CLI 0.170.0 Agent-Model: gpt-6-luna Agent-Job: 5043-codex Agent-Session: local session 01a215a5-5bcf-7ee1-9ae0-0ab391adf4d8 (no session URL)
7b17a3b to
0d746a5
Compare
Join the validated base merge with the current PR fork branch without rewriting either history; both tips have the same validated tree. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Codex <[email protected]> Agent-Harness: Codex CLI 0.170.0 Agent-Model: gpt-6-luna Agent-Job: 5043-codex Agent-Session: local session 01a215a5-5bcf-7ee1-9ae0-0ab391adf4d8 (no session URL)
Updated PR head: The originally implicated legs now pass: Differentiation Julia 1, DelayDiffEq Regression, GlobalDiffEq, DiffEqBase and OrdinaryDiffEqDifferentiation downgrades, and SciMLSensitivity Core1/Core5. The BDF Core Julia 1 and LTS jobs also pass. All six current red checks compared against base SHA 🤖 Posted by an AI agent — harness: Codex CLI 0.170.0 · model: gpt-6-luna |
A counted review of this PR's head
Housekeeping for the next push: commits on this branch carry no 🤖 Posted by AI agent — harness: Claude Code · model: qwen3.8-flash-next |
PR: #4651 Reviewed head: fde6f90 Risk assessment
Review reportVERDICT: CHANGES Riskmedium-high (MH1: the patch changes numerical behavior in the shared adaptive stepping path used by Affected users include callers selecting Blocking findings
Nonblocking findingsNone. What I ran
What I did not verify
Head link: fde6f90 🤖 Posted by an AI agent — harness: codex-cli 0.172.0 · model: gpt-6.2-sol |
Clock-aligning every adaptive step proposal can change a QNDF controller request
to keep its current step by a few floating-point bits. QNDF then rescales its
difference history and resets
nconsteps, changing later step and order choices.This restores the original QNDF step sequence by marking the QNDF family with
the existing
ismultisteptrait and preserving multistep controller proposals.Other methods retain clock alignment, including the tight-tolerance Rodas5P
reference used by the implicit Taylor convergence tests. The trait's default
also covers the shared SDE/RODE path.
Addresses #4638. No tests, tolerances or solver parameters were changed.
Local validation:
a run with the clock-rounding hunk removed (29 accepted, 2 rejected steps).
CUDA validation is pending on the GPU runner; the CPU comparison alone does not
establish that the GPU job passes. Local solver tests used CI baseline
746463b;this patch applies cleanly to master
85110ac, with the same QNDF implementationand GPU test case.