Skip to content

Make AutoDespecialize initialization data model-independent - #5221

Merged
ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:ttfx-model-independent-initdata
Oct 31, 2026
Merged

ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:ttfx-model-independent-initdata

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Please ignore until reviewed by @ChrisRackauckas.

Summary

Under AutoDespecialize, MTK initialization data for DAE chains differed by model size because (1) CopyParamsByTemplate packed small index lists into tuples, (2) ObservedWrapper carried a per-model RGF in its type, and (3) the split init parameter map was an anonymous closure. This PR keeps Vector templates (including recording non-tunable array-parameter index types in elem_types), erases the observed getter to ObservedWrapper{TD,Any}, and replaces the closure with InitializeprobParameterMap only under AutoDespecialize. AutoSpecialize and FullSpecialize keep the previous #initprobpmap_split closure and types.

The Homotopy tuple guard for SCC containers is left to #5202. This PR no longer touches sccnonlinearproblem.jl.

Related to #5211. Type-equality regression uses DAE sizes (6, 9) (both >5 SCC blocks) so it does not depend on the ≤5-block tuple container.

Also related: #5238 adds the identical push!(elem_types, typeof(symidx)) line with its own test. Merging both is clean; whichever lands first makes the other's line a no-op, and both tests remain valid.

Verification

Fresh A/B on base f19f4bc917 vs head f709f61581 (round-2 independent review). Julia 1.12.7. MethodInstances exclude ROOT. Load ~220–300. Build and total MIs are too noisy to claim; only solve and init-family counts are reported.

typeof(prob.f.initialization_data) for chain_dae(6) vs chain_dae(9): false → true. ODE AutoDespecialize type match for compatible chains was already true on master; only the DAE half changes.

Init-family MethodInstances (all n): build 4 → 0, solve 11 → 1.

Solve MethodInstances (fresh A/B on f709f61581):

n base head
9 470 337
11 476 343
13 480 357

Fail-on-base: DAE type equality and the N2 CopyParamsByTemplate non-tunable array-index test fail on f19f4bc917 and pass on head.

Tests:

  • GROUP=Initialization: Pass 974, Broken 12, Total 986, exit 0 (~85 min).
  • test/linearize.jl: exit 0 on base and head. linearization_function builds ODEProblem{true}, which defaults to AutoDespecialize, so InterfaceII's linearization path is touched by this PR; the tests still pass.
  • Full local GROUP=InterfaceII timeout under high load is host contention (same stall point on base); CI InterfaceII is green on PR and master (Julia 1 and LTS).
  • Runic --check on changed files: clean.

CI

Failing checks match pre-existing failures on master: SII SCCNonlinearProblem u0, QA reexports, Optimization, NNPDE2 Enzyme, sublibrary JET. Benchmarks (1) fails resolving the master side (ModelingToolkitBase 1.77.1 registry), not this PR. Relevant groups (Initialization, InterfaceII, SymbolicIndexingInterface, Downstream) are green.

Not verified

  • Wall-clock wins (load-dominated; MI counts are the primary metric).
  • Models with incompatible parameter layouts / ranks (type equality is for compatible chain layouts).

