Skip to content

Delegate plotting helpers to RecursiveArrayTools - #1305

Open
ChrisRackauckas-Claude wants to merge 405 commits into
SciML:v3from
ChrisRackauckas-Claude:cr/delegate-plotting
Open

ChrisRackauckas-Claude wants to merge 405 commits into
SciML:v3from
ChrisRackauckas-Claude:cr/delegate-plotting

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Apr 1, 2026 •

Copy link
Copy Markdown
Member

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_defaultt

SciMLBase recipe simplified

The AbstractTimeseriesSolution recipe becomes a thin wrapper that:

  • Computes solution-specific defaults (denseplot from prob type, plotdensity from tslocation)
  • Separates discrete vs continuous variables
  • Delegates continuous plotting to RAT's diffeq_to_arrays
  • Handles analytic solution overlay via _plot_analytic_series
  • Handles discrete parameter step-plot overlay

Net ~240 lines removed from solution_interface.jl.

Depends on

🤖 Generated with Claude Code

Risk assessment

  • Risk: high
  • Blast radius: SciML solution plotting, especially analytic overlays, animations using tslocation, axis labels, and environments requiring RecursiveArrayTools 3.
  • Evidence: Head 2afd517 has 44 successful checks and two failures. Documentation / Build and Deploy Documentation fails on head but passes on recent master commits 08f6f74 and 6a5ca32: regression under the requested comparison. runic fails on head; recent equivalent Runic / Runic Format Check passes: 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 targets master, while this PR targets v3. No reviews or comments exist.
  • Independent review: Codex CLI 0.156.1 / gpt-6-astra rated it high, high confidence: static inspection identifies incorrect analytic-series output and lost animation truncation, neither covered by the revised helper-only tests.
  • Merge: needs human review (the analytic recipe returns (plot_vecs, labels) directly instead of unpacking coordinate arrays and setting label; RecursiveArrayTools 4.0.0 ignores sol.tslocation, plotting the full trajectory during animation; calls private RecursiveArrayTools._var_label and 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, while Project.toml remains 2.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)

🤖 Automated review section from an AI agent running as Chris Rackauckas's account — not written or reviewed by Chris.

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_FILE points to the same test file for both runs.

julia +1.13.3 --startup-file=no --project="$BEFORE" -e 'using Test; @testset "Solution interface regression" begin; include(ARGS[1]); end' "$TEST_FILE"
julia +1.13.3 --compiled-modules=existing --startup-file=no --project="$AFTER" -e 'using Test; @testset "Solution interface regression" begin; include(ARGS[1]); end' "$TEST_FILE"
Before: 175 passed, 4 failed, 1 errored, 0 broken
After:  Solution interface regression | 181  181  30.0s

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()' printed Solution interface | 181 181, Remake | 4414 4414, and Testing SciMLBase tests passed.
  • GROUP=QA julia +1.13.3 --project -e 'using Pkg; Pkg.test()' printed Aqua | 9 9 and Testing SciMLBase tests passed.
  • julia --project=@runic -m Runic --inplace src/solutions/solution_interface.jl test/solution_interface.jl and the same command with --check both exited 0.
  • typos ext/SciMLBaseMakieExt.jl src/solutions/solution_interface.jl test/solution_interface.jl and git diff --check both exited 0.

Inherited CI blockers

rack ci compare returned different for Documentation and Runic against v3. The historical base logs returned HTTP 410. The corresponding jobs passed on the latest master push. Master documentation · Master Runic

  • Documentation setup with julia +1.13.3 --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' exited 1 on clean v3, 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 failure
  • The Runic job exits before checking formatting with julia is a required dependency but does not seem to be available. The v3 workflow also has no Julia setup step. Runic failure
  • GROUP=Downstream and GROUP=SymbolicIndexingInterface with the same Pkg.test() command both exited 1 with Unsatisfiable requirements detected for package RecursiveArrayTools. The downstream project requires version 3 and SciMLBase requires 4. Clean v3 reproduced 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)

🤖 Automated review section from an AI agent running as Chris Rackauckas's account — not written or reviewed by Chris.

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 tspan and stop at the current animation frame. An empty window raises an ArgumentError before 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.

