TheCGO / fiscalsim-us

FiscalSim US is a microsimulation model of the US federal and state tax and benefit system relating to households and individuals.
https://thecgo.github.io/fiscalsim-us/
GNU Affero General Public License v3.0
11 stars 12 forks source link

Add new core and tools #14

Closed rickecon closed 1 year ago

rickecon commented 1 year ago

This PR adds the new features from the newly named policyengine-us and policyengine-core. The policyengine-us package is a renamed version of what was previously openfisca-us. The policyengine-core package is a consolidation of what was previously openfisca-core and openfisca-tools. The new policyengine-tools is compatible with Python 3.9.

I don't like how the documentation compiles right now, but we will fix that in a future PR.

This PR passes all the tests. After running make test, I get the following:

============================================================ 1127 passed in 50.39s =============================================================
...
fiscalsim_us/tests/test_variables.py ................................................................................................... [  9%]
........................................................................................................................................ [ 21%]
........................................................................................................................................ [ 34%]
........................................................................................................................................ [ 47%]
........................................................................................................................................ [ 59%]
........................................................................................................................................ [ 72%]
........................................................................................................................................ [ 85%]
........................................................................................................................................ [ 98%]
.........                                                                                                                                [ 98%]
fiscalsim_us/tests/microsimulation/test_against_taxsim.py sssss                                                                          [ 99%]
fiscalsim_us/tests/microsimulation/test_microsim.py .                                                                                    [ 99%]
fiscalsim_us/tests/microsimulation/data/test_imports.py ..                                                                               [ 99%]
fiscalsim_us/tests/microsimulation/data/acs/test_acs.py ss                                                                               [ 99%]
fiscalsim_us/tests/microsimulation/data/cps/test_cps.py ..                                                                               [100%]
...
================================================ 1065 passed, 7 skipped, 23 warnings in 24.90s =================================================

And all the files pass the make format requirements.