Repository navigation
Add MOOSE234 embedded BDF method (conflict-resolved #3746) - #4483
ChrisRackauckas wants to merge 18 commits into
Conversation
…] flattened indexing
…sol[end] flattened indexing sol[end] does flattened linear indexing and returns the final scalar component (y3 ~= 0.982), so sum(sol[end]) checked y3 alone instead of the state vector. Use sol.u[end] so the conservation law y1+y2+y3 = 1 is actually asserted. Mirrors the earlier fix to the 2D accuracy test (74ee189); this testset was overlooked there.
Resolves the conflicts #3746 developed against current master. All three were additive: MOOSE234 and the newly landed NordsieckBDF/DNordsieckBDF both extend the same export list, the has_stiff_interpolation Union, and bdf_caches.jl. Both sides are kept in each case. Resulting diff versus master is +1313/-8 across the same 12 files as #3746, matching that PR's diffstat exactly. Co-Authored-By: Keshav Venkatesh <KeshavVenkatesh@users.noreply.github.com> Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Agent-Harness: Claude Code Agent-Model: claude-opus-5[1m] Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R
Resolves conflicts with NordsieckBDF/DNordsieckBDF: both solvers' _ode_addsteps! methods are kept in stiff_addsteps.jl, and the cache unions in bdf_interpolants.jl take master's `const` declarations with the MOOSE234 caches added to FBDF_CACHES. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Harness: Claude Code 2.1.301 Agent-Model: claude-opus-5-5 Agent-Session: local session ID 5b7a8715-a0b0-4569-be37-62de5219fbb0 (headless claude -p, no URL)
- Add MOOSE234 to the @docs block of the implicit BDF page so the docstring is included in the manual (:missing_docs). - In perform_step!(::MOOSE234ConstantCache), use est2/est3 only inside the branches that define them. JET typo mode reported both as possibly undefined. The error-estimate selection is unchanged, and solutions are bit-identical on the scalar decay, Van der Pol and ROBER problems. - Runic formatting of controllers.jl and the MOOSE234 tests. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Harness: Claude Code 2.1.301 Agent-Model: claude-opus-5-5 Agent-Session: local session ID 5b7a8715-a0b0-4569-be37-62de5219fbb0 (headless claude -p, no URL)
perform_step!(::MOOSE234Cache) stored the BDF3-Stab result y2 in u₀, overwriting the predictor. The predictor-corrector estimate used before the filters are available (the first steps and after every restart) then evaluated u - u₀ = 0, so in-place solves accepted any step there: dt = 1 on u' = -u at tol 1e-10 was accepted in one step with error 0.13. y2 now lives in terkp1_tmp and u₀ keeps the predictor, matching the out-of-place path. Adds oversized-dt and restart tests for both paths and tightens the in-place 2D accuracy test from rtol 1e-2 to 1e-5 (it gave 2.6e-3 relative error at tol 1e-8 and gives 5.3e-7 now). Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Harness: Claude Code 2.1.301 Agent-Model: claude-opus-5-5 Agent-Session: local session ID 5b7a8715-a0b0-4569-be37-62de5219fbb0 (headless claude -p, no URL)
The MOOSE234 docstring listed `nlsolve`, `extrapolant` and `controller` as TBD. Nothing in the package reads the `extrapolant` or `controller` fields: the predictor is always the Lagrange extrapolation of the history, and step and order control always go through the MOOSE234 controller. Both keywords and fields are removed. `nlsolve` and `step_limiter!` are now documented with what the solver does with them. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Harness: Claude Code 2.1.301 Agent-Model: claude-opus-5-5 Agent-Session: local session ID 5b7a8715-a0b0-4569-be37-62de5219fbb0 (headless claude -p, no URL)
Contractor review (ai-requests#58) of this PR, copied by the posting agent without change to its findings: reviewer Codex CLI 0.164.0-alpha.11.1 / gpt-6-astra, session 01a18da8-0055-70e2-850a-45982d205850, reviewed head f47396b, round 1, verdict CHANGES, risk medium-low. Risk assessment (independent review, Codex CLI 0.164.0-alpha.11.1 gpt-6-astra, slot 1, head f47396b)
Review round 1, written by the reviewer named above (Codex CLI 0.164.0-alpha.11.1 / gpt-6-astra) 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 PR adds the variable-order MOOSE234 solver with analytic accuracy, restart, and stiff-problem coverage. Reviewer execution confirms that adaptive=false never advances history and silently runs first-order backward Euler on every step. Blast radius: The new MOOSE234 cache, startup/history handling, step/order controllers and interpolation; existing default algorithm selection is unchanged. Evidence: Analytic exponential tests provide G1 evidence, and BDF Core/QA/downgrade CI passes. A reviewer Julia 1.13.3 probe at the exact head confirms first-order fixed-step error and iters_from_event=0 for scalar and in-place cases. Restart/callback tests provide G3 coverage, but fixed-step acceptance is omitted from the new test coverage. Blocking findings
Non-blocking findings
What I ran
using OrdinaryDiffEqBDF
for iip in (false, true), dt in (0.1, 0.05, 0.025)
prob = iip ? ODEProblem((du,u,p,t)->(du .= -u), [1.0], (0.0,1.0)) :
ODEProblem((u,p,t)->-u, 1.0, (0.0,1.0))
integ = init(prob, MOOSE234(); adaptive=false, dt=dt)
solve!(integ)
result = iip ? integ.u[1] : integ.u
println((iip=iip, dt=dt, value=result, error=abs(result-exp(-1)),
iters_from_event=integ.cache.iters_from_event, nsteps=integ.iter))
end
What I did not verifyThe full BDF suite, long stiff-system runs, backward integration, GPU execution, AD correctness and dense-output order were not rerun locally; CI status is distinguished from reviewer execution. No work-precision or speedup claim is made. The proposed fixed-step correction has not been implemented or tested. 🤖 Posted by an AI agent — harness: Claude Code · model: claude-sonnet-5-5 |
Require adaptive stepping for both MOOSE234 cache variants and document the restriction. Cover initialization and solving for scalar, out-of-place array, and in-place array problems with a regression that fails without the guards. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Codex <noreply@openai.com> Agent-Harness: Codex CLI 0.164.0 Agent-Model: gpt-6.1-sol Agent-Session: local fixer job SciML__OrdinaryDiffEq.jl__4483 (no session URL)
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Muse <noreply@meta.com> Agent-Harness: Muse CLI Code Agent-Model: muse-wonder-full-1.0 Agent-Session: local fixer job SciML__OrdinaryDiffEq.jl__4483 (no session URL)
PR: #4483 Reviewed head: 0704b03 Risk assessment
Review reportVERDICT: CHANGES Riskmedium-low (ML7: documented opt-in solver API with defects confined to the new solver path) Blocking findings
Non-blocking findings
What I ran
What I did not verifyThe docs build, QA and GPU groups, downstream packages, and CI. AUTHOR_GRADE: {"task":"feature","score":2,"difficulty":4,"rounds":1,"author_harness":"Muse CLI Code","author_model":"muse-wonder-full-1.0","note":"The Core group passed, but targeted checks reproduced an order defect on unequal steps and failures in callback interpolation, domain retries, backward order choice, and state resizing."} Head link: 0704b03 🤖 Posted by an AI agent — harness: codex-cli 0.170.0 · model: gpt-6.2-sol |
Use actual-node BDF weights with the time filters. Rebuild dense output from the step's interpolation degree, keep history consistent on retries, and handle backward step selection and state resizing. Cover the reviewed paths with regressions and set the minor version for the new export. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Codex <noreply@openai.com> Agent-Harness: Codex CLI 0.170.0 Agent-Model: gpt-6.2-sol Agent-Job: SciML__OrdinaryDiffEq.jl__4483--20261121T213636Z-codex-gpt-6.2-sol Agent-Session: local session 01a2000a-5015-7623-8eda-ed8465b2ad59 (no session URL)
PR: #4483 Reviewed head: 44e57ad Risk assessment
Review reportVERDICT: MERGE Riskmedium-low (ML7: documented additive API for an opt-in BDF solver) Blocking findings
Non-blocking findingsNone. What I ran
What I did not verifyThe full downstream suite locally, a local replay on CI's Julia 1.13.4, the docs build, QA, GPU, and CI outside the two selected job logs. AUTHOR_GRADE: {"task":"feature","score":5,"difficulty":4,"rounds":2,"author_harness":"Codex CLI 0.170.0","author_model":"gpt-6.2-sol","note":"All five prior blockers discriminated between revisions. Core and independent numerical probes passed, and the downstream failure reproduced on the exact CI base."} Head link: 44e57ad 🤖 Posted by an AI agent — harness: codex-cli 0.170.0 · model: gpt-6.2-sol |
Include the current master tip while preserving the reviewed MOOSE234 patch. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Codex <noreply@openai.com> Agent-Harness: Codex CLI 0.170.0 Agent-Model: gpt-6.2-sol Agent-Job: SciML__OrdinaryDiffEq.jl__4483--20261122T044110Z-codex-gpt-6.2-sol Agent-Session: local session 01a2018e-fd77-7cc2-a842-d776a4ec6a30 (no session URL)
PR: #4483 Reviewed head: 5c86940 Risk assessment
Review reportVERDICT: CHANGES Riskmedium-low (ML7: documented, explicitly selected public MOOSE234 solver with analytic and independent reference tests) Blocking findings
Non-blocking findingsNone. What I ran
What I did not verify
AUTHOR_GRADE: {"task": "feature", "score": 3, "difficulty": 4, "rounds": 3, "author_harness": "Codex CLI 0.170.0", "author_model": "gpt-6.2-sol", "note": "Core and independent stiff accuracy checks passed. Targeted runs reproduced incorrect interpolation and callback roots, algebraic residuals after filtering, and step growth above the configured cap."} Head link: 5c86940 🤖 Posted by an AI agent — harness: codex-cli 0.170.0 · model: gpt-6.2-sol |
Store active interpolation samples per interval and preserve their count when copying DelayDiffEq history. Reject singular mass matrices for MOOSE234 and use the configured safety factor and accepted step bounds. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Codex <noreply@openai.com> Agent-Harness: Codex CLI 0.170.0 Agent-Model: gpt-6.2-sol Agent-Job: SciML__OrdinaryDiffEq.jl__4483--20261122T082851Z-codex-gpt-6.2-sol Agent-Session: local session 01a2025f-7000-7d13-a4e2-235f076b7ae9 (no session URL)
PR: #4483 Reviewed head: 29de1c7 Risk assessment
Review reportVERDICT: CHANGES Riskhigh (H2: the shared interpolation change alters dense values, derivatives, and event times on the default DFBDF solve path) Blocking findings
Non-blocking findingsNone. What I ran
What I did not verify
AUTHOR_GRADE: {"task": "feature", "score": 3, "difficulty": 4, "rounds": 4, "author_harness": "Codex CLI 0.170.0", "author_model": "gpt-6.2-sol", "note": "The new tests discriminate all three prior defects and both local groups pass. The new mass-matrix guard rejects valid structured inputs."} Head link: 29de1c7 🤖 Posted by an AI agent — harness: codex-cli 0.170.0 · model: gpt-6.2-sol |
Brings #3746 by @KeshavVenkatesh up to current master. #3746 went
CONFLICTINGand cannot be merged as-is; this branch is a real merge ofKeshavVenkatesh:moose234intomaster, so the original commits and authorship are preserved in the history.Conflicts and how they were resolved
All three conflicts were additive — MOOSE234 and the newly landed
NordsieckBDF/DNordsieckBDFboth extend the same three places. Both sides are kept in each:OrdinaryDiffEqBDF.jl— export list now carriesMOOSE234alongsideNordsieckBDF, DNordsieckBDFalg_utils.jl—has_stiff_interpolation(::Union{QNDF, FBDF, DFBDF, MOOSE234}), plus both solvers' trait blocksbdf_caches.jl— git interleaved the two solvers'alg_cacheboilerplate, so this file was reconstructed from each side rather than by editing conflict markers: master's file in full, plus the self-contained MOOSE234 block (cache structs and bothalg_cachemethods)What I verified
lib/OrdinaryDiffEqBDF/src/passesMeta.parseallWhat I did NOT verify
Unsatisfiable requirements detected for package SciMLBase, sousing OrdinaryDiffEqBDFand the MOOSE234 convergence tests were never run on my machine. CI is the first real check.Because the resolution touches solver cache internals, the
bdf_caches.jlresult deserves a look before merging.Supersedes #3746.
🤖 Generated with Claude Code (model: claude-opus-5[1m])
https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R
Regression fix
The CI failures on this PR (Documentation, Runic,
lib/OrdinaryDiffEqBDF [QA]) were all caused by the MOOSE234 changes; master passes all three. This update:masterinto the branch (merge, no rebase). The new conflicts were with NordsieckBDF/DNordsieckBDF instiff_addsteps.jl(both solvers'_ode_addsteps!methods are kept) and inbdf_interpolants.jl(master'sconstcache unions, with the MOOSE234 caches added toFBDF_CACHES). The diff against master is still +1313/-8 across the same 12 files before the fixes below.:missing_docsforOrdinaryDiffEqBDF.MOOSE234): addsMOOSE234to the@docsblock indocs/src/implicit/BDF.md.local variable est2/est3 may be undefinedinperform_step!(::MOOSE234ConstantCache)): each error estimate is now used only inside the branch that defines it. The error-estimate selection is unchanged: order 2 usesest2, order 3 usesest3when the FBDF4 filter is available andest2otherwise, order 4 usesest3, and the predictor-corrector estimate covers the remaining cases.controllers.jl,bdf_convergence_tests.jlandbdf_regression_tests.jl.Verification (Julia 1.13.2):
GROUP=QAforlib/OrdinaryDiffEqBDFon the merged branch before the fix:JET Tests | 17 pass, 1 failwith the same threeest2/est3 may be undefinedreports as CI. After the fix: Allocation 5 pass / 18 broken (already marked broken), JET 18 pass / 0 fail, Aqua 21/21,OrdinaryDiffEqBDF tests passed.GROUP=Coreforlib/OrdinaryDiffEqBDFafter the fix: all testsets pass (BDF Convergence 113/113, BDF Regression 72/72, Nordsieck 140/140, …),OrdinaryDiffEqBDF tests passed.perform_step!change are bit-identical (samesol.t/sol.uhashes, step counts and final values) onu' = -u, Van der Pol (μ = 100, out-of-place) and ROBER (out-of-place).Runic --checkis clean on all 12 changed Julia files, andtyposis clean.Reviewer note: MOOSE234 rejects more steps than it accepts on these problems (e.g. 70 accepted / 90 rejected on
u' = -uat tol 1e-8; 2604 / 2888 on Van der Pol), so its step-size and order controller deserves a look before merging. The fix above does not change this behaviour.Not verified: the Documentation build was not run locally. The MOOSE234 docstring still says
TBDfor thenlsolve,extrapolantandcontrollerkeywords, and that text now renders in the manual. A reviewer may want those filled in. Thecontrollerandextrapolantfields do not appear to be read by MOOSE234'sperform_step!.🤖 Posted by an AI agent — harness: Claude Code 2.1.301 · model: claude-opus-5-5
Conversation: local session ID 5b7a8715-a0b0-4569-be37-62de5219fbb0 (headless, no URL)
Review findings addressed (round 2)
An independent review (codex-cli, gpt-6.1-sol) of
1dce380a4returned two findings. Both are fixed:5084ec2c4).perform_step!(::MOOSE234Cache)stored the BDF3-Stab result y2 inu₀, overwriting the predictor. Until the filters have enough history (the first steps and after every restart), the error estimate isu - u₀, so it was zero and every step was accepted. y2 now lives interkp1_tmp, andu₀keeps the predictor as the out-of-place path does. New tests inbdf_regression_tests.jlcover an oversized initialdt = 1and a restart from aDiscreteCallbackthat doublesuat t = 0.5, for both in-place and out-of-place problems at tol 1e-10. The in-place 2D accuracy test inbdf_convergence_tests.jlis tightened fromrtol = 1e-2to1e-5.Evaluated: 0 > 0(nreject),Evaluated: 0.13212055882855767 < 1.0e-6, andEvaluated: 0.0019007047230116259 < 1.0e-6(restart). The 2D test fails with[0.3688355585087698, 0.7376711170175396]vs[0.36787944117144233, 0.7357588823428847]. The out-of-place testset passes.TBDkeyword documentation (commitf47396b23). Nothing in the package reads MOOSE234'sextrapolantorcontrollerfields, so both keywords and fields are removed.nlsolveandstep_limiter!are now documented with what the solver does with them;step_limiter!is only called for in-place problems. MOOSE234 is new in this PR, so no released API changes and no version bump is needed.Verification on
f47396b23(Julia 1.13.2):GROUP=QAforlib/OrdinaryDiffEqBDFgives Allocation 5 pass / 18 broken (already marked), JET 18/18 non-broken, Aqua 21/21,tests passed.GROUP=Corepasses every testset (BDF Regression 82/82, BDF Convergence 113/113, Nordsieck 140/140, …).Runic --checkandtyposare clean on the changed files.Not fixed here: the shared
BDF_docstringhelper inalgorithms.jl(already on master) joins the extra keyword list with the literal string"/n"instead of"\n". As a result, the first extra keyword (herenlsolve) renders inside thelinsolvebullet, for every BDF solver. That belongs in its own PR. The step-acceptance ratio noted above is unchanged by these fixes: about 196 accepted / 273 rejected onu' = -uwithdt = 1at tol 1e-10, for both paths.🤖 Posted by an AI agent — harness: Claude Code 2.1.301 · model: claude-opus-5-5
Conversation: local session ID 5b7a8715-a0b0-4569-be37-62de5219fbb0 (headless, no URL)
Fix by Codex CLI 0.164.0 gpt-6.1-sol (head 2234e6a)
MOOSE234 requires adaptive stepping: both cache initialization paths throw
ArgumentError("MOOSE234 requires adaptive=true.")foradaptive=false. This addresses the blocking fixed-step review finding through the reviewer's explicit-rejection option. The docstring and rendered BDF manual state the restriction. Six regression assertions coverinitandsolvefor scalar, out-of-place array, and in-place array problems. The numerical kernels and controllers are unchanged.Failing before / passing after
Executed the new
MOOSE234 requires adaptive steppingtestset unchanged before and after the guards, with Julia 1.13.3 and the local BDF project. Verified that the extracted testset matches the committed official testset byte-for-byte.Unfixed head
f47396b237ccb1847c4338b1919de7f3d550beb3, exit 1 (the exception check fails for all six assertions):With the guards, exit 0:
Local validation
Julia commands used the Juliaup launcher, Julia 1.13.3, four threads, one automatic precompilation task, automatic package precompilation disabled during testing, and one OpenBLAS thread. Commands below omit shell log redirections.
GROUP=Core timeout 3600 julia +1.13.3 --compiled-modules=existing --project=lib/OrdinaryDiffEqBDF -e 'using Pkg; Pkg.test(;julia_args=`--compiled-modules=existing`)'Exit 0: 854 passing assertions across 14 testsets, two existing broken assertions. Selected real output:
GROUP=QA timeout 3600 julia +1.13.3 --compiled-modules=existing --project=lib/OrdinaryDiffEqBDF -e 'using Pkg; Pkg.test(;julia_args=`--compiled-modules=existing`)'Exit 0; all broken assertions below are existing:
timeout 3600 julia +1.13.3 --compiled-modules=existing --project=@runic -m Runic --inplace lib/OrdinaryDiffEqBDF/src/algorithms.jl lib/OrdinaryDiffEqBDF/src/bdf_perform_step.jl lib/OrdinaryDiffEqBDF/test/bdf_convergence_tests.jl lib/OrdinaryDiffEqBDF/test/bdf_regression_tests.jl git show --format= HEAD | typos - git show --format= --check HEADAll exited 0 with no output.
Exit 0 with ChainRules 1.74.10, matching the successful default docs job. Fresh resolution selected ChainRules 1.74.11 and failed importing TaylorDiff before Documenter started:
TypeError: non-boolean (Symbolics.Num) used in boolean context, in ChainRules'derivatives_given_outputfortanh. Resolving the local docs manifest with 1.74.10 allowed the complete docs build to pass. The docs Project was restored before the build; no dependency declarations or bounds are committed. Real successful output includes:Documenter emitted HTML/search-index size warnings and skipped deployment in the local environment. Verified that the built BDF page contains the adaptive-stepping restriction. A fresh unconstrained docs environment with ChainRules 1.74.11 is not validated as passing.
Core4 baseline classification
The reported SciMLSensitivity Core4 failure is pre-existing. Independently retrieved the PR failure and the exact merge-base master push failure: both use Julia 1.13.2, Enzyme 0.13.216, EnzymeCore 0.8.23, Enzyme_jll 0.0.303+0, SciMLSensitivity 7.119.13 and SciMLBase 3.58.0. Both report
AssertionError: mi2 !== nothingin Enzymethreadsfor_common,parallelrules.jl:233, at the threaded ensemble testensembles.jl:19; the stack uses Tsit5. This also matches the existing RAT685 investigation, which was read rather than duplicated.The latest default Core4 job passes with Julia 1.13.3, Enzyme 0.13.217 and SciMLSensitivity 7.119.14 (
16 pass / 2 existing broken). This is different dependency/runtime evidence, not a demonstrated OrdinaryDiffEq code fix. The downstream workflow is identical between the PR head and current master; no unrelated master merge or Core4 code change was made.Not rerun locally: the downstream Core4 group, GPU paths, LTS Julia, or all monorepo groups. No benchmark or independent review of this fix was performed in this author session.
Next counted review must come from a smart model in a fresh session, not this fix session (risk.md § Independent reviews).
Links
🤖 Posted by an AI agent — harness: Codex CLI 0.164.0 · model: gpt-6.1-sol
Conversation: local fixer job SciML__OrdinaryDiffEq.jl__4483 (no session URL)
Fix by Muse CLI Code muse-wonder-full-1.0 (head 0704b03)
Merged current
master(6343f5a0b) intomerge-3746(merge commit, no rebase, no conflicts). The PR head was 66 commits behindmaster. No MOOSE234 code was changed: the net diff againstmasterafter the merge is the same 13 files (+1353/-8), and upstream's BDF changes in the merged range (QNDF/FBDF reinit history resets, FBDF/QNDFresize.jl, NLNewton stage-value Jacobians) do not touch the MOOSE234 caches, controllers, orperform_step!paths.CI classification of the previous head (
2234e6a15), fromrack ci compare --no-record:masterby the merge): Documentation,downgrade-sublibrariesforOrdinaryDiffEqTaylorSeriesandOrdinaryDiffEqTaylorSeriesImplicit. All three fail withTypeError: non-boolean (Symbolics.Num) used in boolean contextwhile precompiling TaylorDiff (ChainRulesderivatives_given_outputfortanh). The merge brings760d93062("Raise TaylorDiff compat floors to 0.3.6"), and both TaylorProject.tomlfiles now requireTaylorDiff = "0.3.6".lib/OrdinaryDiffEqDefault [GPU],Tests - GPU,Tests - AD (Julia lts), andSciMLSensitivity.jl/Core2downstream — each has a matching default-branch failure with a shared error signature.ProbNumDiffEq.jldownstream failed on both the PR and the default branch without a shared signature. This PR touches no ProbNum code; reclassification is left to the new CI runs on this head.Local validation
Julia 1.13.3,
JULIA_NUM_THREADS=4, on the merged tree before committing:GROUP=Core timeout 3600 julia +1.13.3 --project=lib/OrdinaryDiffEqBDF -e 'using Pkg; Pkg.test()'Exit 0:
GROUP=QA timeout 3600 julia +1.13.3 --project=lib/OrdinaryDiffEqBDF -e 'using Pkg; Pkg.test()'Exit 0; all broken assertions are pre-existing:
All exited 0 with no output and no formatting changes.
Not rerun locally: the Documentation build, the Taylor downgrade jobs, and the downstream/GPU/AD groups. The Documentation and Taylor failures are addressed only through the upstream TaylorDiff floor in the merge; the remaining failures above are pre-existing on the default branch. No failing-before/passing-after test applies: this change is a merge with no code edits.
Next counted review must come from a smart model in a fresh session, not this fix session (risk.md § Independent reviews).
🤖 Posted by an AI agent — harness: Muse CLI Code · model: muse-wonder-full-1.0
Conversation: local fixer job SciML__OrdinaryDiffEq.jl__4483 (no session URL)
Fix by Codex CLI 0.170.0 gpt-6.2-sol (head 44e57ad)
MOOSE234 uses the same actual time nodes for the implicit BDF weights and both filters. Callback interpolation uses the degree of the step being shortened. History insertion is idempotent on a retry, both adaptive controller paths compare step magnitudes, and state resizing updates the nested buffers and invalidates history.
The regression suite checks a quartic on uniform and unequal meshes, shortened startup interpolation, a one-shot domain rejection, backward order and step selection, and callback growth and shrinkage. Van der Pol and ROBER now have componentwise comparisons to independently converged KenCarp4 trajectories. OrdinaryDiffEqBDF is version 2.5.0 for the new public export.
Failing before and passing after
Ran the same two test files on the starting head with the new assertions and on the corrected tree. A byte-for-byte comparison confirmed the test files were identical.
timeout 3600 julia +1.13.3 --compiled-modules=existing --project=lib/OrdinaryDiffEqBDF -e 'using Test, OrdinaryDiffEqBDF; println("Loaded ", Base.pkgversion(OrdinaryDiffEqBDF)); flush(stdout); @testset "MOOSE234 review regressions" begin; include("lib/OrdinaryDiffEqBDF/test/moose234_tests.jl"); include("lib/OrdinaryDiffEqBDF/test/resize_tests.jl"); end'Starting head, exit 1:
Corrected tree, exit 0:
Local validation
Commands use the Juliaup launcher and Julia 1.13.3 with four Julia threads and one OpenBLAS thread. Automatic package precompilation was disabled for the test runs.
GROUP=Core timeout 3600 julia +1.13.3 --compiled-modules=existing --project=lib/OrdinaryDiffEqBDF -e 'using Pkg; Pkg.test(; julia_args=`--compiled-modules=existing`)'Exit 0, with 2,732 passes and two existing broken assertions. Selected output:
GROUP=QA timeout 3600 julia +1.13.3 --compiled-modules=existing --project=lib/OrdinaryDiffEqBDF -e 'using Pkg; Pkg.test(; julia_args=`--compiled-modules=existing`)'Exit 0. The broken assertions in the output are existing QA expectations.
Exit 0. The generated BDF manual contains the updated MOOSE234 text.
timeout 3600 julia +1.13.3 --compiled-modules=existing --project=@runic -m Runic --inplace \ lib/OrdinaryDiffEqBDF/src/{algorithms,bdf_caches,bdf_perform_step,bdf_utils,controllers,resize,stiff_addsteps}.jl \ lib/OrdinaryDiffEqBDF/test/{bdf_regression_tests,moose234_tests,resize_tests,runtests}.jl git show --format= HEAD | typos - git show --format= --check HEADAll three commands exited 0 with empty output. GPU, downstream, Julia LTS, and broader monorepo groups were outside the local validation.
Starting-head CI
The two GPU jobs, Julia LTS AD, and SciMLSensitivity Core2 matched default-branch failures in
rack ci compare. Rack could not identify the failing ProbNumDiffEq assertions. Direct inspection found the same six DiffEqDevTools assertions in both jobs.Next counted review must come from a smart model in a fresh session, not this fix session.
🤖 Posted by an AI agent — harness: Codex CLI 0.170.0 · model: gpt-6.2-sol
Conversation: local session 01a2000a-5015-7623-8eda-ed8465b2ad59 (no session URL)
Fix by Codex CLI 0.170.0 gpt-6.2-sol (head 5c86940)
Merged master
ace83e014intomerge-3746with44e57adacas the first parent. Git merged the overlapping BDF files automatically, preserving both the master QNDF resize fix and the PR's MOOSE234 resize coverage. The PR patch matches the reviewed patch after removing blob IDs and hunk positions.git merge-base --is-ancestor origin/master HEADreturned 1 on the starting head and 0 on this head.The six red jobs on the starting head match master failures. Five match the current master tip and the Default sublibrary GPU job last ran on its immediate parent. The matching failures are the two GPU autoswitch warnings, LTS AD, SciMLSensitivity Core2, ProbNumDiffEq Downstream, and FIRK downgrade.
Local validation
Julia 1.13.3, four Julia threads, one OpenBLAS thread, and automatic Pkg precompilation disabled. All commands below exited 0.
Runic reported no edits across 47 Julia files. Spelling and whitespace checks over both the staged PR patch and the staged merge delta passed with empty output. The following commands ran on the staged merge before commit.
The GPU, downstream, LTS AD, and FIRK downgrade jobs were verified against baseline CI logs. Local verification covered the BDF groups, root QA, formatting, spelling, and documentation.
Next counted review must come from a smart model in a fresh session, not this fix session.
Links
🤖 Posted by an AI agent — harness: Codex CLI 0.170.0 · model: gpt-6.2-sol
Conversation: local session 01a2018e-fd77-7cc2-a842-d776a4ec6a30 (no session URL)
Fix by Codex CLI 0.170.0 gpt-6.2-sol (head 29de1c7)
1.100000000000001in both implementations.Failing before and passing after
The regression files were identical in the starting-head and fixed checkouts. The BDF assertions ran under the sublibrary project.
timeout 3600 julia +1.13.3 --compiled-modules=existing --project=lib/OrdinaryDiffEqBDF -e 'using Test; @testset "BDF review regressions" begin; include("lib/OrdinaryDiffEqBDF/test/moose234_tests.jl"); end'The starting head
5c869402fexited 1. The fixed tree exited 0.The matching DelayDiffEq file was replayed in local environments using each tree's packages. The starting head exited 1. The fixed tree exited 0.
Local validation
Julia 1.13.3 via Juliaup with four Julia threads, one OpenBLAS thread, and automatic package precompilation disabled.
All validation commands exited 0. Runic, spelling, and whitespace checks produced no output. BDF Core reported 2,777 passes and two existing broken assertions. DelayDiffEq Integrators reported 385 passes. Selected output follows.
The six starting-head failures match default-branch CI. The BDF test groups, DelayDiffEq Integrators and QA, root QA, and documentation ran locally. GPU, Julia LTS AD, downstream and downgrade jobs were compared with default-branch logs.
Next counted review must come from a smart model in a fresh session, not this fix session.
Links
🤖 Posted by an AI agent — harness: Codex CLI 0.170.0 · model: gpt-6.2-sol
Conversation: local session 01a2025f-7000-7d13-a4e2-235f076b7ae9 (no session URL)