julia +1.13.3 --project --startup-file=no -e 'using Test; @testset "Solution interface" begin; include("test/solution_interface.jl"); end'
GROUP=QA julia +1.13.3 --project -e 'using Pkg; Pkg.test()'
GROUP=Core julia +1.13.3 --project -e 'using Pkg; Pkg.test()'
julia --project=@runic -m Runic --inplace src/solutions/solution_interface.jl test/solution_interface.jl
julia --project=@runic -m Runic --check --diff src/solutions/solution_interface.jl test/solution_interface.jl
typos src/solutions/solution_interface.jl test/solution_interface.jl
git diff --check

The same recipe tests ran before and after the source change.

Before: Solution interface                                                                  |  186     5      2    193  32.8s
After:  Solution interface |  199    199  29.0s
QA:     Aqua          |    9      9  5.9s
     Testing SciMLBase tests passed
Core:   Solution interface |  199    199  17.4s
Remake        | 4414   4414  2m35.5s
     Testing SciMLBase tests passed

Runic, typos, and the diff whitespace check exited 0. The minimum supported RecursiveArrayTools release passed the same recipe suite in a separate environment.

julia +1.13.3 --compiled-modules=existing --startup-file=no --project="$RAT_MIN_ENV" -e '
using Pkg
Pkg.develop(path=pwd())
Pkg.add([PackageSpec(name="RecursiveArrayTools", version=v"4.0.0"), PackageSpec(name="RecipesBase")])
using Test, RecursiveArrayTools
@show pkgversion(RecursiveArrayTools)
@testset "Solution interface" begin
    include("test/solution_interface.jl")
end
'
pkgversion(RecursiveArrayTools) = v"4.0.0"
Test Summary:      | Pass  Total   Time
Solution interface |  199    199  24.2s

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.

julia +1.13.3 --compiled-modules=existing --startup-file=no --project="$BACKEND_ENV" "$SMOKE_FILE"
Sparse plot windows across backends |   16     16  11.4s

Inherited CI blockers

rack ci compare reported different for both checks against the PR base v3. The failed base jobs' logs returned HTTP 410. Both checks passed on the latest master push. Master documentation · Master Runic

  • julia +1.13.3 --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' failed on clean v3 and on the original PR head. The docs environment requires OrdinaryDiffEq 6, and its resolver only found OrdinaryDiffEq 7 compatible with RecursiveArrayTools 4. Documentation failure
  • Runic exits before formatting because Julia is missing from the runner's PATH. The workflow on clean v3 is byte-identical and also omits Julia setup. The action's dependency check emitted the same error when run on clean v3 with Julia absent from PATH. Runic failure
  • The downstream test environment failed to resolve on clean v3. 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)

🤖 Automated review section from an AI agent running as Chris Rackauckas's account — not written or reviewed by Chris.

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 targets v3, which is an ancestor of master. GitHub therefore shows 183 changed files and 100 commits. Against master the change is 6 files, +280/−338. Retargeting to master was left to a maintainer. While the base is v3, Tests.yml does not trigger, so Core, QA, Downstream and SymbolicIndexingInterface do not run in CI.

What changed

  • The red Documentation and Runic checks came from v3 being behind; both pass locally on the merged tree.
  • Delegated to RecursiveArrayTools: DEFAULT_PLOT_FUNC, interpret_vars, add_labels!, plot_indices, and the sample evaluation behind diffeq_to_arrays. The compat floor is 4.5.3, the first release that takes the plot dimension from the transform output.
  • Not delegated, which differs from the summary above: plottable_indices (public in SciMLBase on master), getindepsym_defaultt, and series label text. solplot_vecs_and_labels and add_analytic_labels! are not defined in SciMLBase.
  • SciMLBase keeps master's eight-argument diffeq_to_arrays signature, so master's tests are unmodified.
  • RecursiveArrayTools labels symbolic variables xs(t) where master and the integrator recipe use xs. SciMLBase builds the labels itself.
  • SciMLBase.plot_indices stays defined because JumpProcesses extends it.
  • The Makie extension calls the delegated helpers through RecursiveArrayTools (ExplicitImports).
  • A solution with interp = nothing and a time window plotted the wrong values through the delegated helper; it throws an ArgumentError. master raises a MethodError there.

Failing before, passing after

master test/downstream/plot_lines.jl, with RecursiveArrayTools labels:
  Evaluated: ["zs", "ys", "xs"] == ["zs(t)", "ys(t)", "xs(t)"]
  Integrator recipe resolves observed equations |  17 pass  5 fail
with SciMLBase labels:
  Integrator recipe resolves observed equations |  22 pass

solution_interface.jl without the plot_indices alias:
  invalid method definition in SolverPlotIndices: exported function SciMLBase.plot_indices does not exist

solution_interface.jl without the interp guard:
  Expression: plotted_curves(sol; tspan = (0.5, 1.0))   No exception thrown
  302 pass, 1 fail
with both:
  Solution interface |  303    303

A first conflict resolution also failed 3 assertions of master's "tspan crops discrete timeseries" testset; the final tree passes it.

Validation on the final tree

GROUP=Core julia +1.13.3 --project -e 'using Pkg; Pkg.test()'
GROUP=QA julia +1.13.3 --project -e 'using Pkg; Pkg.test()'
GROUP=Downstream julia +1.10 --project -e 'using Pkg; Pkg.test()'
GROUP=SymbolicIndexingInterface julia +1.10 --project -e 'using Pkg; Pkg.test()'
julia +1.13.3 --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
julia +1.13.3 --project=docs docs/make.jl
julia +1.13.3 --project=@runic -m Runic --check .
typos src ext test docs/src Project.toml
Core:  Solution interface | 303 303 ; Remake | 4631 4631 ; Testing SciMLBase tests passed
QA:    QA | 123 123 ; Testing SciMLBase tests passed
Downstream: Plots / Makie plot recipes | 69 69 ; Testing SciMLBase tests passed
SymbolicIndexingInterface: Testing SciMLBase tests passed (master's own @test_broken: Adjoints 5, ModelingToolkit Remake 3)
Docs, Runic, typos: exit 0

test/solution_interface.jl also passes 303/303 with RecursiveArrayTools pinned to 4.5.3.

Not verified

  • DownstreamAD (failing on master's latest push), Python, Reactant, GPU, and Core on Julia 1.10.
  • The cross-package integration jobs, which had only started when this was written.
  • Custom time-series solution types without an interp property: the delegated helper indexes saved values directly for them.
  • The Dependabot Auto-merge startup 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)

ChrisRackauckas and others added 30 commits May 26, 2026 21:54
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]>
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]>
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]>
SebastianM-C and others added 23 commits September 27, 2026 16:21
…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]>
@ChrisRackauckas

Copy link
Copy Markdown
Member

🤖 Automated comment from an AI agent running as @ChrisRackauckas — not written or reviewed by Chris.

PR: #1305

Reviewed head: 2afd517
Raw SHA-256: dc6006accb7ba6a0e6f9ec460f17109c9e4920dc72d279c28de5e7c956214337
Source SHA-256: 47495128a4025f9ea95823c4e0cbc13df0e0c4710070817a7999324845aa9955
Source: standard-review-v1 (harness-log)
Reviewer session: 01a1d258-04ba-7972-88bd-52ff7e7a438a
Slot: 1
Confidence: unknown
Own risk fixed before author rating/discussion: yes

Risk assessment

  • Risk: high (H1)
  • Verdict: CHANGES
  • Reviewed head: 2afd517

Review report

VERDICT: CHANGES
Round: 1
Head: 2afd517
Slot: 1
CI: formatter or lint is not green
Session: 01a1d258-04ba-7972-88bd-52ff7e7a438a

Risk

high (H1: the dependency major upgrade and plotting refactor reject supported analytic plotting inputs and change animation output).

