-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenFisca-UK integration #2
Conversation
@nikhilwoodruff Can you look at the testing failures and see if you can identify why the conflict in setting up the environment arises? The issue is described here:
|
@jdebacker and @nikhilwoodruff. As @jdebacker notes above, the error states:
This is going to take some detective work to figure out what the conflict is. It sounds like it is a conflict between some package in our I tried fixing the Python version in |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jdebacker @rickecon think I found the issue - I've seen it before in other places but only occasionally.
environment.yml
Outdated
- git+https://github.com/PSLmodels/OG-USA.git | ||
- git+https://github.com/nikhilwoodruff/openfisca-core.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jdebacker I think this is causing the issue - the openfisca-uk requirements require:
- git+https://github.com/nikhilwoodruff/openfisca-core
rather than with the .git
. It might be easier just to drop this requirement for the sake of clarity and let it be installed as an openfisca-uk dependency?
environment.yml
Outdated
- git+https://github.com/PSLmodels/OG-USA.git | ||
- git+https://github.com/nikhilwoodruff/openfisca-core | ||
- git+https://github.com/nikhilwoodruff/frs.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- git+https://github.com/nikhilwoodruff/frs.git | |
- git+https://github.com/nikhilwoodruff/frs |
environment.yml
Outdated
- git+https://github.com/PSLmodels/OG-USA.git | ||
- git+https://github.com/nikhilwoodruff/openfisca-core | ||
- git+https://github.com/nikhilwoodruff/frs.git | ||
- git+https://github.com/PSLmodels/openfisca-uk.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- git+https://github.com/PSLmodels/openfisca-uk.git | |
- git+https://github.com/PSLmodels/openfisca-uk |
environment.yml
Outdated
- git+https://github.com/nikhilwoodruff/openfisca-core | ||
- git+https://github.com/nikhilwoodruff/frs.git | ||
- git+https://github.com/PSLmodels/openfisca-uk.git | ||
- git+https://github.com/PSLmodels/microdf.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- git+https://github.com/PSLmodels/microdf.git | |
- git+https://github.com/PSLmodels/microdf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it's the same problem - maybe this just to be on the safe side?
Just changed the openfisca-uk dependency for microdf (pslmodels/... PSLmodels/...) which should at least fix the current error. |
Codecov Report
@@ Coverage Diff @@
## main #2 +/- ##
=======================================
Coverage ? 51.76%
=======================================
Files ? 5
Lines ? 736
Branches ? 0
=======================================
Hits ? 381
Misses ? 355
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
Thanks @nikhilwoodruff, tests on 3.7 appear to pass now! |
@@ -16,11 +16,12 @@ | |||
from dask import delayed, compute | |||
import dask.multiprocessing | |||
import pickle | |||
from ogusa_calibrate import get_micro_data | |||
from og_uk_calibrate import get_micro_data | |||
import ogusa.parameter_plots as pp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jdebacker. I make a point in Issue #9 to eventually move all parameter_plots
functionality into the OG-UK-Calibration
repo as is started in PR #3. But we don't need to do that right now for this PR.
I have reviewed all the changes. This looks good to me. @jdebacker are you ready for me to merge this? Thanks, @nikhilwoodruff for the help. |
@rickecon Yes, this PR is ready to merge. Thanks for reviewing! |
This PR integrates OpenFisca-UK into
oguk_calibration
. This microsimulation model will provide the underlying data on marginal and effective tax rates that will go into the UK calibration of the OG model.