Skip to content

Version Packages - #9330

Closed
hash-release[bot] wants to merge 0 commit into
mainfrom
changeset-release/main
Closed

Version Packages#9330
hash-release[bot] wants to merge 0 commit into
mainfrom
changeset-release/main

Conversation

@hash-release

@hash-release hash-release Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@hashintel/petrinaut@0.0.19

Patch Changes

  • Updated dependencies:
    • @hashintel/petrinaut-core@0.0.4

@hashintel/petrinaut-core@0.0.4

Patch Changes

  • Fix stochastic transition firing statistics: fire with the memoryless per-frame probability 1 - e^(-rate * dt), advance the RNG state on every evaluation instead of discarding non-firing draws, and compute the seeded LCG with exact integer arithmetic. Firing counts now match Poisson expectations. Identical seeds produce different sequences than earlier releases. (@kube, #9329)

@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hash Ready Ready Preview Aug 25, 2026 4:59pm
hashdotdesign-tokens Ready Ready Preview Aug 25, 2026 4:59pm
petrinaut Ready Ready Preview Aug 25, 2026 4:59pm
petrinaut-docs Ready Ready Preview Aug 25, 2026 4:59pm

@github-actions github-actions Bot added area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team labels Aug 25, 2026
@cursor

cursor Bot commented Aug 25, 2026

Copy link
Copy Markdown

PR Summary

Medium Risk
Changes core stochastic simulation and RNG semantics; reproducibility across versions is intentionally broken, which can affect optimization runs and tests that depend on fixed seeds.

Overview
Automated Changesets release that publishes @hashintel/petrinaut-core@0.0.4 and bumps @hashintel/petrinaut@0.0.19 to pick up that dependency.

The core patch (from #9329) corrects stochastic transition firing in the simulation engine: numeric rates use the memoryless per-frame probability 1 - e^(-rate * dt), the RNG advances on every enabled evaluation (including non-fires), and the seeded LCG uses exact Math.imul integer arithmetic in seeded-rng.ts. Firing counts should align with Poisson expectations, but the same seed no longer reproduces prior release sequences.

Reviewed by Cursor Bugbot for commit 8d2febc. Bugbot is set up for automated code reviews on this repo. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/apps > hash.design Affects the `hash.design` design site (app) area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team

Development

Successfully merging this pull request may close these issues.

0 participants