Skip to content

Conversation

@MaxGhenis
Copy link
Contributor

Summary

  • Pin policyengine-us >= 1.552.0, which moved all stochastic randomness (SNAP, Medicaid, ACA, WIC takeup draws) from the country package to the data package
  • Ensures policyengine-taxsim always produces deterministic results for the same inputs — no seed needed

Prompted by BEA reporting non-deterministic results across runs.

Test plan

  • CI passes with the new pin
  • Verify same inputs produce identical outputs across multiple runs

🤖 Generated with Claude Code

Pre-1.552.0 versions had random() calls in takeup variables (SNAP,
Medicaid, ACA, WIC) that produced non-deterministic results across
process runs. Version 1.552.0 moved all stochastic logic to the data
package, making the country package fully deterministic.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
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