PolicyEngine / policyengine

Source code for PolicyEngine
https://policyengine.org
GNU Affero General Public License v3.0
12 stars 4 forks source link

No poverty impact for state reforms #959

Open MaxGhenis opened 2 years ago

MaxGhenis commented 2 years ago

For example, this is the Washington Working Families Tax Credit impact link that, at the time of our blog post, cut poverty 5%. Now it shows 0%. https://policyengine.org/us/population-impact?wa_wftc_max_amount_0_rate=300&wa_wftc_max_amount_1_rate=600&wa_wftc_max_amount_2_rate=900&wa_wftc_max_amount_3_rate=1200&wa_wftc_min_amount=50&baseline_wa_wftc_max_amount_0_rate=0&baseline_wa_wftc_max_amount_1_rate=0&baseline_wa_wftc_max_amount_2_rate=0&baseline_wa_wftc_max_amount_3_rate=0&baseline_wa_wftc_min_amount=0&baseline_state_specific=WA

MaxGhenis commented 2 years ago

Huh, doesn't seem to be consistent. This big UBI in Florida still cuts poverty.

MaxGhenis commented 2 years ago

Cutting the Working Families Tax Credit from scratch produces the expended poverty impact.

Recreating the repeal-from-baseline also produces the correct result.

So something to do with URLs? They look the same.

Original New
https://policyengine.org/us/population-impact?wa_wftc_max_amount_0_rate=300&wa_wftc_max_amount_1_rate=600&wa_wftc_max_amount_2_rate=900&wa_wftc_max_amount_3_rate=1200&wa_wftc_min_amount=50&baseline_wa_wftc_max_amount_0_rate=0&baseline_wa_wftc_max_amount_1_rate=0&baseline_wa_wftc_max_amount_2_rate=0&baseline_wa_wftc_max_amount_3_rate=0&baseline_wa_wftc_min_amount=0&baseline_state_specific=WA https://policyengine.org/us/population-impact?wa_wftc_max_amount_1_rate=300&wa_wftc_max_amount_2_rate=600&wa_wftc_max_amount_3_rate=900&wa_wftc_max_amount_4_rate=1200&wa_wftc_min_amount=50&baseline_wa_wftc_max_amount_1_rate=0&baseline_wa_wftc_max_amount_2_rate=0&baseline_wa_wftc_max_amount_3_rate=0&baseline_wa_wftc_max_amount_4_rate=0&baseline_wa_wftc_min_amount=0&baseline_state_specific=WA

But after re-clicking the old one after creating the new one, it's still using the bad cache, and re-clicking the new one is uses the good cache, so they must differ somehow.