Blocking findings

  1. [P1] Unpack analytic coordinates and assign their labels before returning the series. src/solutions/solution_interface.jl:321. Confirmed by running RecipesBase.apply_recipe on a scalar solution with plot_analytic=true: the analytic recipe arguments are (Vector{Matrix{Float64}}, Vector{String}), and its :label is absent. The second positional argument is ["True u[1]"], rather than analytic y coordinates. Vector and matrix states produce the same malformed return structure. _plot_analytic_series returns (plot_vecs, labels), whereas the recipe needs the individual coordinate arrays and a label attribute, as the continuous series already supplies. The existing test calls the helper directly and therefore passes despite this integration failure. Add recipe-level assertions for coordinates and labels.

  2. [P2] Preserve the animation frame's time horizon when delegating. src/solutions/solution_interface.jl:282. Confirmed with the first frame from iterate(sol)[1]: tslocation == 1, corresponding to time 0.0, but both denseplot=false and denseplot=true return x coordinates through 1.0. Both assertions fail with 1.0 <= 0.0. The unchanged merge-base helper, executed separately with the same fixture and dependencies, returns only time 0.0 for that frame. The delegated helper uses all saved times and does not honor tslocation. Supply a frame-aware sampling range/slice and cover both sampling modes.

  3. [P1] Count saved times, not scalar array elements, in the analytic helper. src/solutions/solution_interface.jl:374. Confirmed with a two-component solution saved at five times: RecursiveArrayTools 4 gives length(sol) == 10 and length(sol.t) == 5. Applying the recipe with plot_analytic=true, denseplot=true throws BoundsError: attempt to access 5-element Vector{Float64} at index [10] at line 387. This affects the ordinary vector-valued dense analytic plotting path. Derive the endpoint from sol.t/sol.u, and add a dense vector-valued regression test.

  4. [P2] Skip the analytic overlay when there are no continuous variables. src/solutions/solution_interface.jl:318. Confirmed for plot_analytic=true, idxs=Tuple[]: the continuous recipe handles the empty selection, but the unconditional analytic overlay throws BoundsError at vars[1] on line 405. Scalar, vector, and matrix fixtures reproduce it. Guard the analytic series with the continuous-variable selection, including the case where all requested variables were partitioned into discrete series.

  5. [P1] Update the downstream environment together with the dependency requirement. Project.toml:108, conflicting with test/downstream/Project.toml:60. Confirmed by copying the downstream project into scratch and developing this checkout. Resolution exits 1: RecursiveArrayTools is “restricted to versions 3 by project” and “restricted to versions 4 by SciMLBase — no versions left.” Consequently the Downstream and SymbolicIndexingInterface groups cannot reach their tests, including the existing plotting integration tests. Make the declared test environment compatible and run those groups.

  6. [P2] Use a public dependency interface for variable labels. src/solutions/solution_interface.jl:421 (also lines 290, 294, and 428). The new calls reach RecursiveArrayTools._var_label; the runtime probe reports Base.ispublic(RecursiveArrayTools, :_var_label) == false. This violates the supplied AGENTS.md requirement against underscore-prefixed or non-public dependency internals. Request a public upstream interface or implement the small label helper locally.

  • Verdict: CHANGES
  • Round: 1
  • Blocking priorities: P1, P2, P1, P2, P1, P2
  • Deferred P2 issues: None supplied.

Non-blocking findings

  • src/solutions/solution_interface.jl:298: Runic check exits 1 and requests a multiline all(...) layout. Run the declared formatter before resubmission.
  • test/solution_interface.jl:19: “now in RecursiveArrayTools” narrates the change. The supplied instructions require comments to describe the present implementation; remove the historical wording.

What I ran

All Julia runs preserved the supplied layered JULIA_DEPOT_PATH, used the requested TMPDIR, and wrote environments, probes, and logs under ../scratch. Test runs used two Julia threads and memory-limited scopes, starting after the host resource checks passed. No checkout files were changed.

  • git diff origin/master...HEAD, git diff --check origin/master...HEAD, git log -1 --format=fuller, and source/test/workflow inspection. Diff whitespace check passed. Root AGENTS.md and CLAUDE.md are absent; the supplied instructions were used. The newest commit has no Agent-Harness or Agent-Model trailers.
  • julia --startup-file=no --project=../scratch/env ../scratch/setup.jl "$PWD": developed this checkout and resolved its declared test dependencies into a scratch manifest. Observed Julia 1.13.2, SciMLBase 2.152.1, RecursiveArrayTools 4.5.6, RecipesBase 1.4.0.
  • julia --startup-file=no --project=../scratch/env ../scratch/affected.jl "$PWD": included the unchanged test/solution_interface.jl. Exit 0; 17/17 passed: getindex 1, plotting 3, empty-solution interpolation 5, empty-index interpolation 8.
  • julia --startup-file=no --project=../scratch/env ../scratch/runtime_checks.jl "$PWD": executed recipe, animation, scalar/vector/matrix, empty-selection, and merge-base-helper comparison probes, followed by targeted assertions. Exit 1; 1 passed, 4 failed, 2 errored. The four failures cover analytic coordinates/labels and both animation modes; the two errors are dense vector analytic plotting and empty analytic selections. Exact fixtures and output are in ../scratch/assertions.jl and ../scratch/probes.log.
  • Merge-base comparison extracted unchanged plotting helper bodies from 2219eda83e1cff6190f70083d165f081daa62e95 into an isolated module. Its scalar analytic output consists of two numeric 5×2 coordinate matrices with labels ["u[1]", "True u[1]"]; its first-frame sampling stops at 0.0. This was a helper comparison, not a full baseline-package test run.
  • julia --startup-file=no --project=../scratch/downstream -e 'using Pkg; Pkg.develop(path=ARGS[1])' "$PWD": exit 1 with the contradictory RecursiveArrayTools 3/4 requirements quoted above. Log: ../scratch/downstream-resolve.log.
  • julia --startup-file=no --project=@runic -m Runic --check --diff src/solutions/solution_interface.jl test/solution_interface.jl: exit 1, formatting difference at line 298. typos src/solutions/solution_interface.jl test/solution_interface.jl Project.toml: exit 0.
  • uv run --locked python --version: exit 0, Python 3.15.0, with warning: “--locked has no effect when used outside of a project.” This Julia checkout has no uv.lock or Python project; this does not establish a locked project Python interpreter.
  • Final git status --short: empty.

