Repository navigation
Fix Runic formatting failures in 3 files (callbacks.jl, make.jl, multi_vcc_mask_tests.jl) - #3765
Merged
ChrisRackauckas merged 1 commit intoJun 23, 2026
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this fixes
The Runic Format Check on
master(HEAD0bda310) fails because three files are not Runic-formatted:lib/DiffEqBase/src/callbacks.jl—quote-block indentation inside thesnapshot_winner/setup/finalizeternaries, and multi-argumentcopyto!splittinglib/StochasticDiffEq/docs/make.jl— multi-argumentcp(...)and themakedocsmodules = [...]arraytest/Integrators_I/multi_vcc_mask_tests.jl—atol=1e-10→atol = 1.0e-10Ran 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 exit0— i.e. the Runic Format Check job will go green.Scope note — other
masterreds NOT addressed hereThis PR only makes the Runic check green. The remaining
masterfailures 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 inLinearSolveinit_cachevalforGenericLUFactorization(luinst.factorson aStaticArrays.LU, viaArrayInterface.lu_instance). StaticArrays 1.9.18'sLUhas fieldsL/U/p, neverfactors. 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_brokenunexpectedly passes. Upstream AD-package behavior.tests / Regression_II(lts) —UndefVarError: TSRKC2 not definediniipvsoop_tests.jlon Julia 1.10 only (passes on 1.12 / pre). Under investigation.tests / Integrators_I(lts) —multi_vcc_mask_tests.jlcallback-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.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