Repository navigation
Delegate plotting helpers to RecursiveArrayTools - #1305
ChrisRackauckas-Claude wants to merge 405 commits into
Conversation
Pre-existing master Runic failure since SciML#1361. One-character fix to get the runic CI check green on master. Co-Authored-By: Chris Rackauckas <[email protected]>
…jl-runic-trailing-comma Add missing trailing comma in src/errors.jl for Runic
The downgrade workflow was disabled. The julia-actions/julia-downgrade-compat tooling issues that affected SciML monorepos are fixed and released in @v2, and this package builds and passes its test suite against the downgraded (minimal compatible) dependency versions. Re-enable the job and use allow_reresolve so the test environment can resolve transitive/test-only dependencies the downgrade step does not lock. Verified locally on Julia 1.11: downgrade resolve + build + test all pass. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…i-reenable Re-enable downgrade CI
Use Base.isType instead of inspecting Type internals directly when unwrapping Type parameters. Co-authored-by: OpenAI Codex <[email protected]>
compat: use Base.isType for Type checks
Convert remaining inline CI checks to the centralized SciML/.github reusable workflows (pinned @v1, secrets: "inherit"): - FormatCheck (Runic): inline fredrikekre/runic-action -> runic.yml@v1 - SpellCheck (typos): inline crate-ci/typos -> spellcheck.yml@v1 - Downgrade: inline julia-downgrade-compat -> downgrade.yml@v1 (preserved julia-version 1.10, skip Pkg,TOML,DifferentiationInterface, allow-reresolve) - Downstream/IntegrationTest: inline matrix -> matrix of downstream.yml@v1 callers (preserved full package+group list, julia 1.10, x64, depwarn=yes) Tests.yml and Documentation.yml were already central callers (left as-is, both already have secrets: "inherit"). Also: - Fixed 3 prose typos (paralleize, unavilability, repeted); added the `oint` identifier to .typos.toml as a false-positive allow. - Removed the crate-ci/typos dependabot ignore (spellcheck version is now managed centrally in SciML/.github). ReleaseTest.yml left unchanged: it adds and tests the *registered* release of a package (Pkg.add + Pkg.test of the registered version), which is a different semantics than downstream.yml@v1 (which checks out the repo head). Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Centralize CI on SciML reusable workflows
Rebased onto current master (now using the centralized SciML downgrade workflow). Switches allow-reresolve to false so tests run at the minimal (downgraded) versions, and raises ADTypes 1 -> 1.9.0 and Accessors 0.1.36 -> 0.1.39 (the floors DifferentiationInterface/StructArrays-ext need). Verified at the floor with allow_reresolve=false, 0 re-resolve. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…i-reenable Downgrade CI: switch to allow_reresolve=false (genuine test-at-floor)
`remake(::NonlinearProblem)` and `remake(::NonlinearLeastSquaresProblem)` reconstructed the problem without forwarding the `lb`/`ub` fields, so any bounds set on the problem were silently dropped on every remake (including the `remake` that runs trivial initialization at construction). This mirrors the existing behavior of `remake(::OptimizationProblem)`: default `lb`/`ub` to the problem's current values, and allow overriding (or clearing with `nothing`). Co-Authored-By: Chris Rackauckas <[email protected]>
…inear-remake-bounds Preserve `lb`/`ub` when remaking Nonlinear(LeastSquares)Problem
Co-authored-by: ChrisRackauckas-Claude <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
The reusable SciML/.github downgrade workflows now always use allow_reresolve: false and no longer accept an allow-reresolve input (see SciML/.github#71). Remove the now-invalid input so this caller keeps working once @v1 is retagged. Co-authored-by: Chris Rackauckas <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
) Convert the root test workflow (.github/workflows/Tests.yml, "Run Tests") to the canonical thin caller SciML/.github/.github/workflows/grouped-tests.yml@v1, with the group x version matrix declared once in test/test_groups.toml. The emitted root matrix reproduces the old hand-maintained matrix exactly (14/14 cells, all ubuntu-latest): Core, Downstream, SymbolicIndexingInterface, Python on [lts, 1, pre] QA on [lts, 1] (pre excluded, as before) continue_on_error=true is set for the downstream-dependent groups (Downstream, SymbolicIndexingInterface, Python) which activate external ecosystems; Core and QA remain blocking. No with: inputs are needed: runtests.jl reads GROUP (default), check-bounds and depwarn match the tests.yml defaults the caller inherits, coverage stays on, and there are no apt packages. on: triggers and concurrency are preserved verbatim; all other workflow files are untouched. Co-authored-by: ChrisRackauckas-Claude <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
…ciML#1376) Co-authored-by: ChrisRackauckas-Claude <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 6 to 7. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v6...v7) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: add HomotopyProblem struct + inner constructors
Define `HomotopyProblem{uType,isinplace,P,F,K,Λ,S} <: AbstractNonlinearProblem`
in `src/problems/nonlinear_problems.jl` with fields `f`, `u0`, `p`,
`homotopy_parameter`, `λspan`, `kwargs` and two inner constructors (typed
`AbstractNonlinearFunction{iip}` + bare-`f` fallback), mirroring the
`NonlinearProblem` pattern. Includes TDD test in `test/homotopy_problem_tests.jl`.
No outer constructors, export, ConstructionBase, or remake in this commit.
* feat: add HomotopyProblem outer constructors with iip autodetection
* feat: HomotopyProblem ConstructionBase.constructorof for @reset support
* feat: export HomotopyProblem
* test: lock HomotopyProblem remake (generic remake already handles it)
SciMLBase's generic remake, backed by ConstructionBase.constructorof
added in Task 3, already reconstructs HomotopyProblem correctly —
preserving homotopy_parameter and λspan while accepting u0/p/f overrides.
No custom remake method needed (YAGNI).
* test: register HomotopyProblem tests in Core group
* docs: document HomotopyProblem
* test: cover constructorof else-branch (@reset to a raw function)
* feat: accept HomotopyProblem in OverrideInitData (init problem can be a homotopy family)
* refactor: take λ as a separate residual argument f(u, p, λ)
Review feedback (SciML#1375): locating λ inside p required p to have a very
specific (indexable) structure and entangled λ with parameter AD. The residual
now follows the time-dependent argument convention with λ in place of t:
f(u, p, λ) out-of-place, f(du, u, p, λ) in-place, detected via isinplace(f, 4).
Drops the homotopy_parameter field; p passes through to solvers untouched.
Also applies the H -> f docstring rename suggestion.
* add better logging information for dt<dtmin * move logging code to ordinarydiffeq * gate diagnostic on verbose = true * drop verbosity isa Bool
…ts (SciML#1382) * fix: emit full-width cotangents from getproperty(::NonlinearProblem) rrule The rrule returned a single-field NamedTuple like (p = dp,) as the problem cotangent. Zygote.accum cannot combine such partial NamedTuples with full-width cotangents for the same problem produced by other pullbacks (or with partials for a different field), throwing 'ArgumentError: ... keys must be a subset of ... keys'. This broke test/downstream/remake_autodiff.jl ('split = false') once ModelingToolkitBase 1.42.0 changed 'initializeprobmap' (SciML/ModelingToolkit.jl commit 5236ce3d7), making the trivial-initialization NonlinearProblem receive cotangents from two pullback paths in SciMLBase.get_initial_values. Returning a Tangent{typeof(x)} instead lets Zygote canonicalize it to a full-width NamedTuple over all problem fields, which accumulates cleanly in any order. A der === nothing / AbstractZero cotangent now returns ZeroTangent() instead of zero_tangent(x), since a MutableTangent also cannot be accumulated with NamedTuple cotangents. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Fable 5 <[email protected]> * ci: retrigger after self-hosted runner startup failures Co-Authored-By: Claude Fable 5 <[email protected]> Co-Authored-By: Chris Rackauckas <[email protected]> --------- Co-authored-by: ChrisRackauckas-Claude <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
Formatting-only changes produced by running Runic (v1.7.0, matching CI's runic-action@v1 / SciML runic.yml@v1 with default settings) over all git-tracked .jl files. No semantic/code changes. Co-authored-by: Chris Rackauckas (Claude) <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
…ndex AD test (SciML#1389) The "NonlinearSolution scalar getindex under AD" testset compared a Mooncake gradient against a ForwardDiff reference at rtol=1e-6, but both were computed through a DynamicSS solve at its default tolerance. The loss is u1 at steady state, where p1 + p2*u1 = 0, so u1 = -p1/p2 and the exact gradient is [-1/p2, p1/p2^2, 0, 0] = [0.5, 0.5, 0, 0]. At the default tolerance the ForwardDiff reference is only accurate to ~1.2e-6 — larger than the rtol=1e-6 it was being held to — so the comparison was brittle to AD-backend accuracy drift and began failing on master (7 passed / 2 failed / 2 broken) after a Mooncake update nudged the Mooncake gradient (which is itself accurate to ~3.6e-8, closer to the true value than the reference) past the threshold. Fix the underlying under-resolution rather than the assertion: set abstol = reltol = 1e-10 on all three solves so every gradient resolves to ~1e-9 of the analytic value. Verified locally with the real AutoMooncake backend — both grad_ssa and grad_def now match grad_ref within rtol=1e-6 (reference error drops from 1.2e-6 to 6.2e-10). Co-authored-by: ChrisRackauckas-Claude <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
…oblem over-counting) and remove __getindex (SciML#1384) * Fix Zygote ensemble adjoints: RAT v4 cotangent iteration and mutable-problem gradient over-counting Fixes the root cause of SciML/SciMLSensitivity.jl#1478 plus a silent gradient-correctness bug in the same code path. 1. Under RecursiveArrayTools v4, AbstractVectorOfArray iterates scalars, so mapping trajectory pullbacks over an EnsembleSolution/VectorOfArray-wrapped cotangent in the tmap/responsible_map adjoints handed each pullback a scalar instead of its per-trajectory tangent, crashing in SciMLSensitivity with `BoundsError: attempt to access Tuple{} at index [0]`. Unwrap such cotangents to the plain vector of per-element tangents first. 2. SciML problem types are mutable structs, so Zygote accumulates their field-access cotangents in the context-wide grad_mut cache keyed on the problem instance. The per-trajectory pullbacks all read fields of the same shared problem, and once the Ref-identity protocol is broken by materialization at a ChainRules boundary, each trajectory's structural tangent snapshots the running total: a 2-trajectory ensemble returned 3g1 + 2g2 instead of g1 + g2. Treat AbstractSciMLProblem as immutable for reverse-mode AD via a structural literal_getfield pullback, mirroring the NonlinearProblem getproperty rrule in SciMLBaseChainRulesCoreExt. Adds downstream tests comparing Zygote ensemble gradients against ForwardDiff per-trajectory references across EnsembleSerial/EnsembleThreads, Gauss/Quadrature/Interpolating adjoints, with and without terminate! callbacks, for both solution-indexing and Array(sol) losses. Co-Authored-By: Claude Fable 5 <[email protected]> Co-Authored-By: Chris Rackauckas <[email protected]> * ci: retrigger after self-hosted runner startup failures Co-Authored-By: Claude Fable 5 <[email protected]> Co-Authored-By: Chris Rackauckas <[email protected]> * Remove __getindex now subsumed by unwrap_map_cotangent The `__getindex` helper existed only to special-case `AbstractVectorOfArray` cotangents inside `responsible_map`'s reverse pass: under RecursiveArrayTools v4 a `VectorOfArray`/`EnsembleSolution` is an `AbstractArray` with scalar column-major linear indexing, so `Δ[i]` returned a scalar instead of trajectory `i`'s tangent. That cotangent-shape concern lives in the forward ensemble utility, the wrong layer. The Zygote extension now normalizes the cotangent at its source (`unwrap_map_cotangent` in `∇responsible_map`/`∇tmap`), peeling all `AbstractVectorOfArray` layers to the plain vector of per-element tangents before re-mapping over the pullbacks. With that in place `responsible_map` only ever sees plain index ranges (forward) or a plain vector (reverse), so the `__getindex` overloads are dead. Drop them and index directly. Verified against ForwardDiff on an EnsembleProblem per-trajectory loss (`sum(sum(sum, s.u) for s in sol.u)`, GaussAdjoint + ReverseDiffVJP) for both EnsembleSerial and EnsembleThreads at -t 8. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: Claude <[email protected]> Co-authored-by: Chris Rackauckas <[email protected]>
Convert test/runtests.jl to SciMLTesting v1.2. This repo's per-GROUP
behavior cannot use bare folder-discovery (the SymbolicIndexingInterface
group runs remake_tests.jl in the MAIN env *plus* five downstream/*.jl in
the downstream sub-env — a mixed-env group — and the downstream/ folder is
sliced across the Downstream and SII groups sharing one env), so it uses
the v1.2 explicit-args run_tests over the existing file layout, mirroring
the OrdinaryDiffEq.jl conversion:
* core thunk = the 15 Core files + remake_tests.jl (main env), keeping the
is_APPVEYOR guard on Remake verbatim.
* groups Downstream / Python = thunks that activate their sub-env inside
the !is_APPVEYOR guard (not env= GroupSpecs, to preserve the original
conditional activation).
* SymbolicIndexingInterface = an umbrella over SII_Remake (remake in main
env) then SII_Downstream (five files in the downstream env), exactly the
original ordering and per-file env.
* qa thunk = aqua.jl in the main test env (no qa sub-env exists; Aqua is
in the root [extras]).
* curated all = ["Core"] so GROUP=All runs only the Core set + remake,
matching the original (Downstream/SII/Python/QA excluded from All).
Adds SciMLTesting (compat 1) to the root test deps and to the downstream
and python sub-envs (with SafeTestsets + Test). Pkg is RETAINED: aqua.jl
uses Pkg.Types.EnvCache directly and the activate_*_env helpers use Pkg.
test_groups.toml unchanged. A dry-run over every GROUP value confirms the
fired @safetestset set and per-file active env are byte-equivalent to the
previous dispatcher.
Co-authored-by: ChrisRackauckas-Claude <[email protected]>
Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
…roperty` (SciML#1618) `getproperty(::AbstractOptimizationCache, :u0 | :p)` read `cache.reinit_cache`, which is another call to the same method. For a cache with an abstractly typed field (OptimizationBase's `OptimizationCache` has `solver_args::NamedTuple`), inference then gives `cache.p` and `cache.u0` the union of all field types instead of the field's type, and every solver method using the cache pays for that union. Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
…duct traits (SciML#1622) `allowsconsvjp`/`allowsconsjvp` could not distinguish a solver that can use a constraint product (and falls back to `cons_j` otherwise) from one that calls it unconditionally, so function-instantiation code had to always provide the product, materializing the full Jacobian when that was the only way. Add `requiresconsvjp`/`requiresconsjvp` for solvers that must be given the product, and document that `allows*` products should only be provided when they are matrix-free. All four default to `false`. Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
…1568) (SciML#1576) * Update observable AD fixtures for despecialized parameters Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude <[email protected]> Claude-Session: https://chatgpt.com/codex/tasks/01a03a17-ad6f-7131-82fc-d0fd57ea6512 * Flip Mooncake DAE init observable fixture from test_broken to test Peel the DespecializedParameters params level when reading the Mooncake parameter tangent, mirroring the ODE initialization fixture above. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: opencode <[email protected]> Agent-Harness: opencode 1.18.31 Agent-Model: opencode/muse-spark-1.3-contributor-free Agent-Session: local session, transcript at /home/crackauc/sandbox/goals/issue-backlog/ibd/SciMLBase.jl/jobs/1568-opencode/log.txt on amdci2.julia.csail.mit.edu --------- Co-authored-by: ChrisRackauckas-Claude <[email protected]> Co-authored-by: opencode <[email protected]>
…#1629) * Rebind CheckInit residual for immutable out-of-place RHS outputs. In-place broadcast assignment into the residual fails for SVector and other immutable arrays returned by out-of-place mass-matrix RHS evaluation. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Cursor Agent <[email protected]> Agent-Harness: Cursor Agent CLI 2026.09.28-64d2043 Agent-Model: auto Agent-Session: local session, transcript at /home/crackauc/sandbox/goals/issue-backlog/ibd/SciMLBase.jl/jobs/1610-cursor/log.txt on amdci2.julia.csail.mit.edu * Add CheckInit regression for out-of-place SVector mass-matrix ODEs. Covers consistent SVector u0 through get_initial_values and Rodas5P solve. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Cursor Agent <[email protected]> Agent-Harness: Cursor Agent CLI 2026.09.28-64d2043 Agent-Model: auto Agent-Session: local session, transcript at /home/crackauc/sandbox/goals/issue-backlog/ibd/SciMLBase.jl/jobs/1610-cursor/log.txt on amdci2.julia.csail.mit.edu * Use StaticArrays SA in the CheckInit SVector regression. StaticArraysCore alone lacks the convenience SVector constructors the test needs; declare StaticArrays in the downstream test project. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Cursor Agent <[email protected]> Agent-Harness: Cursor Agent CLI 2026.09.28-64d2043 Agent-Model: auto Agent-Session: local session, transcript at /home/crackauc/sandbox/goals/issue-backlog/ibd/SciMLBase.jl/jobs/1610-cursor/log.txt on amdci2.julia.csail.mit.edu --------- Co-authored-by: ChrisRackauckas-Claude <[email protected]> Co-authored-by: Cursor Agent <[email protected]>
…ciML#1635) ssint was never added to the integrators list, so no assertion used it. SteadyStateDiffEq defines no init for DynamicSS: the call fell through to NonlinearSolve's default-algorithm init, which silently ignored DynamicSS. With the SCC lowered_problem that MTK now stores, that fallback converts the SCCNonlinearProblem with NonlinearProblem(prob) and fails reading prob.u0. Claude-Session: https://claude.ai/code/session_01DvrkppVVQKnQTGGgmLXhJh Co-authored-by: Claude <[email protected]>
* Support successful_retcode on traced return codes
Inside a Reactant compilation a ReturnCode can be a Reactant.TracedEnum
(public since Reactant 0.2.289). successful_retcode then hit the generic
convert(ReturnCode.T, retcode) fallback and threw a MethodError, and the
short-circuiting || cannot branch on a traced Bool. A Reactant weakdep
extension adds successful_retcode(::Reactant.TracedEnum{ReturnCode.T}),
which combines the comparisons with | into a traced Bool. The successful
codes move to one internal tuple used by both methods.
Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude <[email protected]>
Agent-Harness: Claude Code 2.1.292
Agent-Model: opus
Agent-Session: local session, transcript at /home/crackauc/sandbox/agent-jobs/LineSearch.jl/jobs/ls109x-claude/log.txt on amdci2.julia.csail.mit.edu
* Keep the host successful_retcode expression; list successful codes in the extension
Membership in a tuple made bulk host classification about 7x slower than
the short-circuit expression. The host method is restored exactly; the
tuple lives in SciMLBaseReactantExt for the traced method only, and a test
checks the traced and host methods agree on every ReturnCode.
Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude <[email protected]>
Agent-Harness: Claude Code 2.1.292
Agent-Model: opus
Agent-Session: local session, transcript at /home/crackauc/sandbox/agent-jobs/LineSearch.jl/jobs/ls109x-claude/log.txt on amdci2.julia.csail.mit.edu
---------
Co-authored-by: ChrisRackauckas-Claude <[email protected]>
Co-authored-by: Claude <[email protected]>
* Add a specialization marker to `OptimizationFunction`
`OptimizationFunction` had no specialization marker: its second type parameter is
the AD type, and `specialization(::OptimizationFunction)` returned that instead of
an `AbstractSpecialization`. The marker is now stored as the last type parameter,
after the field types, so code that spells out the existing parameters keeps
working. It defaults to `FullSpecialize`, so existing functions are unchanged.
`OptimizationFunction{iip, specialize}(f, adtype; kwargs...)` selects it, and
`specialization` returns it. `remake`, `ConstructionBase.setproperties` (and with
it `@set`) and `OptimizationProblem` keep it. The spelling that passes the AD
type as the second type parameter (`OptimizationFunction{iip, AD}(f; adtype)`)
still builds a `FullSpecialize` function.
What `AutoSpecialize` and `AutoDespecialize` do is up to the solver packages,
as for the other SciML functions.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* Convert parameter objects to `DespecializedParameters`
Storage typed for despecialized parameters could not be assigned a new parameter
object. For example, an optimization cache built from an `AutoDespecialize`
problem stores `p` as a `DespecializedParameters`, and `reinit!(cache; p = new_p)`
threw `Cannot convert an object of type ... to an object of type
SciMLBase.DespecializedParameters`. `convert` now wraps the object, and returns an
already wrapped one unchanged.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* Bump version to 3.58.0
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Cancel superseded PR CI runs Add a cancel-in-progress concurrency group, active only for pull_request events, to the PR workflows that lack one. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Agent-Harness: Claude Code 2.1.302 Agent-Model: claude-sonnet-5-5 Agent-Session: local subagent of the fleet-master session
…inearProblem (SciML#1614) Fix FieldError normalizing an SCCNonlinearProblem via NonlinearProblem NonlinearProblem(prob::AbstractNonlinearProblem) generically rebuilds prob via prob.f, prob.u0, prob.p, but SCCNonlinearProblem has no u0 field (its state is the concatenation of its sub-problems' states). Calling NonlinearProblem on an SCCNonlinearProblem therefore threw a FieldError instead of returning the (already valid) problem unchanged. This was latent until ModelingToolkit.jl started storing an SCCNonlinearProblem in SteadyStateProblem's lowered_problem field: NonlinearProblem(::SteadyStateProblem) correctly returns that stored problem verbatim, but a downstream caller normalizing the result via NonlinearProblem() again hit the generic fallback. Add an identity method for SCCNonlinearProblem alongside a regression test. Raise a clear ArgumentError converting an SCCNonlinearProblem to Nonl… …inearProblem NonlinearProblem(prob::AbstractNonlinearProblem) rebuilds via prob.f/prob.u0/ prob.p, but SCCNonlinearProblem has no u0 field, so this threw an opaque FieldError. Returning prob unchanged (an earlier version of this fix) is its own footgun: a NonlinearProblem constructor returning something that isn't a NonlinearProblem breaks any caller assuming .u0/.lb/.ub, and it is exactly what let a caller that re-normalizes its result (NonlinearSolve.jl's default-algorithm converter) recurse forever instead of terminating. An SCCNonlinearProblem solves as an ordered sequence of block solves, not a single residual, so there is no faithful NonlinearProblem to construct here. Raise a clear ArgumentError instead, naming what to do (solve it directly or use its component problems). Trim comment on SCCNonlinearProblem's NonlinearProblem conversion error Keep the source comment to the why; the recursion-hazard and review history belong in the PR body, not the code. Merge branch 'master' into fix/scc-nonlinearproblem-identity Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Sonnet <[email protected]> Agent-Harness: Claude Code 2.1.251 (subagent) Agent-Model: claude-sonnet Agent-Session: https://claude.ai/code/session_01NB3oFTNzGW79UtDt8AyjsM
…SciML#1630) * Reverse-mode rules for the PDE solution wrappers behind discretizer hooks * Dispatch the wrapper rules on the public AbstractPDESolution union * State the indexing contract and list the new public names * Make the hooks AD-agnostic and add Mooncake and Enzyme rules * Key the time series form on original_sol and mark only opted-in metadata * Make a gradient on the wrapper's fields an error under Mooncake and Enzyme too * Say that a field gradient is an error with every AD * Fix Mooncake and Enzyme cotangents of views, ranges and non-vector parameters * Error on an argument cotangent the Enzyme rule cannot return
Bump version to 3.59.0 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Gemini <[email protected]> Agent-Harness: Antigravity CLI (agy) 1.4.11 Agent-Model: gemini-4-argon-high Agent-Session: local session 527d1f80-4fe8-4305-9f98-b1f5d58cca58 (no session URL)
… recursion (SciML#1653) Visit the callbacks of save_discretes_if_enabled! without a splatting… … recursion `_save_discretes_if_enabled!(integrator, cb, cbs...; kw...)` called itself with the remaining callbacks splatted into a keyword call. Over a `CallbackSet` of different callback types inference widens that recursion and leaves a dynamic call, which `juliac --trim=safe` rejects. The callbacks of a `CallbackSet` (its continuous and discrete tuples, or vectors) are now visited by one call per element, with `skip_duplicates` as the only keyword. Order and behaviour are unchanged. Return early from save_discretes! without a parameter time series `save_discretes!(integ, timeseries_idx)` computed the values to save through `get_saveable_values(get_sol(integ), …)` before `save_discretes!(sol, …)` checked whether the solution has a parameter time series collection to save into. For a problem whose function has no symbolic system (an `ODEFunction` built from a generated right-hand side, as ahead-of-time compiled programs use), the solution has no collection, and the lookup walks the symbolic containers down to a `SymbolCache` and throws `MethodError: no method matching symbolic_container(::SymbolCache…)` at `init`, from the callbacks' initial discrete save. The check now comes first; with a collection nothing changes, without one nothing was ever saved. Forward only skip_duplicates for vector-held callback sets; check the… … save order in the tests The vector/vector save_discretes_if_enabled! method forwards skip_duplicates like the tuple one; the varargs wrapper it replaced is removed. The dispatch test records each saving callback and its skip_duplicates, for tuple- and vector-held sets, and asserts the sequence. Co-Authored-By: Claude Opus 5.5 <[email protected]>
`solve(ssprob, DynamicSS)` now returns a solution expressed on the `SCCNonlinearProblem` that MTK stores as `SteadyStateProblem.lowered_problem`: its `state_values` is in the lowering's (torn) ordering — solved variables only — while torn unknowns such as `Y` are `observed` on the lowering. The non-timeseries indexing test assumed `state_values(valp)` is laid out in `unknowns(indp)` order, so `u[variable_index(indp, [X, Y])]` threw a BoundsError while the test tuples were being built, erroring the "State indexing" and "Observed" testsets. When `variable_index(indp, ·)` does not index `state_values(valp)`, the test now indexes through `symbolic_container(valp)` instead: solved variables are referenced by `variable_index` on the container and torn/observed variables by evaluating `observed` on it. Coverage for the lowered solution is preserved (getsym/getindex on X, Y, XY, X * Y, and multi-symbol forms); non-lowered objects take the original path. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: ChrisRackauckas-Claude <[email protected]> Co-authored-by: Grok <[email protected]>
…osity, can_honor (Wave 1 of SciML#1562) (SciML#1612) * Add problem-class keyword validation: checkkwargs(prob, alg), KeywordVerbosity, can_honor Implements Wave 1 of the tolerance/termination rollout (RFC SciML#1562, tracking SciML#1607): the per-class keyword matrix as data, `keyword_class`/`keyword_status`, a new `checkkwargs(prob, alg; kwargs...)` that reports keywords undefined for the problem class (`undefined_keyword`) and defined keywords the algorithm cannot honor (`unhonored_keyword`, via `can_honor`) through a SciMLLogging `KeywordVerbosity` accepted as `kwargs_verbosity`. The existing `checkkwargs(kwargshandle; ...)` is unchanged; packages opt in by calling the new method. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> Agent-Harness: Claude Code 2.1.251 (subagent) Agent-Model: claude-opus-5-5 Agent-Session: https://claude.ai/code/session_01NB3oFTNzGW79UtDt8AyjsM * Avoid non-public Base.structdiff; allow macro-only SciMLLogging imports in QA Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> Agent-Harness: Claude Code 2.1.251 (subagent) Agent-Model: claude-opus-5-5 Agent-Session: https://claude.ai/code/session_01NB3oFTNzGW79UtDt8AyjsM * Align keyword matrix with RFC 7.5; identity-based mass-matrix classing; :unclassified status BVP defines dtmin (Shooting forwards it); Interval and Discrete no longer define internalnorm. A mass matrix counts as ODE only when isone (so 0*I and singular Diagonal matrices class as DAE). keyword_status returns :unclassified for problems with no keyword class instead of claiming every keyword is defined. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> Agent-Harness: Claude Code 2.1.251 (subagent) Agent-Model: claude-opus-5-5 Agent-Session: https://claude.ai/code/session_01NB3oFTNzGW79UtDt8AyjsM * Skip class checks in checkkwargs(prob, alg) for unclassified problems When keyword_class(prob) is nothing, only the unrecognized-keyword check applies, as the keyword_class and can_honor docstrings state. Previously the unhonored-keyword check still ran, so an EnsembleProblem with an algorithm that cannot honor `maxtime` warned by default and threw under kwargshandle = KeywordArgError. Adds regression tests for the default and strict cases and for rejection of unrecognized keywords. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> Agent-Harness: Claude Code 2.1.301 Agent-Model: claude-opus-5-5 Agent-Session: local session ID 56de636f-61d2-439d-a488-ea56c2430696 (headless claude -p, no URL) --------- Co-authored-by: ChrisRackauckas-Claude <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
SciML#1623) * Fix Zygote/ChainRules symbolic getindex for array symbols and DAE solutions. Broaden solution getindex reverse rules to AbstractODESolution and scatter array-symbol cotangents by component so ODE/DAE symbolic indexing matches ForwardDiff under Zygote (SciML#1594). Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Cursor Agent <[email protected]> Agent-Harness: Cursor Agent CLI 2026.09.26-dd393fe Agent-Model: auto Agent-Session: local session, transcript at /home/crackauc/sandbox/goals/issue-backlog/jobs/fix-SciMLBase.jl-1594/log.txt on amdci2.julia.csail.mit.edu * Restrict symbolic getindex adjoints; widen Integer rules for DAE/RODE. Keep AbstractODESolution symbolic getindex for symbols only by pairing it with a more specific Integer/CartesianIndex adjoint (and a ChainRules NotSymbolic decline), and add Zygote DAE/RODE indexing regressions. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Cursor Agent <[email protected]> Agent-Harness: Cursor Agent CLI 2026.09.26-dd393fe Agent-Model: auto Agent-Session: local session, transcript at /home/crackauc/sandbox/goals/issue-backlog/jobs/fix-SciMLBase.jl-1594/log.txt on amdci2.julia.csail.mit.edu * Decline non-symbolic AbstractODESolution getindex under Zygote. Revert Integer/CartesianIndex adjoints to ODESolution and forward NotSymbolic indices through Array(sol) so DAE/RODE Zygote.gradient matches the AbstractArray path again (SciML#1594 review). Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Cursor Agent <[email protected]> Agent-Harness: Cursor Agent CLI 2026.09.26-dd393fe Agent-Model: auto Agent-Session: local session, transcript at /home/crackauc/sandbox/goals/issue-backlog/jobs/fix-SciMLBase.jl-1594/log.txt on amdci2.julia.csail.mit.edu * Limit SciML#1594 getindex rules to symbolic indices; keep master's non-symbolic path Rework of the previous commits on this branch. The ODESolution Zygote and ChainRules rules keep their master signatures; only the symbolic paths change: - Zygote, ODESolution: `odesolution_getindex_cotangent` expands an `ArraySymbolic` index (`sol[x]` for `x(t)[1:2]`) into its scalar components, fixing the `non-boolean (Num)` error. - ChainRules, ODESolution: the symbolic pullback scatters array-symbol cotangents per component instead of comparing a vector index to an Int. - ChainRules, other `AbstractODESolution`s (DAE, RODE): a new `rrule(getindex, ::AbstractODESolution, sym)` handles symbolic indices and `invoke`s the `AbstractTimeseriesSolution` rule (the generic AbstractArray rrule) for every non-symbolic index, so those results and errors are exactly master's. Zygote reaches it through its ChainRules bridge. Tests compare non-symbolic DAE/RODE indexing against the generic rrule and against central differences of the true primal, instead of Array(sol). Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> Agent-Harness: Claude Code 2.1.280 Agent-Model: claude-opus-5-5 Agent-Session: https://claude.ai/code/session_01NdFVhANTF4nepTbqYxjfRP * Zero unread timesteps in ODESolution symbolic getindex cotangent; run tests in DownstreamAD `Zygote.gradient(ps -> sum(abs2, sol(ps)[x][end]), ps)` for an array symbol `x` on an `ODESolution` failed with `MethodError: getindex(::Nothing, ::Int64)`: Zygote passes `nothing` for the timesteps the loss never reads, and `odesolution_getindex_cotangent` indexed into them. Those entries are now replaced by zeros before scattering. The same applies to observed array symbols (`obs_grads` called `reduce(hcat, Δ)` on the `nothing` entries). The new test file moves from `adjoints.jl` (SII_Downstream, which currently aborts earlier at `comprehensive_indexing.jl`) to its own testset in the DownstreamAD group, so CI runs it. Added ODE/DAE `sol[x][end]` and observed `sol[y][end]` cases to the ForwardDiff comparison. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> Agent-Harness: Claude Code 2.1.301 Agent-Model: claude-opus-5-5 Agent-Session: local session ID 1f24b4b1-61e2-4cc3-a226-82dc67734fb4 (headless claude -p, no URL) --------- Co-authored-by: ChrisRackauckas-Claude <[email protected]> Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Expand array parents locally when mapping flat state and parameter indices. Preserve explicit scalar defaults without mutating caller dictionaries. Agent-Harness: Codex CLI 0.154.0 Agent-Model: gpt-6-astra Agent-Session: local session ID 01a099aa-308a-7fd3-91bd-9fb2dc357b91 Co-authored-by: ChrisRackauckas-Claude <[email protected]> Co-authored-by: Codex <[email protected]>
…lutions Address review on SciML#1657: the SCC-lowered state-indexing branch regained the `@inferred get(valp)` assertions for the retained state `X`, and the observed expectations no longer come from `observed` itself — a wrong generated function would otherwise agree with itself. `Y` is now derived from the fixture residual `0 ~ 1 + k1 * X - k2 * Y - Y` as `Y = (1 + k1 * X) / (1 + k2)` and `XY` from the declared `XY ~ X + Y`, compared with `≈`. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…1652) SymbolicIndexingInterface 0.3.56 adds `with_concrete_parameters(f, p, args...)` so whole-timeseries observed getters can cross a despecialization barrier once instead of per element. Forward it to the existing non-inlined barrier with the wrapped parameter object. Add a downstream sentinel test on a default (AutoDespecialize) MTK problem that checks the solution's parameters are wrapped, the whole-timeseries, index-vector, mask and scalar getter calls agree and return concretely typed vectors, and that a whole-timeseries call allocates on the order of its result rather than per saved point. Co-authored-by: Claude Fable 5.1 <[email protected]>
Index lowered SteadyStateProblem solutions through their own container
…1634) * Solve each safetycopy branch of batch_func on its own problem batch_func joined the deepcopy, the per-task copy and the user's problem into one problem before solving. When the problem is passed by reference, that join is a pointer phi of a fresh GC object and the caller's memory, which Enzyme cannot keep rooted, so reverse-mode Enzyme through an EnsembleProblem of SDEProblems failed (SciMLSensitivity.jl#1696). Solve within each branch instead, through a shared helper, so only the results join. The rerun loop uses the same helper. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015RAaewsVwF5wyRBfErBEEr * Test reverse-mode Enzyme through an ensemble of SDEProblems Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015RAaewsVwF5wyRBfErBEEr --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Christopher Rackauckas <[email protected]>
PR: #1305 Reviewed head: 2afd517 Risk assessment
Review reportVERDICT: CHANGES Riskhigh (H1: the dependency major upgrade and plotting refactor reject supported analytic plotting inputs and change animation output). Blocking findings
Non-blocking findings
What I ranAll Julia runs preserved the supplied layered
What I did not verify
AUTHOR_GRADE: {"task":"other","score":2,"difficulty":3,"rounds":1,"author_harness":"unknown","author_model":"unknown","note":"The affected suite passes 17 tests, but targeted integration probes produce 4 failures and 2 errors, and the downstream environment has a confirmed dependency resolution conflict."} Head link: 2afd517 🤖 Posted by an AI agent — harness: codex-cli 0.164.0 · model: gpt-6.1-sol |
…tion The solution recipe now builds its coordinates through `solution_plot_arrays`, which samples at frame-aware times (`plot_times` stops at `sol.t[sol.tslocation]`), evaluates the numerical curves with RecursiveArrayTools' public `diffeq_to_arrays`, and appends the analytic curves as extra columns of the same series with "True ..." labels. This fixes: - analytic overlays returning `(plot_vecs, labels)` as plot arguments without a `label` attribute; - animation frames plotting the full trajectory instead of stopping at their time point; - `BoundsError` in dense analytic plots of vector and matrix states, where `length(sol)` counted scalar elements instead of saved times; - `BoundsError` for `plot_analytic = true` with no continuous variables. Axis labels use the local `plot_var_label` instead of the private `RecursiveArrayTools._var_label`, and the tuple-`idxs` guide branch checks the user's `idxs` rather than the reassigned continuous-variable vector, so `idxs = (1, 2)` sets `xguide`/`yguide` again. The Makie extension calls `solution_plot_arrays` in place of the removed 8-argument `diffeq_to_arrays`. The pirated `RecursiveArrayTools.plot_indices` method for `ArrayPartition` is removed; RAT's `AbstractArray` method already covers it. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude <[email protected]> Agent-Harness: Claude Code 2.1.325 Agent-Model: claude-opus-5-5 Agent-Session: local fixer job SciML__SciMLBase.jl__1305 (no session URL)
Brings in the PDETimeSeriesSolution/AbstractDiffEqArray ambiguity fix (SciML#1307) that the QA group needs. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude <[email protected]> Agent-Harness: Claude Code 2.1.325 Agent-Model: claude-opus-5-5 Agent-Session: local fixer job SciML__SciMLBase.jl__1305 (no session URL)
Use saved analytic values when plotting saved time points, and pass the history function when evaluating DDE analytic overlays. Set the y and z guides when every series uses time on the corresponding axis. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Codex <[email protected]> Agent-Harness: Codex CLI 0.170.0 Agent-Model: gpt-6.2-sol Agent-Job: SciML__SciMLBase.jl__1305--20261121T214959Z-codex-gpt-6.2-sol Agent-Session: local session 01a20016-831a-7b33-8428-a635ff4e606b (no session URL)
Select saved samples in integration order for either ordering of tspan. Report an empty sparse window before calling the plotting helper. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Codex <[email protected]> Agent-Harness: Codex CLI 0.170.0 Agent-Model: gpt-6.2-sol Agent-Job: SciML__SciMLBase.jl__1305--20261122T054635Z-codex-gpt-6.2-sol Agent-Session: local session 01a201ca-db02-7230-b74f-33c70e14159a (no session URL)
Conflicts are in the solution plotting recipe and its tests. The resolution keeps master's plotting behavior and delegates only the helpers that match it: - DEFAULT_PLOT_FUNC, interpret_vars, add_labels!, plot_indices and the sample evaluation in diffeq_to_arrays come from RecursiveArrayTools (>= 4.5.3, the first release that takes the plot dimension from the transform output). - SciMLBase keeps the eight-argument diffeq_to_arrays method, labels series by variable name as the integrator recipe does, and keeps its own plottable_indices and getindepsym_defaultt. - SciMLBase.plot_indices stays defined because JumpProcesses extends it. - The Makie extension reaches the delegated helpers through their owner. - Plotting a solution with `interp = nothing` throws instead of reading the leading saved values. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude <[email protected]> Agent-Harness: Claude Code 2.1.332 Agent-Model: claude-sonnet-5-5 Agent-Job: SciML__SciMLBase.jl__1305--20261125T022423Z-claude-claude-sonnet-5-5 Agent-Session: local session e41a87d8-0062-4299-bc6c-78b59d4f2ce8 (no session URL)
PR: #1305 Reviewed head: 1f5ba07 Risk assessment
Review reportVERDICT: CHANGES Riskhigh (H1: the public time-series solution recipe returns wrong coordinates for previously supported callable subtypes and rejects others) Blocking findings
Non-blocking findingsNone. What I ran
What I did not verifyThe full Downstream group, direct Makie conversion of a AUTHOR_GRADE: {"task":"other","score":2,"difficulty":3,"rounds":1,"author_harness":"Claude Code 2.1.332","author_model":"claude-sonnet-5-5","note":"The refactor fixes explicit-time analytic overlays and passes existing suites. Independent probes exposed incorrect sampling for callable solutions, wrong axis guides, and silent overlay dimension loss."} Head link: 1f5ba07 🤖 Posted by an AI agent — harness: codex-cli 0.170.0 · model: gpt-6.2-sol |
Summary
Moves core plotting helpers to RecursiveArrayTools v4 and simplifies the SciMLBase recipe. This is a code simplification, not a breaking change.
Moved to RecursiveArrayTools
interpret_vars,diffeq_to_arrays,solplot_vecs_and_labels,add_labels!,DEFAULT_PLOT_FUNC,plottable_indices,plot_indices,getindepsym_defaulttSciMLBase recipe simplified
The
AbstractTimeseriesSolutionrecipe becomes a thin wrapper that:denseplotfrom prob type,plotdensityfromtslocation)diffeq_to_arrays_plot_analytic_seriesNet ~240 lines removed from
solution_interface.jl.Depends on
🤖 Generated with Claude Code
Risk assessment
tslocation, axis labels, and environments requiring RecursiveArrayTools 3.2afd517has 44 successful checks and two failures.Documentation / Build and Deploy Documentationfails on head but passes on recentmastercommits 08f6f74 and 6a5ca32: regression under the requested comparison.runicfails on head; recent equivalentRunic / Runic Format Checkpasses: also fails the current-baseline bar, although its missing-Julia infrastructure error was pre-existing in March. Head logs return HTTP 410, preventing documentation root-cause verification. Core/QA tests did not run: their workflow targetsmaster, while this PR targetsv3. No reviews or comments exist.(plot_vecs, labels)directly instead of unpacking coordinate arrays and settinglabel; RecursiveArrayTools 4.0.0 ignoressol.tslocation, plotting the full trajectory during animation; calls privateRecursiveArrayTools._var_labeland adds a foreign-function/foreign-type method; removes automatic y/z time guides and changes sparse analytic evaluation from cached values to recomputation. The retained numerical assertion now tests the analytic helper separately, weakening combined-path coverage and missing the recipe defect. These public plotting behavior changes, compatibility restriction, and validation gaps contradict the description’s “not a breaking change” claim; intended breaking behavior requires major-version treatment, whileProject.tomlremains2.152.1.)🤖 Risk assessment posted by an AI agent (fleet master) — harness: Codex CLI 0.156.1 / gpt-6-astra; dispatched by Claude Code head, model claude-opus-5-5[1m]
Conversation: local Claude Code session 3cd6500a-1f81-46b5-ac0b-c466e15b6a53 (session ID, no URL)
Fix by Codex CLI 0.170.0 gpt-6.2-sol (head f6b2078)
Sparse analytic overlays use saved values, including when plotting animation frames. Dense and explicitly sampled DDE overlays pass the analytic callback its history function. The recipe sets the y or z axis guide when every continuous series uses time on that axis.
Verification
The same recipe tests ran against the original head and the patched checkout using Julia 1.13.3.
TEST_FILEpoints to the same test file for both runs.The failures were two missing axis guides, two sparse analytic overlays that recomputed saved values, and a DDE analytic callback
MethodError. With RecursiveArrayTools 4.0.0, the recipe suite also passed 181/181. Makie recipe conversion and Plots with the UnicodePlots backend passed 6/6 smoke assertions.GROUP=Core julia +1.13.3 --project -e 'using Pkg; Pkg.test()'printedSolution interface | 181 181,Remake | 4414 4414, andTesting SciMLBase tests passed.GROUP=QA julia +1.13.3 --project -e 'using Pkg; Pkg.test()'printedAqua | 9 9andTesting SciMLBase tests passed.julia --project=@runic -m Runic --inplace src/solutions/solution_interface.jl test/solution_interface.jland the same command with--checkboth exited 0.typos ext/SciMLBaseMakieExt.jl src/solutions/solution_interface.jl test/solution_interface.jlandgit diff --checkboth exited 0.Inherited CI blockers
rack ci comparereturneddifferentfor Documentation and Runic againstv3. The historical base logs returned HTTP 410. The corresponding jobs passed on the latestmasterpush. Master documentation · Master Runicjulia +1.13.3 --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'exited 1 on cleanv3, on the original head, and with this fix. The docs project requires OrdinaryDiffEq 6, and the resolver found that only OrdinaryDiffEq 7 supports RecursiveArrayTools 4. Documentation failurejulia is a required dependency but does not seem to be available. Thev3workflow also has no Julia setup step. Runic failureGROUP=DownstreamandGROUP=SymbolicIndexingInterfacewith the samePkg.test()command both exited 1 withUnsatisfiable requirements detected for package RecursiveArrayTools. The downstream project requires version 3 and SciMLBase requires 4. Cleanv3reproduced that resolver error.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 01a20016-831a-7b33-8428-a635ff4e606b (no session URL)
Fix by Codex CLI 0.170.0 gpt-6.2-sol (head eb05997)
Sparse plots select saved times in integration order for either ordering of
tspanand stop at the current animation frame. An empty window raises anArgumentErrorbefore the recipe delegates to RecursiveArrayTools. The regression tests check the time coordinates of both the numerical and analytic curves.Verification
Julia 1.13.3 with two threads for the recipe and package tests.
The same recipe tests ran before and after the source change.
Runic, typos, and the diff whitespace check exited 0. The minimum supported RecursiveArrayTools release passed the same recipe suite in a separate environment.
A separate backend smoke run checked time coordinates in Plots with UnicodePlots and Makie line conversion. Both plotted the requested sparse window through the animation frame.
Inherited CI blockers
rack ci comparereporteddifferentfor both checks against the PR basev3. The failed base jobs' logs returned HTTP 410. Both checks passed on the latestmasterpush. Master documentation · Master Runicjulia +1.13.3 --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'failed on cleanv3and on the original PR head. The docs environment requires OrdinaryDiffEq 6, and its resolver only found OrdinaryDiffEq 7 compatible with RecursiveArrayTools 4. Documentation failurev3is byte-identical and also omits Julia setup. The action's dependency check emitted the same error when run on cleanv3with Julia absent from PATH. Runic failurev3. It requires RecursiveArrayTools 3 and SciMLBase requires 4, blocking Downstream and SymbolicIndexingInterface.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 01a201ca-db02-7230-b74f-33c70e14159a (no session URL)
Fix by Claude Code 2.1.332 claude-sonnet-5-5 (head 1f5ba07)
The base branch needs a decision.
master(f75f097) is merged into this branch, but the PR still targetsv3, which is an ancestor ofmaster. GitHub therefore shows 183 changed files and 100 commits. Againstmasterthe change is 6 files, +280/−338. Retargeting tomasterwas left to a maintainer. While the base isv3,Tests.ymldoes not trigger, so Core, QA, Downstream and SymbolicIndexingInterface do not run in CI.What changed
v3being behind; both pass locally on the merged tree.DEFAULT_PLOT_FUNC,interpret_vars,add_labels!,plot_indices, and the sample evaluation behinddiffeq_to_arrays. The compat floor is4.5.3, the first release that takes the plot dimension from the transform output.plottable_indices(public in SciMLBase onmaster),getindepsym_defaultt, and series label text.solplot_vecs_and_labelsandadd_analytic_labels!are not defined in SciMLBase.master's eight-argumentdiffeq_to_arrayssignature, somaster's tests are unmodified.xs(t)wheremasterand the integrator recipe usexs. SciMLBase builds the labels itself.SciMLBase.plot_indicesstays defined because JumpProcesses extends it.interp = nothingand a time window plotted the wrong values through the delegated helper; it throws anArgumentError.masterraises aMethodErrorthere.Failing before, passing after
A first conflict resolution also failed 3 assertions of
master's "tspancrops discrete timeseries" testset; the final tree passes it.Validation on the final tree
test/solution_interface.jlalso passes 303/303 with RecursiveArrayTools pinned to 4.5.3.Not verified
DownstreamAD(failing onmaster's latest push), Python, Reactant, GPU, and Core on Julia 1.10.interpproperty: the delegated helper indexes saved values directly for them.Dependabot Auto-mergestartup failure appears on other PRs' runs too and is not from this change.Next counted review must come from a smart model in a fresh session, not this fix session.
🤖 Posted by an AI agent — harness: Claude Code 2.1.332 · model: claude-sonnet-5-5
Conversation: local session e41a87d8-0062-4299-bc6c-78b59d4f2ce8 (no session URL)