You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9593b1d
Browse filesBrowse the repository at this point in the historyBrowse files
Merge pull request #1102 from thc1006/bug/custom-sampler-seed-groups
BUG: give each CustomSampler its own stream instead of the model's seed
Every CustomSampler on a model was reset with the model's own seed, so two
samplers backed by default_rng started from the same state and drew the same
underlying deviate. Each input now gets a stream keyed by its name, and
samplers that share one generator declare a seed_group so the group is seeded
once between them.
Merged manually rather than through the button: the CHANGELOG conflicted with
#1103, and the resolution keeps both entries.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ Attention: The newest changes should be on top -->
43
43
44
44
### Fixed
45
45
46
+
- BUG: Give each `CustomSampler` input its own deterministic stream, and seed samplers sharing one generator once as a group. Existing fixed-seed `CustomSampler` baselines change, and samplers built on the legacy `RandomState` must move to `default_rng` because seeds now carry the full 128 bits. [#1102](https://github.com/RocketPy-Team/RocketPy/pull/1102)
46
47
- BUG: Accept the callable parachute triggers `StochasticParachute` documents, and reject the ones it cannot mean. An invalid string, an empty list or a boolean now fails during validation instead of reaching `Parachute` or becoming a one-metre height trigger. [#1103](https://github.com/RocketPy-Team/RocketPy/pull/1103)
47
48
- BUG: rocket with a late-starting thrust curve never leaves the rail [#1085](https://github.com/RocketPy-Team/RocketPy/pull/1085)
0 commit comments