Allow the pension parameter replacement_rate_adjust to vary over T and J#1044
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1044 +/- ##
=======================================
Coverage 72.67% 72.67%
=======================================
Files 20 20
Lines 5068 5068
=======================================
Hits 3683 3683
Misses 1385 1385
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
@jdebacker. It looks like the tests stopped because 1 test failed for a random reason (MacOS 3.13). I just reset the test to start running. If it has passed in the morning, then we need to just reset all the tests. |
|
@jdebacker. I am ready to merge this as soon as we get all the tests to pass. |
|
This branch has some failures in local tests. Will report back when passing. |
|
@jdebacker. I got all the GitHub Action CI tests to pass. It was annoying that I had to manually set off each of the six sets of tests. But they've all passed now. Let me know when your local tests pass, and I will merge this. |
|
@rickecon I think my last PR provided the fix to the local test failures (the parameters Note that I haven't been able to confirm this on my own as I get an error related to the dask client that is used in If I set this to: The tests work, but I don't get any parallel compute. I haven't been able to get to the bottom of why this error now. But I'd be interested in if you are getting the same of if you can run the tests. One test that you can check this with is |
|
@jdebacker. Yes. I get the same error when I run |
|
@jdebacker. I restarted Linux/Python 3.12 GA CI tests for the most recent merged OG-Core PR , and it successfully ran. This deepens the mystery. The hypothesis is that something changed in |
|
@jdebacker. I got the following information from Google Gemini. Me: Are there issues between python 3.13 and pytest? Gemini: Common types of issues reported include: Intermittent Test Failures: Mocking Compatibility Issues: Broken Input/Output: Incompatible Packages: Troubleshooting: Review Test Code for 3.13 Changes: Check Pytest Changelog: Isolate and Debug: |
|
@jdebacker. Ruh-roh. Dask documentation says that it currently only supports Python 3.9-3.12 (see here). However, Dask |
|
@jdebacker. I re-ran all the GitHub Action CI tests from the last merged PR for Linux and Mac Python 3.12 and 3.13, and they all passed. I recommend we merge this and figure out why the local pytest is failing later. |
|
@rickecon I'm good with that. |
This PR adds flexibility to the replacement rate adjustment parameter, which scales pensions benefits up and down, to allow the parameter to vary by time,$t$ , and ability type, $j$ .