Repository navigation
Fix stochastic JumpProblem initialization dispatch - #4419
Closed
ChrisRackauckas-Claude wants to merge 0 commit into
Closed
ChrisRackauckas-Claude wants to merge 0 commit into
ChrisRackauckas-Claude wants to merge 0 commit into
Conversation
ChrisRackauckas-Claude
force-pushed
the
fix/jumpprocess-stochastic-dispatch
branch
from
September 6, 2026 06:54
e04464d to
c241543
Compare
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 this PR until it has been reviewed by @ChrisRackauckas.
What changed and why
JumpProcesses 9.30.1 made its
JumpProblem__initoverload more specific. That overload then won dispatch for StochasticDiffEq jump algorithms: tau-leaping fell through to the OrdinaryDiffEq cache path, while stochasticsolvemerged problem callbacks once and the JumpProcesses overload merged them a second time.This change gives stochastic jump algorithms a
JumpProblem-specific__initmethod and routes their__solvemethod directly through_sde_initafter the one intended keyword merge. It also extends the tau-leaping test to exerciseinit,step!, and the solve return code. The existing callback-forwarding test covers the duplicate-merge regression.Regression evidence
Both failures reproduced on a separate clean worktree at OrdinaryDiffEq commit
57dc0b95e30386a9a1b32f83df8f61309721ca67, Julia 1.12.7, and JumpProcesses 9.30.1.Before this fix:
After this fix on rebased commit
ed84b3f63e5f7a42b509ae979ce3def8b5f3a875:Introducing commit
The release boundary is exact: JumpProcesses v9.30.0 is commit
5083791111f57826d95a087dfdb570739d2f8a4a, and that same commit is the parent of the first bad commit. With v9.30.0, the callback-forwarding test passed 30/30 and the tau-leaping test passed 15/15. The next commit,111b04e62a4391efa6e4d393cde7c6ea33c5be89, split the extension's broadAbstractJumpProbleminitializer into concreteJumpProblemmethods; v9.30.1 then reproduced both failures.Verification
I did not run
GROUP=Everything, GPU, downstream, Julia pre, or alternate Julia-version jobs locally.Links
🤖 Generated with Claude Code
https://chatgpt.com/codex/tasks/01a03caf-aae8-74c3-9a79-53b836434858