PolicyEngine / policyengine-api

PolicyEngine's REST API for computing policy impacts.
GNU Affero General Public License v3.0
10 stars 21 forks source link

Household scenarios calculate for 2023, even when 2024 is selected #1792

Open MaxGhenis opened 2 weeks ago

MaxGhenis commented 2 weeks ago

For example, this household shows $32,681 net income for 2024 in the web app: https://policyengine.org/us/household?focus=householdOutput.pythonReproducibility&household=47266

But this notebook shows it should be $33,063. The 2023 value ($32,077) isn't quite right either, but we've compared some individual programs to find that they match 2023 policy.

anth-volk commented 2 weeks ago

Do we have any idea at this point if the policy calculator also calculates over 2023?

MaxGhenis commented 2 weeks ago

The microsim part of the app uses the year appropriately. I don't know about the household reform part.

anth-volk commented 1 week ago

Check this out, too. Here's the varying your net income chart:

Screen Shot 2024-09-19 at 8 19 05 PM

The line sits at $32,808, which is closer to the Colab's output just over $33k, but still not correct, and the dot also isn't correct.