Skip to content

Fix Runic formatting failures in 3 files (callbacks.jl, make.jl, multi_vcc_mask_tests.jl) - #3765

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-runic-format-3-files
Jun 23, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-runic-format-3-files

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

What this fixes

The Runic Format Check on master (HEAD 0bda310) fails because three files are not Runic-formatted:

  • lib/DiffEqBase/src/callbacks.jl — quote-block indentation inside the snapshot_winner / setup / finalize ternaries, and multi-argument copyto! splitting
  • lib/StochasticDiffEq/docs/make.jl — multi-argument cp(...) and the makedocs modules = [...] array
  • test/Integrators_I/multi_vcc_mask_tests.jl — atol=1e-10 → atol = 1.0e-10

Ran Runic v1 (--inplace). The diff is pure formatting, no semantic change (1e-10 == 1.0e-10).

Local verification (Julia 1.10, Runic 1.7.0)

  • Runic.main(["--check", f]) passes on each of the three files after the change.
  • Runic.main(["--check", "."]) on the whole repo returns exit 0 — i.e. the Runic Format Check job will go green.

Scope note — other master reds NOT addressed here

This PR only makes the Runic check green. The remaining master failures are out of scope for an in-repo OrdinaryDiffEq formatting change and are tracked separately:

  • tests / InterfaceIV (all Julia versions) — FieldError: type StaticArrays.LU has no field 'factors'. Originates in LinearSolve init_cacheval for GenericLUFactorization (luinst.factors on a StaticArrays.LU, via ArrayInterface.lu_instance). StaticArrays 1.9.18's LU has fields L/U/p, never factors. This is an upstream LinearSolve/ArrayInterface vs StaticArrays issue, not OrdinaryDiffEq code.
  • tests / AD (lts) — Mooncake gradients are numerically wrong ([-1.0, 0.0] vs finite-diff [-0.59, 4.43]) and an Enzyme @test_broken unexpectedly passes. Upstream AD-package behavior.
  • tests / Regression_II (lts) — UndefVarError: TSRKC2 not defined in iipvsoop_tests.jl on Julia 1.10 only (passes on 1.12 / pre). Under investigation.
  • tests / Integrators_I (lts) — multi_vcc_mask_tests.jl callback-firing counts (4 vs expected 2). Needs solver-behavior judgment.
  • downgrade-sublibraries — heterogeneous downgrade-resolution conflicts (TruncatedStacktraces 1.0.0 lacking @truncate_stacktrace; SciMLLogging / OrdinaryDiffEqDifferentiation version floors). Cross-repo version coordination.
  • Downstream (ModelingToolkit, DiffEqCallbacks, PositiveIntegrators, ProbNumDiffEq, SciMLSensitivity) and TagBot-Subpackages — downstream / release-automation noise.

Note: PR #3758 fixes two of these three files (callbacks.jl, multi_vcc_mask_tests.jl) but not lib/StochasticDiffEq/docs/make.jl; this PR fixes all three so the Runic check goes fully green on its own.

Please ignore until reviewed by @ChrisRackauckas

The Runic Format Check on master flags three files as not formatted:
  - lib/DiffEqBase/src/callbacks.jl (quote-block indentation inside the
    snapshot_winner / setup / finalize ternaries; multi-arg copyto! splitting)
  - lib/StochasticDiffEq/docs/make.jl (multi-arg cp / makedocs modules array)
  - test/Integrators_I/multi_vcc_mask_tests.jl (atol=1e-10 -> atol = 1.0e-10)

Applied Runic v1 (--inplace). Pure formatting; no semantic change
(1e-10 == 1.0e-10). Verified the full-repo Runic --check passes (exit 0)
on Julia 1.10 after the change.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review June 23, 2026 01:29
@ChrisRackauckas
ChrisRackauckas merged commit 3aac73b into SciML:master Jun 23, 2026
246 of 276 checks passed
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