PolicyEngine / PolicyEngine/policyengine-us
Replace `filing_status`-based `select` statements for scale parameters with string operation
Open
- Dominant language
- Python
- Stars
- 162
- Forks
- 212
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 97
Description
e.g. can we replace the standard select statement with something like this?
```python
p.rates[tax_unit("filing_status", period).tolower()].calc(tax_unit("taxable_income", period))
```
Contributor guide
Assessment
This issue has not been assessed yet.