What I did not verify

  • Full Core/QA suites, actual Plots rendering, GPU paths, and the Julia/version-minimum dependency matrix. Downstream and SymbolicIndexingInterface execution is blocked by the confirmed resolver conflict.
  • A historical locked dependency environment: the checkout contains no Manifest.toml or exact Julia interpreter pin. The Julia results use the freshly resolved scratch manifest above. No project-locked Python environment was available.
  • The complete merge-base package under RecursiveArrayTools 3; only its unchanged plotting helpers were executed for comparison.
  • Remote CI results, PR body, comments, author risk rating, or any earlier review. This verdict and risk are independent. No GitHub write operations were performed, and all commands started for this review have finished.

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
Conversation: local session 01a1d258-04ba-7972-88bd-52ff7e7a438a (no session URL)

ChrisRackauckas and others added 5 commits November 14, 2026 00:34
…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)
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

🤖 Automated comment from an AI agent running as @ChrisRackauckas — not written or reviewed by Chris.

PR: #1305

Reviewed head: 1f5ba07
Raw SHA-256: 66f3e35d176e393e8b191dae221055c2a02637625b3d92060b77f85b5b540ccc
Source SHA-256: 82d0ab5d91bb445a69d08f650db6bf6a724a090d1b0040b59bd1e6cb7c98251d
Source: standard-review-v1 (harness-log)
Reviewer session: 01a216e9-083a-7a13-80fa-e9123b8191cd
Slot: 1
Confidence: unknown
Own risk fixed before author rating/discussion: yes
Redaction: ran (substitutions=0)

Risk assessment

  • Risk: high (H1)
  • Verdict: CHANGES
  • Reviewed head: 1f5ba07

Review report

VERDICT: CHANGES
Round: 1
Head: 1f5ba07
Slot: 1
CI: CI unreadable; review only; merge gates unchanged
Session: 01a216e9-083a-7a13-80fa-e9123b8191cd
Reviewer: codex-cli 0.170.0; model: gpt-6.2-sol

Risk

high (H1: the public time-series solution recipe returns wrong coordinates for previously supported callable subtypes and rejects others)

