SciML / SciML/JumpProcesses.jl

Ensure non-default rngs are properly seeded with threading and repeated solve calls

Open
#476 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Julia
Stars
150
Forks
41
Avg merge
1d 9h
Merged PRs (30d)
28

Description

See the test added in https://github.com/SciML/JumpProcesses.jl/pull/475, which fails for StableRngs for example.

One way this could be handled is to ensure we reseed in

https://github.com/SciML/JumpProcesses.jl/blob/4d52a245e0a6da1e3a234516ba462bcc77693ff4/src/solve.jl#L48-L77

even if there are no discrete callbacks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the test added in SciML/JumpProcesses.jl pull request 475, which currently fails for StableRngs, then inspect src/solve.jl around lines 48-77. Check how seeding behaves with threading and repeated solve calls, including when there are no discrete callbacks. Done means the referenced test passes for non-default RNGs.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.