PolicyEngine / policyengine-app

PolicyEngine's free web app for computing the impact of public policy.
GNU Affero General Public License v3.0
37 stars 101 forks source link

Bug with plot of CTC intermediate variables by earnings #64

Closed MaxGhenis closed 1 year ago

MaxGhenis commented 1 year ago

Here's a standard single parent of a 10-year-old child:

image

The Your current CTC maximum amount (child) is correctly at $2,000, but the line is 0.5% of employment income, and I don't know where that comes from.

The maximum amount should just be a flat amount (variable), since it's based on the age-based single_amount scale parameter. Might this have something to do with it being a person-level variable?

nikhilwoodruff commented 1 year ago

Yeah I've seen this a few times: I think the significance is actually that it's 1, 2, 3, 4, 5, .... I think this means the variable failed to load, but Plotly automatically put it as a natural number sequence instead(?)

nikhilwoodruff commented 1 year ago

Link now works btw