Repository navigation
Preserve contiguous array derivative views in implicit residual codegen - #5242
ChrisRackauckas-Claude wants to merge 1 commit into
Conversation
AayushSabharwal
left a comment
There was a problem hiding this comment.
Some more comments inside array_derivative_arguments! would be nice too.
| terms = Set{SymbolicT}() | ||
| for expressions in (rhss, extra_expressions), rhs in expressions | ||
| Symbolics.get_variables!(terms, rhs; is_atomic = array_derivative_is_atomic) | ||
| end |
There was a problem hiding this comment.
| terms = Set{SymbolicT}() | |
| for expressions in (rhss, extra_expressions), rhs in expressions | |
| Symbolics.get_variables!(terms, rhs; is_atomic = array_derivative_is_atomic) | |
| end | |
| terms = Set{SymbolicT}() | |
| buffer = SU.IRStructureSearchBuffer(ir, terms) | |
| for expressions in (rhss, extra_expressions), rhs in expressions | |
| Symbolics.get_variables!(buffer, rhs; is_atomic = array_derivative_is_atomic) | |
| end |
| if length(positions) == length(indices) && | ||
| positions == collect(first(positions):last(positions)) && | ||
| all(isequal(dvs[i], parent[j]) for (i, j) in zip(positions, indices)) | ||
| arrays[parent] = Symbolics.term(reshape, du[first(positions):last(positions)], size(parent); type = symtype(parent), shape = SU.shape(parent)) |
There was a problem hiding this comment.
| arrays[parent] = Symbolics.term(reshape, du[first(positions):last(positions)], size(parent); type = symtype(parent), shape = SU.shape(parent)) | |
| arrays[parent] = Symbolics.STerm(reshape, Symbolics.SArgsT((du[first(positions):last(positions)], size(parent))); type = symtype(parent), shape = SU.shape(parent)) |
Less compilation
| subs[term] = unwrap(Symbolics.substitute(wrap(only(expanded)), subs)) | ||
| end | ||
| end | ||
| subber = ex -> unwrap(Symbolics.substitute(wrap(ex), subs)) |
There was a problem hiding this comment.
| subber = ex -> unwrap(Symbolics.substitute(wrap(ex), subs)) | |
| subber = SU.IRSubstituter{false}(ir, subs) |
Independent review (Devin CLI 3000.11.3, model fusion-claude-opus-5-5-high-sidekick-swe-2-medium): MERGE, risk medium. Full reviewVERDICT: MERGE Implicit-DAE residual codegen changes for every system with an array-shaped derivative. No public API change. Scalar-only DAEs still take the old path: I checked that the generated code has no sentinel. Blocking findingsNone. Non-blocking findings
What I ranAll runs used Julia 1.12.7 on aarch64 macOS, Symbolics 7.45.0, SymbolicUtils 4.50.0, SciMLBase 3.57.0, OrdinaryDiffEqBDF 2.4.12. There were two scratch environments: PR head (
What I did not verify
🤖 Posted by an AI agent — harness: Devin CLI 3000.11.3 (review), Claude Code 2.1.285 (posting) · model: fusion-claude-opus-5-5-high-sidekick-swe-2-medium |
Independent execution at current head using ModelingToolkit, Test
@independent_variables t
@variables x(t)[1:2]
@parameters __mtk_dae_du[1:2]
D = Differential(t)
sys = complete(System([D(x) ~ -x .+ __mtk_dae_du], t,
collect(x), [__mtk_dae_du]; name = :collision))
prob = DAEProblem(sys,
[x => [1., 2.], D(x) => [7., 11.], __mtk_dae_du => [3., 5.]],
(0., 1.); build_initializeprob = false)
out = zeros(2)
prob.f(out, prob.du0, prob.u0, prob.p, 0.)
@test out == [-5.0, -8.0]The expected result follows directly from Please preserve these inputs with a deterministic collision-free binding or a correct scalar fallback, and replace the new collision There is also useful positive coverage to retain: the independent nonuniform observed-derivative slice probe fails on master with The committed test file passes 57/57 on this head, but its new exception assertion currently codifies the constructor regression. This was a read-only review; no repair has been applied or tested, and no author branch was pushed. The reviewer disclosed that the supplied body still contained historical review/risk prose; the constructor differences above were independently executed rather than inferred from that prose. Links:
🤖 Posted by an AI agent — harness: Codex CLI 0.163.0 · model: gpt-6.1-sol. Independent reviewer: Codex CLI 0.163.0 / gpt-6.1-sol, local session 01a15cf7-7aff-7db3-80ad-3982b6db8ad9 (no session URL). |
A two-file proposal for the reserved derivative-name regression on exact head The same final official All eight errors before the fix are the reserved-name Two fresh-process extra-control runs each pass 53/53: suffix holes; independent-variable collisions with nonzero time; composed state/parameter names; contiguous, offset, interleaved and reversed derivative layouts with ForwardDiff; matrix slices; and both residual variants with satisfied and violated derivative assertions. Both n=24/n=96 generated expressions have 493 nodes and their hashes match across processes. This does not fix the separately tracked partial-state failure. A fresh independent Codex CLI 0.163.0 / gpt-6-astra session reproduced the exact same-file result: 58 passes / 8 errors → 74 passes, reran 53/53 author controls and passed 21/21 additional controls. Those combine state/parameter/observed name collisions with a colliding independent variable, contiguous/interleaved/reversed layouts, hand-checked residuals and Jacobians, generated Full official InterfaceI completed with 1,814 passes, no failed assertions, one parsing error and 5 existing broken tests (exit 1), including all 74 array-DAE assertions. The sole error is the scalar variable with array default at Compatible symbolic-dependency floors were independently resolved and verified on Julia 1.12.7: Symbolics 7.41.1 / SymbolicUtils 4.46.4. The identical official file reports 58 passes / 8 reserved-name errors without the patch and 74/74 with it; patched controls pass 53/53 + 21/21. Expression sizes/hashes match the newer graph. This is a compatible symbolic pair, not an all-packages-minimum graph: EnzymeCore, IrrationalConstants and StaticArrays also move one patch version, and Moshi resolves 0.3.9 instead of 0.3.13. Official QA passed with unchanged assertions and bounds: dedicated JET 54/54 and Aqua 21/21, true exit 0. The initial default-watcher run passed JET 54 but errored in one Aqua check due to The separately extracted corrected official parsing file from current master passes 48/48 against the identical unpatched source and dependency graph (exit 0). Neither the candidate nor its original parsing test was overwritten. This verifies the existing merged correction separately; the full InterfaceI error above is not hidden or replaced by this control. Final source/setup audit is complete: the candidate binary diff exactly matches the patch below, with only the two intended tracked files changed. The QA runner's generated environment and metadata diff were archived, its tracked Project restored byte-for-byte, and its archived ignored Manifest removed only after all jobs ended. All frozen source/test/environment hashes were checked; every controller/child has ended and both author/reviewer grants are released. Scope: the exact two-file repair is independently low risk/high confidence. The original whole PR remains unapproved: it still needs current-master integration, including the existing parsing/Latexify fixes, and fresh CI/review on its final author-adopted head. No source was pushed to the author's branch. Other Julia versions, GPU, downstream routes and an all-packages-minimum graph were not rerun for this repair. Runic, added-line spelling and diff whitespace checks exited 0. No dependency, public name, docstring or compatibility change. Exact patch SHA256 Exact proposed patchdiff --git a/lib/ModelingToolkitBase/src/systems/codegen.jl b/lib/ModelingToolkitBase/src/systems/codegen.jl
index fc5f02b297..3f4b7ab51f 100644
--- a/lib/ModelingToolkitBase/src/systems/codegen.jl
+++ b/lib/ModelingToolkitBase/src/systems/codegen.jl
@@ -64,14 +64,16 @@ function array_derivative_arguments!(rhss::Vector{SymbolicT}, dvs, D, ir::IRStru
return map(D, dvs), identity
end
- # A fixed sentinel keeps the generated Expr hash-stable across processes; reject a
- # collision so a user symbol cannot silently shadow the `du` argument binding.
- du_name = :__mtk_dae_du
+ reserved_names = Set{Symbol}()
for v in reserved_symbols
parent, _ = split_indexed_var(v)
- if hasname(parent) && getname(parent) === du_name
- throw(ArgumentError("the array derivative sentinel `$du_name` collides with a symbol of the system; this name is reserved for internal use."))
- end
+ hasname(parent) && push!(reserved_names, getname(parent))
+ end
+ du_name = :__mtk_dae_du
+ suffix = 0
+ while du_name in reserved_names
+ suffix += 1
+ du_name = Symbol(:__mtk_dae_du_, suffix)
end
du = unwrap(only(@variables $du_name[1:length(dvs)]))
subs = Dict{SymbolicT, SymbolicT}(D(v) => du[i] for (i, v) in enumerate(dvs))
diff --git a/lib/ModelingToolkitBase/test/array_equation_dae.jl b/lib/ModelingToolkitBase/test/array_equation_dae.jl
index 7afe3bdc96..52374bbe92 100644
--- a/lib/ModelingToolkitBase/test/array_equation_dae.jl
+++ b/lib/ModelingToolkitBase/test/array_equation_dae.jl
@@ -293,18 +293,77 @@ end
@test out ≈ zeros(12)
end
-@testset "array derivative sentinel collision" begin
+@testset "array derivative argument name collisions" begin
+ for count in (1, 3), role in (:array_state, :scalar_state, :parameter, :observed)
+ @testset "$role with $count occupied names" begin
+ @independent_variables t
+ @variables x(t)[1:2]
+ D = Differential(t)
+ names = [:__mtk_dae_du; [Symbol(:__mtk_dae_du_, i) for i in 1:(count - 1)]]
+ collisions = map(names) do name
+ if role === :scalar_state
+ only(@variables $name(t))
+ elseif role === :parameter
+ only(@parameters $name[1:2])
+ else
+ only(@variables $name(t)[1:2])
+ end
+ end
+ eqs = [D(x) ~ -x]
+ vars = collect(x)
+ ps = []
+ obs = Equation[]
+ op = Pair[x => [1.0, 2.0], D(x) => [7.0, 11.0]]
+ expected = [-8.0, -13.0]
+ for (i, v) in enumerate(collisions)
+ if role === :parameter
+ push!(ps, v)
+ push!(op, v => [3.0i, 5.0i])
+ eqs[1] = D(x) ~ eqs[1].rhs .+ v
+ expected .+= [3.0i, 5.0i]
+ elseif role === :observed
+ push!(obs, v ~ (i + 1) .* x)
+ eqs[1] = D(x) ~ eqs[1].rhs .+ v
+ expected .+= (i + 1) .* [1.0, 2.0]
+ elseif role === :scalar_state
+ push!(vars, v)
+ push!(eqs, D(v) ~ -v)
+ append!(op, [v => 3.0i, D(v) => 13.0i])
+ push!(expected, -16.0i)
+ else
+ append!(vars, collect(v))
+ push!(eqs, D(v) ~ -v)
+ append!(op, [v => [3.0i, 5.0i], D(v) => [13.0i, 17.0i]])
+ append!(expected, [-16.0i, -22.0i])
+ end
+ end
+ sys = complete(System(eqs, t, vars, ps; observed = obs, name = :collision))
+ prob = DAEProblem(sys, op, (0.0, 1.0); build_initializeprob = false)
+ out = zeros(length(expected))
+ prob.f(out, prob.du0, prob.u0, prob.p, 0.0)
+ @test out == expected
+ @test prob.f(prob.du0, prob.u0, prob.p, 0.0) == expected
+ end
+ end
+end
+
+@testset "observed derivative of an array slice" begin
@independent_variables t
- @variables x(t)[1:6]
- @parameters __mtk_dae_du[1:6]
+ @variables x(t)[1:4] v(t)[1:2]
D = Differential(t)
sys = complete(
System(
- [D(x) ~ -x .+ __mtk_dae_du], t, collect(x),
- [__mtk_dae_du]; name = :collision
+ [D(x[1:2]) ~ -x[1:2] .+ v, D(x[3:4]) ~ -x[3:4]], t, collect(x), [];
+ observed = [v ~ D(x[3:4])], name = :observed_slice
)
)
- @test_throws ArgumentError DAEFunction(sys)
+ f = DAEFunction(sys)
+ du = [11.0, 12.0, 13.0, 14.0]
+ u = [1.0, 2.0, 3.0, 4.0]
+ out = zeros(4)
+ f(out, du, u, SciMLBase.NullParameters(), 0.0)
+ @test out == [1.0, 0.0, -16.0, -18.0]
+ @test f(du, u, SciMLBase.NullParameters(), 0.0) == out
end
@testset "Multidimensional derivative code size" beginLinks
🤖 Written by an AI agent: Codex CLI 0.163.0, model gpt-6-astra, local session 01a15f92-d0ac-7da2-a4e3-048ba72a9dfc (no session URL). |
|
Draft #5353 carries these commits on current master (with master merged in); reason: the xtalax-droid fork cannot push to this branch. 🤖 Posted by an AI agent · harness: Claude Code 2.1.312 · model: claude-sonnet-5-5 |
Conflict in lib/ModelingToolkitBase/test/array_equation_dae.jl: both sides appended new testsets at the end of the file; kept both. Agent-Harness: Claude Code 2.1.312 Agent-Model: claude-sonnet-5-5 Agent-Session: de59b94f-0227-49ea-adb5-b158639dad0b Agent-Review: unreviewed Co-authored-by: Claude Code <agent@noreply.juliahub.com>
Preserve contiguous array derivative views in implicit residual codegen (supersedes #5242)
The implicit-DAE residual binds array derivatives to a synthetic `du` symbol. Reject-on-collision made systems that use the name `__mtk_dae_du` (as a state, parameter or observed variable) fail at construction even though they work without the array-derivative path. Pick the first unused name of the fixed sequence `__mtk_dae_du`, `__mtk_dae_du_1`, ... instead, which stays deterministic across processes, and replace the `@test_throws` with numerical residual tests for each symbol role. Also cover an observed derivative of an array slice. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude <noreply@anthropic.com> Agent-Harness: Claude Code 2.1.327 Agent-Model: claude-sonnet-5-5 Agent-Session: local fixer job SciML__ModelingToolkit.jl__5242 (no session URL)
a85ab15 to
a3f8996
Compare
|
Superseded by #5353 |
Please ignore until reviewed by @ChrisRackauckas.
Summary
Adopts stalled #5121 onto current master. Implicit DAE residuals previously expanded each array derivative into one scalar
duread per element viaSymbolicUtils.array_literal, so residual expression size grew with state dimension (D(x) ~ -xAST nodes 623→1631 for n=24→96). Contiguous derivative blocks are now bound asreshape(view(du, a:b), size)of theduargument, keeping generated residual code size independent ofnwhen the state layout is contiguous.Cherry-picked from #5121 with authorship preserved (
7bb83a3,e19beae). The DiffEqBase7.18.1bump commit was skipped: master already requires it. Conflict resolution kept master's existingarray_equation_dae.jlcoverage and master's element-wisedervarshandling inbuild_explicit_observed_function(from the #5148 array-equation work); #5121's regression tests for code size / observations / interleaved layouts / sentinel collision were retained.Review follow-ups
AayushSabharwal: IRStructureSearchBuffer term collection,
STerm/SArgsT,IRSubstituter, intent comments (96afb6e).Devin / Fusion Opus 5.5 (non-blocking):
viewin the contiguous binding (0d8c71e): generated code is now(reshape)((view)(du, 1:n), size). In-place residual@allocatedat n=200: 7008 → 5344 bytes (getindex-copy path → view path) on this host.any(is_array_shape, dvs)guard:dvs = flat_unknowns(sys)is always scalarized.array_derivative_arguments!.Relation to #5101 / #5121
ODEProblemfrom array differential equations withcompleteonly #5101 (closed, unmerged): ODEProblem-from-array-DEs viacomplete. Superseded by merged Unify array-equation support behind a capability trait; fold in #5101 ODE support and MultiObjectiveOptimizationFunction #5148; orthogonal to this DAE residual codegen size fix.Fixes #5097.
Verification
Negative control (src fix reverted to master
codegen.jl, new tests kept)With fix (
include("lib/ModelingToolkitBase/test/array_equation_dae.jl")) after view changeAll 14 testsets passed, including:
Generated snippet at n=200:
(reshape)((view)(___mtkunknowns___, 1:200), (200,)).Owning group (earlier on this branch, Symbolics v7.42.0)
Current CI reds in InterfaceI / RegressionI / Optimization also fail on master; not from this diff. Do not rebase solely for those. Local InterfaceI used Symbolics v7.42.0.
Runic
--check --diffandtyposclean oncodegen.jl.Not verified
BoundsErroron master)What a reviewer should push back on
__mtk_dae_duvs a different stable name on collision.generate_rhsimplicit-DAE block (Promote Dual inputs in out-of-place array DAE residuals #5244, WIP: build implicit DAE Jacobians and sparsity from scalarized array residuals #5136, Support array unknowns in initialized DAE constructors #5144).Risk assessment
generate_rhs(...; implicit_dae=true)/DAEFunction/DAEProblem; observed equations and assertions on that path.array_equation_dae.jlafter view change; alloc drop 7008→5344 at n=200; earlier InterfaceI green on Symbolics 7.42.0.Please ignore this draft until reviewed by @ChrisRackauckas.
Harness: Cursor Agent CLI 2026.10.01-14929f9 · Model: auto · Transcript: /log.txt
Risk assessment (independent review, Claude Code 2.1.301 claude-opus-5-5, reviewed head a85ab15)
generate_rhs(...; implicit_dae = true)for continuous time-dependent systems, i.e.DAEFunction/DAEProblemresidual codegen, plus observed equations and assertions on that path. The new branch only runs when array-valued derivatives appear in residuals, observed RHS or assertions. Otherwise it returns the oldmap(D, dvs)binding, so scalarizedmtkcompileoutput is unaffected. With array derivatives, contiguous blocks ofdubecomereshape(view(du, a:b), size)and noncontiguous/partial layouts fall back to the existing scalar expansion. New internal helperarray_derivative_arguments!(not exported). Reserves the symbol name__mtk_dae_duon this path. No public API change, no new deps.a85ab158af1fef3390f42c3333b298dc1e98058e. Ranlib/ModelingToolkitBase/test/array_equation_dae.jl(Julia 1.13, MTK root loaded as in@mtktestset): PR source 57/57 pass. Same tests withlib/ModelingToolkitBase/srcfrom master (5abac29): 53 pass, 4 fail (array derivative code sizeEvaluated623 == 1631; multidimensional637 == 1645,639 == 1647; sentinel-collision). Fail-before / pass-after confirmed. Wrote an independent probe (work/probe5242.jl): contiguous block at an offset ([z; x[1:5]]) has the correct IIP and OOP residual (checked by hand:[-3,-5,-7,-9,-11,-2]); OOP withSVectorinputs works;ForwardDiff.jacobianw.r.t.duis the correct permutation;jac = truegivesdF/du + γ dF/d(du)correctly;DFBDFsolve matches analyticz(1)=e^-2,x1(1)=2e^-1-e^-2; a partial array (only some elements differentiated) gives zero residual at consistentdu0; anmtkcompiledD(w) ~ -wDAEProblem solves toe^-1. The probe output is identical between PR and master source. CI: 99 pass. The 6 reds are pre-existing: sublibrary InterfaceI "Parsing Test" and RegressionI "Latexify recipes Test" under Symbolics 7.45 (e.g. https://github.com/SciML/ModelingToolkit.jl/actions/runs/38853530735/job/116844159307), fixed on master by Update MTKBase tests and compat floors for Symbolics 7.43-7.45 #5281; the Documentationbuildfails identically to master on:linkcheck(https://github.com/SciML/ModelingToolkit.jl/actions/runs/38856355754); and theSciMLBase.jl/SymbolicIndexingInterfaceintegration job also fails on master (https://github.com/SciML/ModelingToolkit.jl/actions/runs/38856355740). Roottests / InterfaceI/IIgreen; sublibrary Extensions/InterfaceII (Julia 1) still running.🤖 Posted by an AI agent — harness: Claude Code 2.1.301 · model: claude-opus-5-5 (independent reviewer; appended by Claude Code 2.1.301 · claude-opus-5-5)
Conversation: https://claude.ai/code/session_01VZjwf7Ux9YtTzwHGHMqnsq
Independent review (Codex CLI 0.162.1 gpt-6.1-sol, head a85ab15)
VERDICT: CHANGES
The array-derivative optimization works in the tested layouts, but its sentinel guard introduces a compatibility regression. Reviewed the complete two-file diff and linked issue. With Julia 1.12.7, Symbolics 7.46.0 and SymbolicUtils 4.51.0, the head passes all 57 array DAE assertions. Running the identical test file against the merge-base packages gives 53 passes and four failures: code-size comparisons 623 == 1631, 637 == 1645 and 639 == 1647, plus the newly expected sentinel exception. Independent offset-block and reversed/interleaved-layout probes pass 4/4 on both versions with identical in-place and out-of-place residuals.
All six failing CI checks have baseline evidence. Both InterfaceI jobs fail on the scalar variable's array default, and both RegressionI jobs fail the Latexify reference comparison; the same failures occur on master run 38488998911. Master's test/compat update subsequently makes all four jobs pass in run 38856356536. Documentation fails with Documenter's [:linkcheck] error on both the PR and master run 38856355754. The SciMLBase SymbolicIndexingInterface integration job has the same State indexing/Observed BoundsError on the PR and master run 38856355740. These failures do not establish a PR regression. Read-only GitHub queries also confirm the current head still has CHANGES_REQUESTED from the maintainer; that request needs resolution before merging.
G1: independent analytic heat/decay references pass on the head. G2: no GPU kernel, AD rule, Reactant or MPI implementation is changed; the affected residual paths run in CI and locally. G3: no new shared cache lifecycle, threading or global-default mechanism is introduced. No G1–G3 failure was identified.
Links
@variables x(t)[1:2],@parameters __mtk_dae_du[1:2]and equationD(x) ~ -x .+ __mtk_dae_duconstructs and evaluates correctly on the base: with x=[1,2], du=[7,11], and parameters=[3,5], the residual is [-5,-8]. At this head,DAEFunction(sys)throws ArgumentError solely because of the parameter name. The new test at lib/ModelingToolkitBase/test/array_equation_dae.jl:307 codifies that rejection instead of preserving the working case. Select a deterministic collision-free sentinel and test the residual for this input. Otherwise this is an intentional breaking restriction requiring an explicit SemVer/release decision, rather than a compatible codegen optimization. H1 sets the risk level even though the affected spelling is unusual.Not verified: full local InterfaceI/RegressionI/QA/downstream suites, a local docs build, large-array wall-clock performance, cross-process expression hashes, offset-axis arrays, or interactions with sibling PRs. CI logs were read; jobs were not rerun or modified. No GitHub posts were made and tracked repository files were not modified.
🤖 Posted by an AI agent — harness: Codex CLI 0.162.1 · model: gpt-6.1-sol
Conversation: Codex exec session 01a14b5b-feaa-76b1-991a-0326be29780d (no public URL)
Codex CLI gpt-6.1-sol rated it high (H1) at head a85ab15
Fix by Claude Code 2.1.327 claude-sonnet-5-5 (head a3f8996)
Rebase outcome. Rebased onto current master (a0ecca4). Master already contains the array-derivative
reshape(view(du, …))codegen from the merged #5353, which supersedes this PR, so git dropped the PR's original five commits and the merge commit as already applied. The branch is now one commit on master. The body above describes the original, larger change and is stale. What remains is the repair of the reserved-name regression raised in the independent review (a system that uses the name__mtk_dae_duconstructed on the old base but threwArgumentErrorwith the guard; master has the same guard).Changes
lib/ModelingToolkitBase/src/systems/codegen.jl:array_derivative_arguments!picks the first unused name of the fixed sequence__mtk_dae_du,__mtk_dae_du_1, … instead of throwing. The choice depends only on set membership, so the generatedExprstays deterministic across processes.lib/ModelingToolkitBase/test/array_equation_dae.jl: replaces the@test_throws ArgumentErrorwith numerical residual tests (in-place and out-of-place) for array state, scalar state, parameter and observed collisions with 1 and 3 occupied names, and adds a test for an observed derivative of an array slice.Validation (Julia 1.12.7,
JULIA_NUM_THREADS=4)codegen.jl, new tests):include("lib/ModelingToolkitBase/test/array_equation_dae.jl")gives 8 errors, allArgumentError: the array derivative sentinel__mtk_dae_ducollides with a symbol of the system, exit 1.Test Summary: | Pass Total Time/x | 101 101 2m16.3s, exit 0.GROUP=InterfaceI julia --project=lib/ModelingToolkitBase -e 'using Pkg; Pkg.test()':InterfaceI | 2224 5 2229 18m36.4s(5 pre-existing broken),Testing ModelingToolkitBase tests passed.GROUP=QA: JET 54/54; Aqua 20 pass / 1 fail, "No unapproved public reexports" ([:Curl, :Divergence, :Grad, :Laplacian, :NormalDerivative]). The same single failure occurs on a clean upstream master checkout (20/1), so it is pre-existing and not caused by this change.julia --project=@runic -m Runic --check --diffon both files andtypos: exit 0.Not verified: Core, InterfaceII and Extended groups; docs build; other Julia versions. The partial-state failure tracked in #5297 is untouched.
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.327 · model: claude-sonnet-5-5
Conversation: local fixer job SciML__ModelingToolkit.jl__5242 (no session URL)