PolicyEngine / PolicyEngine/policyengine-us
Don't compute variables for years we haven't implemented yet
Open
code-health
- Dominant language
- Python
- Stars
- 162
- Forks
- 212
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 96
Description
Currently you can specify years we haven't implemented for many tax and benefit programs. I think the simplest way to avoid this is to replace `def formula` with `def formula_2021` or whatever the first year we have that's vetted. It's also possible to return `NaN`s.
Thanks @martinholmer for the tip.
Contributor guide
Assessment
This issue has not been assessed yet.