PolicyEngine / PolicyEngine/policyengine-us
Add uprating before 2010
- Dominant language
- Python
- Stars
- 163
- Forks
- 213
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 96
Description
currently we cannot uprate parameters pre 2010 which causes some issues with the parameters like e.g. the [student loan interest deduction](https://www.law.cornell.edu/uscode/text/26/221)
Error message
```
from policyengine_us.system import (
File "/Users/pavelmakarchuk/policyengine-us/policyengine_us/system.py", line 82, in
system = CountryTaxBenefitSystem()
File "/Users/pavelmakarchuk/policyengine-us/policyengine_us/system.py", line 58, in __init__
self.parameters = uprate_parameters(self.parameters)
File "/Users/pavelmakarchuk/anaconda3/envs/policyengine/lib/python3.9/site-packages/policyengine_core/parameters/operations/uprate_parameters.py", line 136, in uprate_parameters
raise ValueError(
ValueError: Failed to uprate using gov.irs.uprating at 2002-01-01 for gov.irs.ald.student_loan_interest.reduction.start.JOINT at 2010-01-01 because the uprating parameter is not defined at 2002-01-01.
```
Contributor guide
Assessment
This issue has not been assessed yet.