Repository navigation
Remove dead commented HighOrderRK tight-loop blocks - #4734
Merged
ChrisRackauckas merged 1 commit intoOct 4, 2026
Merged
ChrisRackauckas merged 1 commit into
ChrisRackauckas merged 1 commit into
Conversation
Delete the obsolete block-commented tight-loop implementations from the step and addsteps sources. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Codex <[email protected]> Agent-Harness: Codex CLI codex-cli 0.160.0 Agent-Model: gpt-6-luna Agent-Session: local session, transcript /home/crackauc/sandbox/goals/performance/jobs/pr-hork-deadcode/log.txt on amdci2
ChrisRackauckas
marked this pull request as ready for review
October 4, 2026 14:22
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>
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 changed
Deleted five obsolete
#= … =#blocks containing commented-out@tight_loop_macrosimplementations from the HighOrderRK step and addsteps sources. The change removes 352 comment lines and leaves executable code unchanged. No new test is needed for a pure dead-code deletion.Before/after evidence
The SHA-256 hashes of serialized
sol.umatch before and after the deletion for Lorenz solves on Julia 1.12.4 (tspan=(0,10),abstol=reltol=1e-8):sol.uSHA-256sol.uSHA-256ef4d214ca11afb8cabeec2bf374d83652127d7d0a5f9f9db319d8e92803b372599bd995527408124c066af4ca0f88d8344c1d5de0c945eaba183359d9f55e5733c191921893d3ec4a9a1a02078409bdb60c4ba69ca4e714799f7b0424cc5ff68d2448d2383b00b5e6061cb7fe83eb72fec90cb5829b66f02d724d80cfcc5a228238deeab725129d05d43e28d28a048eec27ec01643bb67a5adc5e4a60928bb0e8378ffa713d49c0ecbfbea82f777bc5e990f149781c323c1c40b64ed6277dff677acc668ad8f8ff97ae874637529c2331ba5ceec78d6cde9264c01f21592c4e801d4cf247e56bf3225f6bd4ce277c2f876b40bdd4f24eeaa19896538ffda3bdaVerification
julia --project=lib/OrdinaryDiffEqHighOrderRK /home/crackauc/sandbox/goals/performance/jobs/pr-hork-deadcode/scratch/hash_solutions.jl— package loaded and all eight solves completed before and after; hashes above match.GROUP=Core julia --project=lib/OrdinaryDiffEqHighOrderRK -e 'using Pkg; Pkg.test()'—High Order ERK Convergence Tests | 8 8 1m42.9s; package tests passed.GROUP=QA JULIA_REVISE_POLL=1 julia --project=lib/OrdinaryDiffEqHighOrderRK -e 'using Pkg; Pkg.test()'—Allocation Tests | 4 4 1m59.4s;JET Tests | 1 1 1m00.4s;Aqua | 21 21 1m47.2s; package tests passed. The initial QA attempt hit the host's exhausted inotify instance limit (EMFILE); setting Revise polling avoided that host limit without changing the tests.typoson both changed files exited 0;git diff --checkpassed.CI comparison
All checks completed: 127 succeeded, 3 were skipped, and 4 failed. Each failure also reproduces on the exact base commit
217e0adef65f2b117b165c537c002b6227f137d6in clean default-branch runs, with the same error or failing test:high_level_solve.jl:94failed and the three callback assertions errored, on both PR CI and base CI.diag(::SciMLOperators.ScalarOperator{Float64, ...})has no matching method, on both PR CI and base CI.MethodError: no constructors have been defined for Any, on both PR CI and base CI.mass=diag_cufail, on both PR CI and base CI. This is an allowed-to-fail GPU check.Not verified
The full suite and Julia 1.10 test groups were not run locally. Downstream and GPU paths were exercised by CI; their failures match the exact base commit above.
Reviewer pushback
Please flag any deleted region that is not wholly inside a block comment; the intended scope is the five complete commented-out blocks only.
Please ignore until reviewed by @ChrisRackauckas.
Risk assessment
sol.uhashes match; Core passed 8/8; QA passed AllocCheck 4/4, JET 1/1, and Aqua 21/21. The 4 CI failures also occur on the exact base commit.🤖 Generated with Codex CLI codex-cli 0.160.0 (model: gpt-6-luna), transcript /home/crackauc/sandbox/goals/performance/jobs/pr-hork-deadcode/log.txt on amdci2; orchestrated by Claude Code (claude-opus-5-5[1m]) https://claude.ai/code/session_01LPHREnnonfLg1VcE1EJovv
Risk assessment
lib/OrdinaryDiffEqHighOrderRK,src/high_order_rk_addsteps.jlandsrc/high_order_rk_perform_step.jl. The diff has 0 additions and 352 deletions. Every deleted line sits inside one of five balanced, non-nested#= … =#blocks: the DP8Cache_ode_addsteps!, plus the TanYam7Cache, TsitPap8ConstantCache, TsitPap8Cache and DP8Cacheperform_step!blocks. The only other deleted line is one trailing blank line. No executable code, public API or exports change, so the SemVer impact is none. It uses no non-public dependency internals and weakens no tests.3f64f631, 127 checks passed, 1 was skipped and 4 failed. I checked each failure against the default branch on two commits: the PR's base217e0ade(runs 37015598952, 37015599011, 37015599337, all master push events) and current master4a5c0e71. All four fail on both, so all four are pre-existing and none is a regression:downgrade-sublibraries / test (lib/DiffEqBase):high_level_solve.jl:94Test Failed.downgrade-sublibraries / test (lib/OrdinaryDiffEqDifferentiation):no method matching diag(::SciMLOperators.ScalarOperator…).SciMLSensitivity.jl/Core1/1 / Downstream Tests - Core1: MooncakeMethodError: no constructors have been defined for Any, plus a "Complex Adjoints" error. The base log has the same two errors.tests / GPU (julia 1, …) / Tests - GPU (Julia 1): QNDFmass=diag_cufailures atdae_tests.jl:481, the same three cases as on base.gh pr checksshows 1. Its Core1 entry mentions only the Mooncake error, not the "Complex Adjoints" error, which is also present on base. The PR has no review comments yet and is still a draft.🤖 Risk assessment posted by an AI agent (fleet master) — harness: Devin CLI (Mac) / fusion-claude-opus-5-5-high-sidekick-swe-2-medium; dispatched by Devin CLI 3000.11.3 (Mac) fleet-master caretaker, model Fusion (claude-opus-5-5 medium + swe-2 medium)
Conversation: local transcript ~/.local/share/devin/cli/transcripts/speckle-whale.json (Chris's Mac)