-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrappedJsonParse
may be causing an issue with certain reforms
#2125
Comments
Update: The driver of this is that the labor supply response output JSON looks like this:
We get an 11th decile (could be fixed by PolicyEngine/microdf#234) and we get This will almost certainly be either |
Finally got some clarity on this. This may be a I'll look more into the individual components of |
Unclear yet as to what, but if running locally and following the below link, it appears that
wrappedJsonParse
fails. This is a bit strange, since all it's doing is runningJSON.parse()
, with an added reviver to convertString
-typed"Infinity"
intoNumber
-typedInfinity
.https://policyengine.org/us/policy?focus=policyOutput.policyBreakdown&reform=68885®ion=enhanced_us&timePeriod=2027&baseline=2
The text was updated successfully, but these errors were encountered: