Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@

* Added Alternative Minimum Tax (AMT) income and liability logic
* Added development tools for auto-generating unit tests for Tax-Calculator functions

## 0.7.0

* Added Gains Tax (capital gains treatment) logic and parameters
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ install:
test:
pytest openfisca_us/tests/ --maxfail=0
coverage run --branch -m openfisca_us.tools.cli test openfisca_us/tests/policy/baseline
coverage xml
coverage xml -i
documentation:
jb build docs/book
build:
Expand Down
33 changes: 0 additions & 33 deletions openfisca_us/parameters/irs/capital_gains/bracket.yaml

This file was deleted.

108 changes: 108 additions & 0 deletions openfisca_us/parameters/irs/capital_gains/brackets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
description: Capital gains tax thresholds and rates
rates:
description: Long term capital gain and qualified dividends (regular/non-AMT) rate
1:
2013-01-01: 0.0
2:
2013-01-01: 0.15
3:
2013-01-01: 0.2
metadata:
unit: /1
thresholds:
description: Top thresholds of long-term capital gains and qualified dividends (regular/non-AMT) tax brackets
metadata:
unit: currency-USD
period: year
1:
HEAD_OF_HOUSEHOLD:
values:
2013-01-01: 48_600.0
2014-01-01: 49_400.0
2015-01-01: 50_200.0
2016-01-01: 50_400.0
2017-01-01: 50_800.0
2018-01-01: 51_700.0
2019-01-01: 52_750.0
JOINT:
values:
2013-01-01: 72_500.0
2014-01-01: 73_800.0
2015-01-01: 74_900.0
2016-01-01: 75_300.0
2017-01-01: 75_900.0
2018-01-01: 77_200.0
2019-01-01: 78_750.0
SEPARATE:
values:
2013-01-01: 36_250.0
2014-01-01: 36_900.0
2015-01-01: 37_450.0
2016-01-01: 37_650.0
2017-01-01: 37_950.0
2018-01-01: 38_600.0
2019-01-01: 39_375.0
SINGLE:
values:
2013-01-01: 36_250.0
2014-01-01: 36_900.0
2015-01-01: 37_450.0
2016-01-01: 37_650.0
2017-01-01: 37_950.0
2018-01-01: 38_600.0
2019-01-01: 39_375.0
WIDOW:
values:
2013-01-01: 72_500.0
2014-01-01: 73_800.0
2015-01-01: 74_900.0
2016-01-01: 75_300.0
2017-01-01: 75_900.0
2018-01-01: 77_200.0
2019-01-01: 78_750.0
2:
HEAD_OF_HOUSEHOLD:
values:
2013-01-01: 425_000.0
2014-01-01: 432_200.0
2015-01-01: 439_000.0
2016-01-01: 441_000.0
2017-01-01: 444_550.0
2018-01-01: 452_400.0
2019-01-01: 461_700.0
JOINT:
values:
2013-01-01: 450_000.0
2014-01-01: 457_600.0
2015-01-01: 464_850.0
2016-01-01: 466_950.0
2017-01-01: 470_700.0
2018-01-01: 479_000.0
2019-01-01: 488_850.0
SEPARATE:
values:
2013-01-01: 225_000.0
2014-01-01: 228_800.0
2015-01-01: 232_425.0
2016-01-01: 233_475.0
2017-01-01: 235_350.0
2018-01-01: 239_500.0
2019-01-01: 244_425.0
SINGLE:
values:
2013-01-01: 400_000.0
2014-01-01: 406_750.0
2015-01-01: 413_200.0
2016-01-01: 415_050.0
2017-01-01: 418_400.0
2018-01-01: 425_800.0
2019-01-01: 434_550.0
WIDOW:
values:
2013-01-01: 450_000.0
2014-01-01: 457_600.0
2015-01-01: 464_850.0
2016-01-01: 466_950.0
2017-01-01: 470_700.0
2018-01-01: 479_000.0
2019-01-01: 488_850.0
30 changes: 30 additions & 0 deletions openfisca_us/parameters/irs/income/bracket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,68 +18,98 @@ thresholds:
1:
SINGLE:
2018-01-01: 9525
2019-01-01: 9700
JOINT:
2018-01-01: 19050
2019-01-01: 19400
SEPARATE:
2018-01-01: 9525
2019-01-01: 9700
HOUSEHOLD_HEAD:
2018-01-01: 13600
2019-01-01: 13850
WIDOW:
2018-01-01: 19050
2019-01-01: 19400
2:
SINGLE:
2018-01-01: 38700
2019-01-01: 39475
JOINT:
2018-01-01: 77400
2019-01-01: 78950
SEPARATE:
2018-01-01: 38700
2019-01-01: 39475
HOUSEHOLD_HEAD:
2018-01-01: 51800
2019-01-01: 52850
WIDOW:
2018-01-01: 77400
2019-01-01: 78950
3:
SINGLE:
2018-01-01: 82500
2019-01-01: 84200
JOINT:
2018-01-01: 165000
2019-01-01: 168400
SEPARATE:
2018-01-01: 82500
2019-01-01: 84200
HOUSEHOLD_HEAD:
2018-01-01: 82500
2019-01-01: 84200
WIDOW:
2018-01-01: 165000
2019-01-01: 168400
4:
SINGLE:
2018-01-01: 157500
2019-01-01: 160725
JOINT:
2018-01-01: 315000
2019-01-01: 321450
SEPARATE:
2018-01-01: 157500
2019-01-01: 160725
HOUSEHOLD_HEAD:
2018-01-01: 157500
2019-01-01: 160700
WIDOW:
2018-01-01: 315000
2019-01-01: 321450
5:
SINGLE:
2018-01-01: 200000
2019-01-01: 204100
JOINT:
2018-01-01: 400000
2019-01-01: 408200
SEPARATE:
2018-01-01: 200000
2019-01-01: 204100
HOUSEHOLD_HEAD:
2018-01-01: 200000
2019-01-01: 204100
WIDOW:
2018-01-01: 400000
2019-01-01: 408200
6:
SINGLE:
2018-01-01: 500000
2019-01-01: 510300
JOINT:
2018-01-01: 600000
2019-01-01: 612350
SEPARATE:
2018-01-01: 300000
2019-01-01: 306175
HOUSEHOLD_HEAD:
2018-01-01: 500000
2019-01-01: 510300
WIDOW:
2018-01-01: 600000
2019-01-01: 612350
metadata:
unit: /1
Loading