Repository navigation
Remove unused FIRK_WITH_INTERPOLATIONS alias - #4672
Merged
ChrisRackauckas merged 1 commit intoSep 28, 2026
Merged
Conversation
Dead non-const Union alias in firk_interpolants.jl had zero references and was not exported or public API. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Cursor Agent <[email protected]> Agent-Harness: Cursor Agent 2026.09.26-dd393fe Agent-Model: unknown (Cursor auto) Agent-Session: local cursor-agent session (log /home/crackauc/sandbox/goals/performance/jobs/pr-firk-const/log-cu.txt)
ChrisRackauckas
marked this pull request as ready for review
September 28, 2026 11:55
ChrisRackauckas
referenced
this pull request
Sep 29, 2026
* Bump DiffEqBase to 7.21.3 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json * Bump OrdinaryDiffEqBDF to 2.4.12 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json * Bump OrdinaryDiffEqSDIRK to 2.9.7 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json * Bump OrdinaryDiffEqRosenbrock to 2.7.5 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json * Bump OrdinaryDiffEqLowOrderRK to 2.2.6 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json * Bump OrdinaryDiffEqTsit5 to 2.1.5 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json * Bump OrdinaryDiffEqVerner to 2.4.2 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json * Bump OrdinaryDiffEqSymplecticRK to 2.2.3 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.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.
Please ignore until reviewed by @ChrisRackauckas.
Edit started by Codex gpt-6-luna, completed by Cursor Agent (auto).
What changed and why
Deletes the unused non-const global
FIRK_WITH_INTERPOLATIONS = Union{…}atlib/OrdinaryDiffEqFIRK/src/firk_interpolants.jl:1. The binding was never referenced (localrgover the monorepo after deletion: zero matches;gh search code FIRK_WITH_INTERPOLATIONS --owner SciMLfinds only this definition on master), was not exported, and is not public API. Documentation-string globals in the same file are left alone. This is not an API change: it removes an unused, non-exported, non-public internal binding.Diagnosis (profile)
Not a runtime hot-path change. The alias was dead code: no method signatures or other modules used it (unlike the LowOrderRK/Tsit5/Verner
constalias PRs). Removing it avoids leaving a rebindable non-const Union global with no consumers.Verification
isdefined(real output):Pre-check:
rg FIRK_WITH_INTERPOLATIONSover the monorepo after the deletion → zero matches.gh search code FIRK_WITH_INTERPOLATIONS --owner SciML→ only the definition line on SciML/OrdinaryDiffEq.jl master.Runic:
julia -e 'using Runic; exit(Runic.main(["--check", "lib/OrdinaryDiffEqFIRK/src/firk_interpolants.jl"]))'→ exit 0.typos lib/OrdinaryDiffEqFIRK/src/firk_interpolants.jl→ exit 0.Core group (
cd lib/OrdinaryDiffEqFIRK && GROUP=Core julia --project=. -e 'using Pkg; Pkg.test()',JULIA_NUM_THREADS=1 taskset -c 6):QA group (
GROUP=QA, same env,taskset -c 10; includes Aqua / ExplicitImports viarun_qa):(The 5 broken allocation tests are pre-existing
@test_brokenentries, unchanged.)Failing-before / passing-after
Not a bugfix. Behavioural check is the binding presence:
isdefined(..., :FIRK_WITH_INTERPOLATIONS) === trueisdefined(..., :FIRK_WITH_INTERPOLATIONS) === falseCore and QA both pass after the deletion.
Before/after numbers (same machine)
N/A for wall-clock performance: dead binding with zero uses; no solver path touched. Machine was heavily loaded (precompile alone ~45 min for Core); timings above are not a before/after comparison.
Behaviour-equivalence check
No live references to the alias exist in SciML (repo
rg+ org code search). Interpolant methods keep their explicitUnion{RadauIIA3…}signatures. Removing the unused global cannot change dispatch or numerics.What was not verified
Risk assessment
OrdinaryDiffEqFIRK/src/firk_interpolants.jl. No public API/SemVer change.isdefinedflips true→false; Runic and typos pass; Core and QA (Aqua 21/21 including ExplicitImports) pass; org-wide code search shows no external uses.isdefinedgoes true→false; FIRK Core/QA pass.🤖 Generated with Cursor Agent (auto); edit started by Codex gpt-6-luna (quota), completed by Cursor Agent (auto). Orchestrated by Claude Code (claude-opus-5-5[1m]) session https://claude.ai/code/session_01LPHREnnonfLg1VcE1EJovv
Co-Authored-By: Chris Rackauckas [email protected]
Co-Authored-By: Cursor Agent [email protected]
Agent-Harness: Cursor Agent 2026.09.26-dd393fe
Agent-Model: unknown (Cursor auto)
Agent-Session: local cursor-agent session (log /home/crackauc/sandbox/goals/performance/jobs/pr-firk-const/log-cu.txt)
Made with Cursor
Risk assessment
OrdinaryDiffEqFIRK.FIRK_WITH_INTERPOLATIONS. That was a non-const, non-exported, non-publicUnionalias inlib/OrdinaryDiffEqFIRK/src/firk_interpolants.jl, and the whole diff is those 5 deleted lines.gh search code FIRK_WITH_INTERPOLATIONS --owner SciMLreturns nothing today. No method signature used the alias: every interpolant spells out its ownUnion{RadauIIA…}. So dispatch, numerics and the public API don't change, and no version bump is needed. The PR is already merged (merge commit51ca63a, merged by ChrisRackauckas at 2026-09-28T11:55:34Z).5312ccd: 127 checks passed, 4 failed, 1 cancelled (doc-preview-cleanup), 3 skipped (matrix templates). All the FIRK checks passed: sublibrary-ci Core on Julia 1, LTS and pre; FIRK QA;downgrade-sublibraries / test (lib/OrdinaryDiffEqFIRK); and the top-leveltests / QA. Each of the 4 failures also fails on master, so none is a regression:tests / GPU (julia 1, self-hosted Linux X64 gpu): the same assertion fails on master0fac2d06. It isQNDF [jac=CSC, mass=diag_cu]attest/gpu/dae_tests.jl:481, with the identical count "172 passed, 1 failed, 12 broken". Master also failed this check at3178b19,85110acand1cbe52c. It's a BDF test, not FIRK.downgrade-sublibraries / test (lib/DiffEqBase): fails on master0fac2d06and on the pre-merge basea50e0d7.downgrade-sublibraries / test (lib/OrdinaryDiffEqDifferentiation): fails on master0fac2d06anda50e0d7.SciMLSensitivity.jl/Core1/1 / Downstream Tests - Core1: fails on master0fac2d06anda50e0d7.🤖 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 Claude Code head, model claude-opus-5-5[1m]
Conversation: local Claude Code session 3cd6500a-1f81-46b5-ac0b-c466e15b6a53 on Chris's Mac (session ID, no URL)