Risk assessment

  • Risk: low
  • Blast radius: AutoDespecialize initialization-data types only; AutoSpecialize / FullSpecialize types unchanged; no SCC container policy change.
  • Evidence: type match for DAE (6, 9); solve MI ~470–480 → ~337–357; init-family 4→0 / 11→1; correctness probes bit-identical aside from intended AutoDespecialize type changes; Initialization and linearize green.
  • Independent reviews:
  • Merge: needs human review (ModelingToolkit is multi-maintainer).
  • Homotopy ≤5-block Vector path remains a pre-existing SCCNonlinearSolve gap (NonlinearSolve.jl CompatHelper: bump compat for Symbolics to 4, (keep existing compat) #1321 still open); not introduced here.

Reviewer pushback

Part of the MTK TTFX effort.

Harness: Cursor Agent CLI · Model: auto

Risk assessment (independent review, codex-cli gpt-6.1-sol, reviewed head 8a51896)

  • Risk: medium
  • Blast radius: Default AutoDespecialize initialization maps, observed getters, and parameter-copy templates. These are internal representations used during problem construction, initialization, solve, and remake; numerical outputs and public constructor signatures are retained. Other specialization levels retain their map selection.
  • Evidence: I ran the complete added model_independent_initialization.jl with Julia 1.13.0, four Julia threads, and registered dependencies: 28/28 model-independent initialization assertions and 2/2 non-tunable array-index assertions passed, exit 0. This checks DAE and ODE type equality at sizes 6 and 9, solves against FullSpecialize, remake/solve equivalence, AutoSpecialize map selection, and non-tunable array values. CI has 43 pass, 2 fail, 63 pending, 1 skipped; both failed jobs match master. SciMLSensitivity Core8 succeeds: https://github.com/SciML/ModelingToolkit.jl/actions/runs/38856295175/job/116828397007 .
  • Independent review: codex-cli 0.163.0 gpt-6.1-sol rated it medium, high confidence: the intended type equality and numerical/remake equivalence pass locally, but the default initialization path spans multiple solver and differentiation consumers.
  • Merge: needs human review — medium risk due to default initialization internals. No blocking finding; pending CI is not counted as successful validation.

🤖 Posted by an AI agent — harness: codex-cli · model: gpt-6.1-sol (independent reviewer; appended by Claude Code 2.1.301 · claude-opus-5-5)
Conversation: https://claude.ai/code/session_01VZjwf7Ux9YtTzwHGHMqnsq

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

Risk assessment (independent review, Codex CLI 0.164.0 gpt-6.1-sol, slot 1, head 8a51896)

  • Risk: medium-high (MH1: Changes core initialization representation and type specialization; full IntegrationTest green and final-head measurements needed for ML11 are not established.)
  • Verdict: MERGE
  • Session: 01a18da8-3a3a-7620-b234-342bf3d4309e
  • Blocking priorities: none

Review round 2, written by the reviewer named above (Codex CLI 0.164.0 / gpt-6.1-sol) in a session other than the PR author's, and copied here by the posting agent without change to its findings. The posting agent did not re-run the reviewer's commands.

Summary: Makes AutoDespecialize initialization mapping data independent of model-specific callable types. The original tests and independent solution, residual and nonlinear ForwardDiff checks pass locally; broad core initialization scope keeps the medium-high classification.

Blast radius: CopyParamsByTemplate, concrete_getu, parameter reconstruction and initialization maps for AutoDespecialize.

Evidence: Julia 1.13.2: the exact new file passes 28+2 assertions on the head; its first testset has 25 passes / 1 failure / 2 errors on origin/master because model-specific types remain and the new wrapper type is absent. Independent physical-variable ODE matrix-exponential and DAE residual checks pass 10/10 on both refs, as do 2/2 analytic ODE sensitivity checks and 2/2 ForwardDiff-through-nonlinear-initialization checks (0.09196986029320084 versus exp(-1)/4). Six new-model solve benchmarks pass on both refs. G1 has independent linear solutions, algebraic residuals and analytic sensitivities; G2 is exercised locally and in cited same-head Core8 CI; G3 includes different model sizes, remake and explicit non-tunable buffer checks. Complete IntegrationTest green and a comprehensive isolated performance study are not established, so MH1 is retained rather than ML11.

Blocking findings

None.

Non-blocking findings

  1. lib/ModelingToolkitBase/src/systems/problem_utils.jl:919: Keep final-head performance evidence focused on initialization-map compilation, including small templates. The local end-to-end solve timings below include compilation outside initialization and do not replace a full MethodInstance or latency profile.

What I ran

First-round read-only inspection, retained for this unchanged head. Repository commands below ran in the isolated checkout and exited 0; rev-parse HEAD matched the live head metadata. Base is the fetched target-branch tip at review time, while the three-dot diff uses the merge base. Newest non-merge commit trailers, rather than body attribution, supply AUTHOR_GRADE provenance.

git fetch origin +refs/pull/5221/head:refs/remotes/pr/5221 +refs/heads/master:refs/remotes/origin/master
git checkout --detach pr/5221
git rev-parse HEAD
git rev-parse origin/master
git diff --check origin/master...HEAD
git log -1 --no-merges --format=%B
git diff origin/master...HEAD

Read-only GitHub inspection (PR views exit 0; pr checks exits 1 because failures exist):

gh pr view 5221 --repo SciML/ModelingToolkit.jl --json number,url,state,isDraft,headRefOid,baseRefName,baseRefOid,title,files,commits,statusCheckRollup
gh pr view 5221 --repo SciML/ModelingToolkit.jl --json body,closingIssuesReferences
gh pr checks 5221 --repo SciML/ModelingToolkit.jl
gh issue view 5211 --repo SciML/ModelingToolkit.jl --json number,title,body,state,url
gh run view 38856295016 --repo SciML/ModelingToolkit.jl --log-failed
gh run view 38856295175 --repo SciML/ModelingToolkit.jl --log-failed
gh run view 38856295864 --repo SciML/ModelingToolkit.jl --log-failed
gh run list --repo SciML/ModelingToolkit.jl --branch master --event push --limit 5 --json databaseId,headSha,conclusion,url,name
gh run view 38846662285 --repo SciML/ModelingToolkit.jl --log-failed
gh run view --repo SciML/ModelingToolkit.jl --job 116884038717 --log
gh run view --repo SciML/ModelingToolkit.jl --job 116869194109 --log

CI check rollup at the captured head: {"CANCELLED": 1, "FAILURE": 6, "SKIPPED": 3, "SUCCESS": 101}. Log-retrieval exit codes are retrieval status, not test exit codes: successful retrieved jobs report tests passed; failed jobs remain failed. Failed-run logs were retrieved with a writable scratch XDG_CACHE_HOME. Unavailable logs are disclosed above. The recent default-branch five-run listing was also read; exact historical comparisons are identified in the evidence paragraph.

Outer Initialization CI passed 979 assertions with 12 existing broken markers, exercising model_independent_initialization.jl. Sublibrary Initialization also passes; Core8 and Downstream are green. SII BoundsErrors match historical master 38846662285; the separate Parsing/Latexify failures have no fully verified historical match here. Earlier author MethodInstance measurements were inspected, not rerun.

Inspected CI URLs: https://github.com/SciML/ModelingToolkit.jl/actions/runs/38856295016, https://github.com/SciML/ModelingToolkit.jl/actions/runs/38856295175, https://github.com/SciML/ModelingToolkit.jl/actions/runs/38856295864, https://github.com/SciML/ModelingToolkit.jl/actions/runs/38856295864/job/116884038717, https://github.com/SciML/ModelingToolkit.jl/actions/runs/38856295779/job/116869194109, https://github.com/SciML/ModelingToolkit.jl/actions/runs/38846662285.

Round 2 local execution:

All 20 live PRs were checked OPEN with unchanged reviewed heads before Julia execution. Each run checked out the exact detached SHA shown below. Julia 1.13.2 ran directly inside the inherited resource scope, with one Julia invocation at a time, four Julia threads and one BLAS thread. The isolated environment was created with Pkg.activate(temp=true) and Pkg.develop(path=...) for the checkout and its MTKBase subpackage, then persisted outside the checkout for dependency reuse. No test project or source was edited in the checkout.

The driver activates that environment, resolves compatible registered dependencies without updating registries, and includes each selected script in a fresh module. It catches only at the test-file boundary to record every selected result, then exits nonzero if any selected case failed. Assertions and tolerances are unchanged. --compiled-modules=existing reuses available dependency caches and loads uncached PR source; it does not disable tests.

head-5221: detached 8a518968fee8f493ddc28059cf04eadb810d863a (pr/5221), process exit 0, 277.92 s.

git -C ModelingToolkit.jl checkout --detach pr/5221
REVIEW_CASES='5221' \
JULIA_DEPOT_PATH="$PWD/depot:" JULIA_NUM_THREADS=4 OPENBLAS_NUM_THREADS=1 \
TMPDIR="$PWD/tmp" JULIA_NUM_PRECOMPILE_TASKS=1 JULIA_PKG_PRECOMPILE_AUTO=0 \
timeout 3600 julia --startup-file=no --compiled-modules=existing --depwarn=yes tmp/rerun/driver.jl

Resolution failed before the dependency-version report and test inclusion.

base-master-rootcontext-retry: detached 550a27cca63cbe6d7b64bcb2920440aaff9eaa55 (origin/master), process exit 1, 487.54 s.

git -C ModelingToolkit.jl checkout --detach origin/master
REVIEW_CASES='5182,5190,5190-bench,5202,5205-root,5205-contract,5205-ad,5213,5221,5202-bench,5221-bench' \
JULIA_DEPOT_PATH="$PWD/depot:" JULIA_NUM_THREADS=4 OPENBLAS_NUM_THREADS=1 \
TMPDIR="$PWD/tmp" JULIA_NUM_PRECOMPILE_TASKS=1 JULIA_PKG_PRECOMPILE_AUTO=0 \
timeout 3600 julia --startup-file=no --compiled-modules=existing --depwarn=yes tmp/rerun/driver.jl

Resolved versions: SymbolicUtils 4.54.0, Symbolics 7.47.0, SciMLBase 3.58.0, JumpProcesses 10.0.1, NonlinearSolve 4.32.0, ModelingToolkit 11.47.0, ModelingToolkitTearing 1.20.7, ModelingToolkitBase 1.79.0, OptimizationBase 5.10.0.

extra-head-5221: detached 8a518968fee8f493ddc28059cf04eadb810d863a (pr/5221), process exit 0, 247.41 s.

git -C ModelingToolkit.jl checkout --detach pr/5221
REVIEW_ENV_DIR=tmp/rerun/env-extra \
REVIEW_CASES='5221-bench,5221-oracle' \
JULIA_DEPOT_PATH="$PWD/depot:" JULIA_NUM_THREADS=4 OPENBLAS_NUM_THREADS=1 \
TMPDIR="$PWD/tmp" JULIA_NUM_PRECOMPILE_TASKS=1 JULIA_PKG_PRECOMPILE_AUTO=0 \
timeout 3600 julia --startup-file=no --compiled-modules=existing --depwarn=yes tmp/rerun/driver.jl

Resolved versions: SymbolicUtils 4.54.0, Symbolics 7.47.0, SciMLBase 3.58.0, JumpProcesses 9.33.1, NonlinearSolve 4.32.0, ModelingToolkit 11.45.4, ModelingToolkitTearing 1.20.7, ModelingToolkitBase 1.77.4, OptimizationBase 5.10.0.

rerun-base-5190-elements: detached 550a27cca63cbe6d7b64bcb2920440aaff9eaa55 (origin/master), process exit 0, 260.37 s.

git -C ModelingToolkit.jl checkout --detach origin/master
REVIEW_CASES='5190-element-helper-bench,5221-oracle,5221-ad-nonlinear' \
JULIA_DEPOT_PATH="$PWD/depot:" JULIA_NUM_THREADS=4 OPENBLAS_NUM_THREADS=1 \
TMPDIR="$PWD/tmp" JULIA_NUM_PRECOMPILE_TASKS=1 JULIA_PKG_PRECOMPILE_AUTO=0 \
timeout 3600 julia --startup-file=no --compiled-modules=existing --depwarn=yes tmp/rerun/driver.jl

Resolved versions: SymbolicUtils 4.54.0, Symbolics 7.47.0, SciMLBase 3.58.0, JumpProcesses 10.0.1, NonlinearSolve 4.32.0, ModelingToolkit 11.47.0, ModelingToolkitTearing 1.20.7, ModelingToolkitBase 1.79.0, OptimizationBase 5.10.0.

extra-head-5221-ad: detached 8a518968fee8f493ddc28059cf04eadb810d863a (pr/5221), process exit 0, 214.46 s.

git -C ModelingToolkit.jl checkout --detach pr/5221
REVIEW_ENV_DIR=tmp/rerun/env-extra \
REVIEW_CASES='5221-ad-nonlinear' \
JULIA_DEPOT_PATH="$PWD/depot:" JULIA_NUM_THREADS=4 OPENBLAS_NUM_THREADS=1 \
TMPDIR="$PWD/tmp" JULIA_NUM_PRECOMPILE_TASKS=1 JULIA_PKG_PRECOMPILE_AUTO=0 \
timeout 3600 julia --startup-file=no --compiled-modules=existing --depwarn=yes tmp/rerun/driver.jl

Resolved versions: SymbolicUtils 4.54.0, Symbolics 7.47.0, SciMLBase 3.58.0, JumpProcesses 9.33.1, NonlinearSolve 4.32.0, ModelingToolkit 11.45.4, ModelingToolkitTearing 1.20.7, ModelingToolkitBase 1.77.4, OptimizationBase 5.10.0.

Included unchanged test/model_independent_initialization.jl: head 28+2 passes; base first testset 25 passes / 1 failure / 2 errors. Independent numerical checks use the physical x[i] selectors when comparing against exp(A)*x0, avoiding assumptions about MTK internal state order. The corrected oracle has 10 solution/residual assertions plus two analytic ODE ForwardDiff assertions, all passing on both refs. A separate nonlinear initialization x(0)^2=a, x′=-x has endpoint sqrt(a)*exp(-1), and its derivative at a=4 matches exp(-1)/4 on each ref (2/2 passes).

The first base oracle compared raw reversed solver storage with physical variable order and failed two checks; those reviewer-harness indexing errors were corrected by symbolic selection and the full oracle rerun. No numerical tolerance or PR assertion was changed.

New-model solve compilation measurements at n=11/13 after n=9 warmup:

base ODE compile=0.522604310 / 0.519227750 s
head ODE compile=0.517443997 / 0.527283775 s
base DAE compile=1.331631091 / 1.343463894 s
head DAE compile=1.065839104 / 1.058674197 s
NONLINEAR_INIT_FORWARD_DIFF=0.09196986029320084 analytic=0.09196986029286058

These measure complete solve calls and include model-generated code outside initialization. Dedicated corrected base/head numerical/AD runs exit 0; the original base type-regression batch exits 1 for the requested regressions.

Exact reviewer script 5221-oracle.jl:

include("5221-models.jl")
using LinearAlgebra, ForwardDiff
@testset "Initialization agrees with independent linear solution and DAE residual" begin
    for n in [6,9]
        p=chain_ode(n)
        sol=solve(p,Tsit5();abstol=1e-10,reltol=1e-10)
        A=Matrix(Bidiagonal(-(.5 .+ collect(1:n)),ones(n-1),:L))
        expected=exp(A)*[1/i for i in 1:n]
        @test SciMLBase.successful_retcode(sol)
        actual=[sol[p.f.sys.x[i]][end] for i in 1:n]
        @test actual ≈ expected atol=1e-8 rtol=1e-8
        p=chain_dae(n)
        sol=solve(p,FBDF();abstol=1e-10,reltol=1e-10)
        sys=p.f.sys
        xv=[sol[sys.x[i]][1] for i in 1:n]
        yv=[sol[sys.y[i]][1] for i in 1:n]
        @test SciMLBase.successful_retcode(sol)
        @test xv ≈ [1/i for i in 1:n]
        @test maximum(abs,yv.^3 .+ yv .- xv .- [0.;yv[1:end-1]]) < 1e-8
    end
end
@testset "ForwardDiff survives initialization wrappers" begin
    @variables x(t)
    @parameters a
    sys=mtkcompile(System([D(x) ~ -a*x],t;name=:init_ad))
    function endpoint(v)
        p=ODEProblem(sys,[x=>one(v),a=>v],(0.,1.))
        return solve(p,Tsit5();abstol=1e-10,reltol=1e-10).u[end][1]
    end
    @test endpoint(2.) ≈ exp(-2) atol=1e-8
    result=ForwardDiff.derivative(endpoint,2.)
    println("WRAPPER_FORWARD_DIFF=",result," analytic=",-exp(-2))
    @test result ≈ -exp(-2) atol=1e-8
end

Exact reviewer script 5221-ad-nonlinear.jl:

using ModelingToolkit, SciMLBase, OrdinaryDiffEq, ForwardDiff, Test
using ModelingToolkit: t_nounits as t, D_nounits as D
@variables x(t)
@parameters a
sys=mtkcompile(System([D(x) ~ -x],t,[x],[a];name=:nonlinear_init_ad,initialization_eqs=[x^2 ~ a]))
function initialized_endpoint(v)
    p=ODEProblem(sys,[a=>v],(0.,1.);guesses=[x=>0.7one(v)])
    sol=solve(p,Tsit5();abstol=1e-10,reltol=1e-10)
    return sol.u[end][1]
end
@testset "ForwardDiff through nonlinear model-independent initialization" begin
    @test initialized_endpoint(4.) ≈ 2exp(-1) atol=1e-8
    actual=ForwardDiff.derivative(initialized_endpoint,4.)
    expected=exp(-1)/4
    println("NONLINEAR_INIT_FORWARD_DIFF=",actual," analytic=",expected)
    @test actual ≈ expected atol=1e-8
end

The unchanged model helpers used by the independent oracle (copied from the prefix of test/model_independent_initialization.jl) are:

using Test, ModelingToolkit, SciMLBase, OrdinaryDiffEq
using ModelingToolkit: t_nounits as t, D_nounits as D
using ModelingToolkit: ModelingToolkitBase

function chain_ode(n, spec = SciMLBase.AutoDespecialize)
    @variables x(t)[1:n]
    @parameters a[1:n]
    eqs = [D(x[i]) ~ -a[i] * x[i] + (i == 1 ? 0 : x[i - 1]) for i in 1:n]
    sys = mtkcompile(System(eqs, t; name = :chain_ode))
    return ODEProblem{true, spec}(
        sys, [
            [sys.x[i] => 1.0 / i for i in 1:n];
            [sys.a[i] => 0.5 + i for i in 1:n]
        ], (0.0, 1.0)
    )
end

function chain_dae(n, spec = SciMLBase.AutoDespecialize)
    @variables x(t)[1:n] y(t)[1:n]
    @parameters a[1:n]
    eqs = Equation[]
    for i in 1:n
        push!(eqs, D(x[i]) ~ -a[i] * x[i] + y[i])
        push!(eqs, 0 ~ y[i]^3 + y[i] - x[i] - (i == 1 ? 0 : y[i - 1]))
    end
    sys = mtkcompile(System(eqs, t; name = :chain_dae))
    return ODEProblem{true, spec}(
        sys, [
            [sys.x[i] => 1.0 / i for i in 1:n];
            [sys.a[i] => 0.5 + i for i in 1:n]
        ], (0.0, 1.0);
        guesses = [sys.y[i] => 0.5 for i in 1:n]
    )
end

What I did not verify

No whole suite, GPU, Reactant, MPI, local Enzyme/Mooncake run or exhaustive template/parameter-type matrix was performed. Cited same-head Core8 CI supplies additional AD integration evidence. A full final-head MethodInstance census and isolated small-template compilation study were not run; end-to-end timings do not prove all compilation originates in initialization maps. MH1 retains the required caution for broad core representation changes. A clean native-precompile cycle was not verified: the initial batch dependency workload errored during NonlinearSolveFirstOrder AD-backend selection. The recorded test commands use existing caches and JIT-load uncached PR source; no assertion was disabled.

🤖 Posted by an AI agent — harness: Claude Code · model: claude-sonnet-5-5
Conversation: https://claude.ai/code/session_01379heiiB35TtywhR7uSU74

ChrisRackauckas-Claude pushed a commit to ChrisRackauckas-Claude/ModelingToolkit.jl that referenced this pull request Sep 30, 2026
Address independent review of SciML#5221: leave the Homotopy SCC container
policy to SciML#5202, return InitializeprobParameterMap only under
AutoDespecialize, retarget type-equality to DAE sizes (6, 9), and cover
non-tunable array-parameter indices in CopyParamsByTemplate.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Cursor Agent <[email protected]>
Agent-Harness: Cursor Agent CLI
Agent-Model: auto
Agent-Session: local session, transcript at /home/crackauc/sandbox/agent-jobs/mtk-ttfx/jobs/initdata/log.txt on amdci2.julia.csail.mit.edu
@ChrisRackauckas

Copy link
Copy Markdown
Member

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

Merged the default branch into this PR (clean merge, no conflicts; head 563c24f) so CI runs on current master.


🤖 Posted by an AI agent — harness: Devin CLI 3000.11.3 (merge), Claude Code 2.1.285 (posting) · model: fusion-claude-opus-5-5-high-sidekick-swe-2-medium
Conversation: local Claude session 3c311569-dda6-4687-bc9f-65febb212c33 (fleet master)

ChrisRackauckas and others added 2 commits October 31, 2026 07:30
Keep CopyParamsByTemplate index containers as Vectors, erase ObservedWrapper
to Any, and replace the split initprobpmap closure with a named callable so
chain DAE OverrideInitData types match across model sizes. Also vectorize SCC
blocks under AutoDespecialize (HomotopyProblem exception), overlapping SciML#5202.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Cursor Agent <[email protected]>
Agent-Harness: Cursor Agent CLI
Agent-Model: auto
Agent-Session: local session, transcript at /home/crackauc/sandbox/agent-jobs/mtk-ttfx/jobs/initdata/log.txt on amdci2.julia.csail.mit.edu
Address independent review of SciML#5221: leave the Homotopy SCC container
policy to SciML#5202, return InitializeprobParameterMap only under
AutoDespecialize, retarget type-equality to DAE sizes (6, 9), and cover
non-tunable array-parameter indices in CopyParamsByTemplate.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Cursor Agent <[email protected]>
Agent-Harness: Cursor Agent CLI
Agent-Model: auto
Agent-Session: local session, transcript at /home/crackauc/sandbox/agent-jobs/mtk-ttfx/jobs/initdata/log.txt on amdci2.julia.csail.mit.edu
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.

2 participants