Blocking findings

  • Blocking priorities: P1, P2, P2
  1. [P1] src/solutions/solution_interface.jl:479 — Plotting a callable solution now depends on whether it advertises an interp property. In a recipe probe using a callable AbstractTimeseriesSolution with no such property and a second state of 4 + 2t, a sparse window of [0.5, 1.0] produced y values [4.0, 5.0] on the head and [5.0, 6.0] on the base. Explicit times [0.25, 0.75] also produced [4.0, 5.0] on the head and the expected [4.5, 5.5] on the base. The shared sampler pairs the requested times with leading saved states. A separate callable that exposes interp = nothing returned the correct coordinates on the base and raised ArgumentError on the head.

    Implementation fix. In the eight-argument diffeq_to_arrays method, keep call-based sampling for solution types that lack a non-nothing interpolation property. Batch the non-time indices and use sol(plott; idxs = batch) to get their coordinates. Keep this fallback in SciMLBase while the shared sampler selects its coordinate source by property. Scope the missing-interpolation diagnostic to the native solution path that requires the field. This helper serves both RecipesBase and Makie. Add recipe regressions in test/solution_interface.jl for both callable representations and assert the x and y values for the sparse window and explicit times above. Keep the native missing-interpolation test.

  2. [P2] src/solutions/solution_interface.jl:504 — Combining numerical and analytic coordinates with zip silently discards dimensions. For a linear IVP with a known analytic trajectory and an offset of 1e-4 in the saved numerical values, a threshold-dependent transform emitted three numerical coordinates and two analytic coordinates. The head rendered two axes and two labels. The base exposed the mismatch as coordinate matrices with 2, 2, and 1 columns. With the arities reversed, the base raised BoundsError and the head again silently rendered two axes.

    Implementation fix. Pass the numerical output dimension into analytic_plot_arrays and validate every analytic transform result against it before packing columns. Raise an ArgumentError with the expected and actual dimensions, consistent with the existing mixed-dimension check. Add both mismatches to test/solution_interface.jl and assert the diagnostic. Also assert that a matched 3-D overlay returns three coordinate matrices with one column per label. Have the test helper assert coordinate and label counts before zipping so a mismatch cannot pass by truncation.

  3. [P2] src/solutions/solution_interface.jl:330 — Tuple axis guides describe the first curve even when the tuple expands into several distinct components. The base left the y guide unset for idxs = (0, [1, 2]) and the x guide unset for idxs = ([1, 2], 0). The head labelled both multi-component axes "u[1]". With an independent symbol of τ, the base produced xguide = "τ" for idxs = (:τ, 2), while the head produced "t". The first recipe default takes precedence over the subsequent time guide.

    Implementation fix. In the AbstractTimeseriesSolution recipe, assign each automatic guide once. Use string(getindepsym_defaultt(sol)) for a shared time axis. Use a state label only when all default-transform curves on that axis share the same index. Keep user-supplied guides effective. Add tests for tuple expansion in both orientations and a named independent variable, asserting the guide attributes and retaining the existing single-curve guide checks.

Non-blocking findings

None.

What I ran

  • Reviewed git diff --name-status -M -C origin/master...HEAD and each hunk. The six changed paths cover plotting code, plotting tests and docs, and the RecursiveArrayTools compat floor. Git reported six modifications.
  • Julia 1.12.4, GROUP=Core julia --startup-file=no --project=. -e 'using Pkg; Pkg.test()' in a clean head snapshot. 7,256 assertions passed, including 303 in Solution interface. Running test/solution_interface.jl with RecursiveArrayTools pinned to the new floor, 4.5.3, also passed all 303.
  • GROUP=QA julia --startup-file=no --project=. -e 'using Pkg; Pkg.test()' passed 123/123. An earlier run with --compiled-modules=existing passed 122/123 and hit Aqua's 60-second persistent-task threshold. Standalone probes reproduced the timeout on both revisions with the default load path and passed on both with JULIA_LOAD_PATH='@:@stdlib'. The base investigation observed Aqua's subprocess compiling an Enzyme extension after SciMLBase had signalled that it was loaded.
  • Ran test/downstream/plot_lines.jl in a scratch Julia project with Makie 0.24.17 and RecursiveArrayTools 4.5.6. All 69 assertions passed across 10 testsets.
  • Scratch recipe probes on the base and head exercised callable solutions, axis guides, and overlay dimensions. The preservation checks passed 4/4 on the base and failed 4/4 on the head. A separate explicit-time analytic overlay check failed on the base with MethodError: no method matching length(::Nothing) and passed 3/3 on the head.
  • Ran the docs build in a clean head snapshot with the publishing call excluded. Doctests and document checks completed, HTML rendered all three added plotting entries, and the build exited 0.
  • Runic 1.13.0 check mode, typos on the changed files, and git diff --check origin/master...HEAD exited 0. uv run --locked python --version returned Python 3.13.13 and warned that --locked has no effect outside a project. The checkout has no Python lockfile.

What I did not verify

The full Downstream group, direct Makie conversion of a DEIntegrator, or other Julia and Makie versions.

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
Conversation: local session 01a216e9-083a-7a13-80fa-e9123b8191cd (no session URL)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.