PolicyEngine / policyengine

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

Add US basic income taxability #1007

Closed MaxGhenis closed 1 year ago

MaxGhenis commented 1 year ago

Fixes #1006

After bumping the requirements and running make install, the server is throwing this error after computing the population impact:

[2022-09-13T12:47:56.817818] event: task_error endpoint: population_reform error: "Unable to open object (object 'marital_unit_id' doesn't exist)" full_trace: Traceback (most recent call last):

MaxGhenis commented 1 year ago

Merging as I think this issue has come up locally before. Will check once it launches and revert if needed.

MaxGhenis commented 1 year ago

Huh it did indeed break, e.g. https://policyengine.org/us/population-impact?older_adult_bi=10408_46&bi_taxability=1 says something went wrong. Re-running the prior version's jobs.

nikhilwoodruff commented 1 year ago

OK, it's a circular reference. I think it makes sense: what happens if you have an AGI-based phase-out, and include basic income in AGI?