Skip to content

Make StochasticDiffEqMilstein ExplicitImports QA checks pass for real - #4847

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:qa/sdemilstein-explicit-imports
Oct 11, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:qa/sdemilstein-explicit-imports

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

Summary

StochasticDiffEqMilstein's QA suite was green only because four ExplicitImports checks were marked ei_broken. This follows StochasticDiffEqIIF (empty ei_broken): import @.. from FastBroadcast (new direct MIT dep, compat 1.3), is_diagonal_noise from SciMLBase, drop unused initialize!, and make the remaining bare using names explicit. Round 2 replaces the non-public StochasticDiffEqLevyArea.norv call with the exported public coefficient_length and drops the ei_kwargs ignore entirely. Import / QA wiring only — no solver behaviour change.

Verification

GROUP is the env var in lib/StochasticDiffEqMilstein/test/runtests.jl (TEST_GROUP = get(ENV, "GROUP", "ALL")).

QA before (cd lib/StochasticDiffEqMilstein && GROUP=QA julia --project -e 'using Pkg; Pkg.test()'):

Test Summary:     | Pass  Broken  Total     Time
QA (Aqua and JET) |   17       4     21  1m29.4s
     Testing StochasticDiffEqMilstein tests passed

QA after (round 1) (same command; previously broken ExplicitImports checks pass):

Test Summary:     | Pass  Total     Time
QA (Aqua and JET) |   21     21  1m30.2s
     Testing StochasticDiffEqMilstein tests passed

Core after (round 1) (GROUP=Core julia --project -e 'using Pkg; Pkg.test()'):

Test Summary:                 | Pass  Total  Time
Module loads and constructors |    7      7  2.9s
RKMilGeneral diagonal vector noise (issue #3863) |    9      9  27.6s
RKMilGeneral Ito diagonal update (scalar iip + SA oop) |    6      6  20.8s
     Testing StochasticDiffEqMilstein tests passed

Round 2 (review feedback: call public coefficient_length instead of allow-listing norv; delete ei_kwargs):

Not verified

  • Full monorepo / umbrella StochasticDiffEq integration tests
  • Downgrade CI / SublibraryCI on GitHub
  • Solver numerical correctness beyond the Core suite above

Please ignore this draft until reviewed by @ChrisRackauckas.

Risk assessment

  • Risk: Low — import hygiene only; adds FastBroadcast as a direct dependency the way IIF/Tsit5 already do. Round 2 is a pure public-API rename (norv → coefficient_length, definitionally equal).
  • Blast radius: lib/StochasticDiffEqMilstein only (module imports + one call site + QA wiring + Project.toml).
  • Evidence: Local GROUP=QA 17+4broken → 21/21; GROUP=Core 7+9+6; round-2 reconfirm 21/21 and 7+9+6.
  • Independent review: round 1 (Claude Opus 5.5) returned CHANGES for the norv allow-list; addressed in round 2. Awaiting re-review.
  • Merge: needs review (note: round-1 commit was already merged; round-2 commit is on qa/sdemilstein-explicit-imports and needs to land on master)

Harness: Cursor Agent CLI 2026.10.01-14929f9; model: auto; transcript: /home/crackauc/sandbox/goals/qa-hygiene/jobs/milstein-imports/log.txt

Import @.. from FastBroadcast, is_diagonal_noise from SciMLBase, and make
remaining bare usings explicit so ei_broken can be dropped (norv ignored as
non-public on StochasticDiffEqLevyArea).

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Cursor Agent <[email protected]>
Agent-Harness: Cursor Agent CLI 2026.10.01-14929f9
Agent-Model: auto
Agent-Session: local session, transcript at /home/crackauc/sandbox/goals/qa-hygiene/jobs/milstein-imports/log.txt on amdci2
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review October 11, 2026 16:03
@ChrisRackauckas
ChrisRackauckas merged commit ab07f5d into SciML:master Oct 11, 2026
141 of 142 checks passed
ChrisRackauckas referenced this pull request Oct 14, 2026
…inaryDiffEqBDF, OrdinaryDiffEqExplicitRK, OrdinaryDiffEqFIRK, OrdinaryDiffEqFeagin, OrdinaryDiffEqHighOrderRK, OrdinaryDiffEqPDIRK, OrdinaryDiffEqRKN, OrdinaryDiffEqSDIRK, StochasticDiffEqHighOrder, StochasticDiffEqLowOrder, and StochasticDiffEqMilstein for release (#4871)

Agent-Harness: Devin CLI 3000.11.3
Agent-Model: Fusion (Claude Opus 5.5 Medium + SWE-2 Medium)
Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/flash-hour.json

Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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