PolicyEngine / policyengine-us

The PolicyEngine US Python package contains a rules engine of the US tax-benefit system, and microdata generation for microsimulation analysis.
https://policyengine.org/us
GNU Affero General Public License v3.0
99 stars 174 forks source link

Volatile microsimulation results #3471

Closed MaxGhenis closed 8 months ago

MaxGhenis commented 8 months ago

For instance, we're reporting that 4% of people lose income from a fully refundable CTC, which should never happen:

image

I suspect this has to do with random number generation in core.

MaxGhenis commented 8 months ago

I redeployed a previous version of the API and still seeing it @nikhilwoodruff

MaxGhenis commented 8 months ago

Fixed in https://github.com/PolicyEngine/policyengine-core/pull/136

Bump core #3477 will ensure it's fixed here