Skip to content

Fix Clojure RNG compatibility for CI - #1

Merged
Salkimmich merged 1 commit into
masterfrom
fix/clojure-rng-ci
Apr 23, 2026
Merged

Salkimmich merged 1 commit into
masterfrom
fix/clojure-rng-ci

Conversation

@Salkimmich

@Salkimmich Salkimmich commented Apr 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • replace incompatible fastmath.random RNG calls in Clojure sampler and hierarchical code paths with deterministic java.util.Random Gaussian draws
  • preserve seeded proposal behavior while removing dependency on fastmath RNG function signatures that caused runtime CI failures
  • keep acceptance-step randomness explicit and numerically safe via bounded log(u) computation

Test plan

  • cd python && python -m pytest -q (15 passed)
  • rely on GitHub Actions Clojure job for authoritative verification in this PR

Replace fastmath RNG calls that are incompatible with the current runtime by using deterministic java.util.Random Gaussian draws in sampler and hierarchical code paths, preserving seeded behavior while removing fastmath signature dependency.

Made-with: Cursor
@Salkimmich
Salkimmich merged commit 9adc64d into master Apr 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant