PolicyEngine / PolicyEngine/policyengine-us

Don't compute variables for years we haven't implemented yet

Open
#934 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.