PolicyEngine / policyengine

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

Endless spinner in `Compute how earnings affect you` when toggling `bi_agi_limit_in_effect` #963

Closed MaxGhenis closed 2 years ago

MaxGhenis commented 2 years ago

In #962 I added bi_agi_limit_in_effect. When flipping it, the population impacts and the net income table work properly, but the Compute how earnings affect you creates an endless spinner.

For example, clicking that button on this reform with a default household produces the error: https://policyengine.org/us/household?older_adult_bi=1000&bi_agi_limit_in_effect=1&bi_agi_limit_amount_SINGLE=50000

That graph works fine with other policies.

nikhilwoodruff commented 2 years ago

I suspect this is also fixed by #966 : will close if so.

MaxGhenis commented 2 years ago

966 fixed #964 but this is still broken

MaxGhenis commented 2 years ago

Thanks @nikhilwoodruff! Shows this now.

image