taxcalc 5.1.0__py3-none-any.whl → 5.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- taxcalc/__init__.py +3 -3
- taxcalc/calcfunctions.py +21 -16
- taxcalc/calculator.py +3 -3
- taxcalc/cli/tc.py +15 -11
- taxcalc/data.py +1 -1
- taxcalc/decorators.py +9 -8
- taxcalc/growfactors.py +2 -1
- taxcalc/policy.py +13 -5
- taxcalc/policy_current_law.json +1191 -1395
- taxcalc/puf_ratios.csv +24 -24
- taxcalc/puf_weights.csv.gz +0 -0
- taxcalc/reforms/2017_law.json +2 -0
- taxcalc/reforms/ARPA.out.csv +9 -9
- taxcalc/taxcalcio.py +41 -26
- taxcalc/tests/conftest.py +1 -1
- taxcalc/tests/cpscsv_agg_expect.csv +26 -26
- taxcalc/tests/puf_var_correl_coeffs_2016.csv +24 -24
- taxcalc/tests/puf_var_wght_means_by_year.csv +80 -80
- taxcalc/tests/pufcsv_agg_expect.csv +26 -26
- taxcalc/tests/pufcsv_mtr_expect.txt +21 -21
- taxcalc/tests/reforms.json +3 -1
- taxcalc/tests/reforms_expect.csv +48 -48
- taxcalc/tests/test_4package.py +8 -9
- taxcalc/tests/test_calculator.py +152 -151
- taxcalc/tests/test_compare.py +2 -2
- taxcalc/tests/test_consumption.py +2 -2
- taxcalc/tests/test_cpscsv.py +4 -3
- taxcalc/tests/test_decorators.py +57 -52
- taxcalc/tests/test_growdiff.py +2 -2
- taxcalc/tests/test_parameters.py +59 -53
- taxcalc/tests/test_policy.py +229 -251
- taxcalc/tests/test_puf_var_stats.py +2 -2
- taxcalc/tests/test_pufcsv.py +5 -4
- taxcalc/tests/test_records.py +5 -1
- taxcalc/tests/test_reforms.py +101 -99
- taxcalc/tests/test_taxcalcio.py +10 -4
- taxcalc/utils.py +3 -3
- {taxcalc-5.1.0.dist-info → taxcalc-5.3.0.dist-info}/METADATA +3 -6
- {taxcalc-5.1.0.dist-info → taxcalc-5.3.0.dist-info}/RECORD +43 -44
- taxcalc/reforms/clp.out.csv +0 -10
- {taxcalc-5.1.0.dist-info → taxcalc-5.3.0.dist-info}/WHEEL +0 -0
- {taxcalc-5.1.0.dist-info → taxcalc-5.3.0.dist-info}/entry_points.txt +0 -0
- {taxcalc-5.1.0.dist-info → taxcalc-5.3.0.dist-info}/licenses/LICENSE +0 -0
- {taxcalc-5.1.0.dist-info → taxcalc-5.3.0.dist-info}/top_level.txt +0 -0
@@ -1,80 +1,80 @@
|
|
1
|
-
,description,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024
|
2
|
-
c00100,Federal AGI, 50840, 54457, 54942, 55071, 58024, 60318, 61591, 63130,
|
3
|
-
c02500,OASDI benefits in AGI, 1295, 1394, 1416, 1479, 1501, 1587, 1690, 1832, 2005, 2128, 2402, 2686
|
4
|
-
c04470,Post-phase-out itemized deduction,
|
5
|
-
c04600,Post-phase-out personal exemption, 7105, 7131, 7163, 7217, 7149, 7280, 7448, 7574, 7621, 7989, 8661, 9047
|
6
|
-
c04800,Federal regular taxable income, 35754,
|
7
|
-
c05200,Regular tax on taxable income, 7672, 8732, 8725, 8585, 9500, 9984, 10102, 10421, 13279, 12406, 11654, 13635
|
8
|
-
c07180,Child care credit, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17
|
9
|
-
c07220,Child tax credit (adjusted), 158, 155, 147, 143, 139, 133, 128, 123,
|
10
|
-
c09600,Federal AMT liability, 212, 227, 240, 251, 268, 279, 286, 315, 347, 334, 344, 361
|
11
|
-
c11070,Extra child tax credit (refunded), 150, 144, 138, 133, 126, 123, 120, 121, 0, 110, 113, 111
|
12
|
-
c21040,Itemized deduction that is phased out, 203, 242, 231, 219, 255, 270, 270, 283, 375, 342, 302, 380
|
13
|
-
cmbtp,Estimate of income on (AMT) Form 6251 but not in AGI, 370, 386, 403, 416, 434, 452, 463, 493, 526, 526, 549, 580
|
14
|
-
data_source,1 if unit is created primarily from IRS-SOI PUF data; 0 if created primarily from CPS data (not used in tax-calculation logic), 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
|
15
|
-
e00200,"Wages, salaries, and tips for filing unit net of pension contributions", 35512, 37221, 37448, 37946, 39051, 40312, 41580, 41587, 44621, 47746, 49471, 51728
|
16
|
-
e00300,Taxable interest income, 537, 499, 497, 500, 538, 550, 554, 544, 541, 564, 658, 620
|
17
|
-
e00400,Tax-exempt interest income, 343, 326, 322, 327, 353, 365, 369, 367, 367, 386, 455, 430
|
18
|
-
e00600,Ordinary dividends included in AGI, 1179, 1397, 1392, 1356, 1479, 1578, 1631, 1770, 1861, 1928, 1948, 2305
|
19
|
-
e00650,Qualified dividends included in ordinary dividends, 846, 1001, 992, 966, 1048, 1115, 1151, 1247, 1309, 1356, 1368, 1617
|
20
|
-
e00700,Taxable refunds of state and local income taxes, 163, 170, 174, 179, 186, 191, 196, 209, 221, 223, 234, 247
|
21
|
-
e00800,Alimony received, 47, 52, 60, 61, 70, 73, 76, 81, 87, 88, 93, 99
|
22
|
-
e00900,Sch C business net profit/loss for filing unit, 1657, 1740, 1774, 1752, 1814, 1874, 1868, 1887, 1982, 2015, 2061, 2196
|
23
|
-
e01100,Capital gain distributions not reported on Sch D, 13, 18, 18, 16, 22, 24, 22, 28, 50, 31, 22, 32
|
24
|
-
e01200,Other net gain/loss from Form 4797, -119, -164, -163, -147, -188, -198, -181, -233, -417, -253, -184, -265
|
25
|
-
e01400,Taxable IRA distributions, 1390, 1489, 1627, 1721, 1890, 1994, 2084, 2251, 2428, 2489, 2651, 2834
|
26
|
-
e01500,Total pensions and annuities, 5494, 5708, 5855, 5915, 6150, 6371, 6548, 6972, 7413, 7496, 7874, 8323
|
27
|
-
e01700,Taxable pensions and annuities, 3503, 3638, 3690, 3703, 3819, 3944, 4041, 4289, 4542, 4580, 4801, 5057
|
28
|
-
e02000,"Sch E total rental, royalty, partnership, S-corporation, etc, income/loss (includes e26270 and e27200)", 3365, 3727, 3814, 3772, 4017, 4275, 4324, 4069, 4920, 5124, 4448, 6476
|
29
|
-
e02100,Farm net income/loss for filing unit from Sch F, -45, -41, -19, -20, -15, -14, -13, -15, -17, -31, -31, -13
|
30
|
-
e02300,Unemployment insurance benefits, 289, 187, 150, 141, 131, 120, 112, 115, 988, 150, 112, 127
|
31
|
-
e02400,Total social security (OASDI) benefits, 4837, 5027, 5154, 5271, 5380, 5568, 5845, 6102, 6289, 6714, 7419, 7940
|
32
|
-
e03150,Total deductible IRA contributions, 63, 64, 66, 69, 69, 72, 74, 79, 84, 84, 89, 94
|
33
|
-
e03210,Student loan interest, 55, 55, 57, 58, 59, 62, 63, 67, 71, 71, 75, 79
|
34
|
-
e03220,Educator expenses, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8
|
35
|
-
e03230,Tuition and fees from Form 8917, 24, 25, 25, 26, 26, 27, 28, 30, 32, 32, 33, 35
|
36
|
-
e03240,Domestic production activities from Form 8903, 51, 53, 53, 54, 56, 57, 58, 62, 65, 66, 69, 72
|
37
|
-
e03270,Self-employed health insurance deduction, 152, 155, 160, 171, 174, 177, 181, 188, 189, 196, 195, 200
|
38
|
-
e03290,Health savings account deduction from Form 8889, 19, 19, 20, 21, 21, 22, 22, 23, 23, 24, 23, 24
|
39
|
-
e03300,"Contributions to SEP, SIMPLE and qualified plans", 114, 117, 115, 118, 118, 121, 123, 130, 137, 138, 145, 152
|
40
|
-
e03400,Penalty on early withdrawal of savings, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 5
|
41
|
-
e03500,Alimony paid, 41, 45, 44, 46, 46, 47, 48, 51, 54, 55, 57, 61
|
42
|
-
e07240,Retirement savings contributions credit from Form 8880, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8
|
43
|
-
e07260,Residential energy credit from Form 5695, 9, 9, 10, 10, 11, 11, 11, 12, 13, 13, 13, 14
|
44
|
-
e07300,Foreign tax credit from Form 1116, 94, 97, 91, 88, 92, 97, 98, 92, 111, 116, 100, 146
|
45
|
-
e07400,General business credit from Form 3800, 17, 16, 16, 15, 15, 16, 16, 15, 19, 19, 17, 25
|
46
|
-
e07600,Prior year minimum tax credit from Form 8801, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5
|
47
|
-
e09700,Recapture of Investment Credit, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
48
|
-
e09800,Unreported payroll taxes from Form 4137 or 8919, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
49
|
-
e09900,Penalty tax on qualified retirement plans, 35, 37, 39, 40, 43, 45, 46, 48, 50, 50, 51, 54
|
50
|
-
e11200,Excess payroll (FICA/RRTA) tax withheld, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16
|
51
|
-
e17500,Itemizable medical and dental expenses. WARNING: this variable is zero below the floor in PUF data., 799, 833, 861, 906, 938, 962, 995, 1044, 1063, 1112, 1123, 1159
|
52
|
-
e18400,Itemizable state and local income/sales taxes, 1669, 1768, 1803, 1855, 1944, 2004, 2052, 2178, 2306, 2326, 2438, 2567
|
53
|
-
e18500,Itemizable real-estate taxes paid, 1145, 1200, 1251, 1298, 1358, 1409, 1449, 1545, 1642, 1663, 1750, 1851
|
54
|
-
e19200,Itemizable interest paid, 1878, 1841, 1817, 1844, 1884, 1965, 2032, 2177, 2327, 2368, 2504, 2662
|
55
|
-
e19800,Itemizable charitable giving: cash/check contributions. WARNING: this variable is already capped in PUF data., 887, 932, 951, 979, 1018, 1054, 1082, 1153, 1226, 1242, 1307, 1381
|
56
|
-
e20100,Itemizable charitable giving: other than cash/check contributions. WARNING: this variable is already capped in PUF data., 224, 235, 233, 239, 245, 253,
|
57
|
-
e20400,Itemizable miscellaneous deductions. WARNING: this variable is zero below the floor in PUF data., 713, 740, 759, 786, 811, 838, 860, 912, 967,
|
58
|
-
e24515,Sch D: Un-Recaptured Section 1250 Gain, 79, 110, 112, 100, 137, 147, 136, 176, 315, 193, 141, 200
|
59
|
-
e24518,Sch D: 28% Rate Gain or Loss, 24, 34, 34, 30, 39, 41, 38, 49, 87, 53, 39, 56
|
60
|
-
e26270,Sch E: Combined partnership and S-corporation net income/loss (includes k1bx14p and k1bx14s amounts and is included in e02000), 2741, 2969, 3037, 2995, 3222, 3424, 3455,
|
61
|
-
e27200,Sch E: Farm rent net income or loss (included in e02000), 35, 37, 38, 39, 44, 47, 49, 47, 58, 62, 55, 80
|
62
|
-
e32800,Child/dependent-care expenses for qualifying persons from Form 2441, 108, 111, 113, 114, 118, 121, 123, 130, 137, 137, 143, 150
|
63
|
-
e58990,Investment income elected amount from Form 4952, 14, 14, 15, 15, 16, 17, 17, 18, 19, 19, 20, 21
|
64
|
-
e62900,Alternative Minimum Tax foreign tax credit from Form 6251, 78, 86, 84, 84, 90, 93, 95, 100, 106, 107, 112, 118
|
65
|
-
e87521,Total tentative AmOppCredit amount for all students, 172, 176, 182, 184, 191, 197, 201, 213, 225, 227, 237, 249
|
66
|
-
e87530,Adjusted qualified lifetime learning expenses for all students, 93, 92, 94, 96, 99, 102, 105, 111, 117, 118, 124, 130
|
67
|
-
eitc,Federal EITC, 376, 369, 364, 352, 342, 343,
|
68
|
-
elderly_dependents,number of dependents age 65+ in filing unit excluding taxpayer and spouse, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
69
|
-
g20500,Itemizable gross (before 10% AGI disregard) casualty or theft loss, 29, 30, 31, 32, 33, 35, 36, 38, 40, 41, 43, 45
|
70
|
-
iitax,Federal income tax liability, 6826, 7765, 7820, 7778, 8605, 9072, 9252, 6827, 9422, 11409, 10888, 12600
|
71
|
-
k1bx14p,Partner self-employment earnings/loss for taxpayer (included in e26270 total), -213, -239, -187, -162, -144, -139, -133, -129, -156, -168, -
|
72
|
-
k1bx14s,Partner self-employment earnings/loss for spouse (included in e26270 total), -7, -9, 0, 2, 8, 10, 11, 11, 13, 14, 11, 17
|
73
|
-
nu06,Number of dependents under 6 years old, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
74
|
-
nu13,Number of dependents under 13 years old, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
75
|
-
p08000,Other tax credits (but not including Sch R credit), 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
|
76
|
-
p22250,Sch D: Net short-term capital gains/losses, -120, -173, -172, -151, -195, -212, -202, -267, -481, -300, -223, -316
|
77
|
-
p23250,Sch D: Net long-term capital gains/losses, 2284, 3191, 3138, 2776, 3680, 3912, 3596, 4616, 8212, 5011, 3634, 5193
|
78
|
-
payrolltax,Payroll taxes (ee+er) for OASDI+HI, 4917, 5091, 5141, 5215, 5352, 5497, 5667, 5696, 6069, 6441, 6728, 7035
|
79
|
-
pencon_p,Contributions to defined-contribution pension plans for taxpayer,
|
80
|
-
pencon_s,Contributions to defined-contribution pension plans for spouse,
|
1
|
+
,description,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024
|
2
|
+
c00100,Federal AGI, 50840, 54457, 54942, 55071, 58024, 60318, 61591, 63130, 73018, 72054, 72247, 79575
|
3
|
+
c02500,OASDI benefits in AGI, 1295, 1394, 1416, 1479, 1501, 1587, 1690, 1832, 2005, 2128, 2402, 2686
|
4
|
+
c04470,Post-phase-out itemized deduction, 5909, 6037, 6150, 6383, 6563, 6797, 7001, 7479, 7870, 8005, 8417, 8783
|
5
|
+
c04600,Post-phase-out personal exemption, 7105, 7131, 7163, 7217, 7149, 7280, 7448, 7574, 7621, 7989, 8661, 9047
|
6
|
+
c04800,Federal regular taxable income, 35754, 39298, 39664, 39591, 42568, 44486, 45340, 46361, 55796, 54215, 53036, 59733
|
7
|
+
c05200,Regular tax on taxable income, 7672, 8732, 8725, 8585, 9500, 9984, 10102, 10421, 13279, 12406, 11654, 13635
|
8
|
+
c07180,Child care credit, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17
|
9
|
+
c07220,Child tax credit (adjusted), 158, 155, 147, 143, 139, 133, 128, 123, 360, 114, 105, 98
|
10
|
+
c09600,Federal AMT liability, 212, 227, 240, 251, 268, 279, 286, 315, 347, 334, 344, 361
|
11
|
+
c11070,Extra child tax credit (refunded), 150, 144, 138, 133, 126, 123, 120, 121, 0, 110, 113, 111
|
12
|
+
c21040,Itemized deduction that is phased out, 203, 242, 231, 219, 255, 270, 270, 283, 375, 342, 302, 380
|
13
|
+
cmbtp,Estimate of income on (AMT) Form 6251 but not in AGI, 370, 386, 403, 416, 434, 452, 463, 493, 526, 526, 549, 580
|
14
|
+
data_source,1 if unit is created primarily from IRS-SOI PUF data; 0 if created primarily from CPS data (not used in tax-calculation logic), 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
|
15
|
+
e00200,"Wages, salaries, and tips for filing unit net of pension contributions", 35512, 37221, 37448, 37946, 39051, 40312, 41580, 41587, 44621, 47746, 49471, 51728
|
16
|
+
e00300,Taxable interest income, 537, 499, 497, 500, 538, 550, 554, 544, 541, 564, 658, 620
|
17
|
+
e00400,Tax-exempt interest income, 343, 326, 322, 327, 353, 365, 369, 367, 367, 386, 455, 430
|
18
|
+
e00600,Ordinary dividends included in AGI, 1179, 1397, 1392, 1356, 1479, 1578, 1631, 1770, 1861, 1928, 1948, 2305
|
19
|
+
e00650,Qualified dividends included in ordinary dividends, 846, 1001, 992, 966, 1048, 1115, 1151, 1247, 1309, 1356, 1368, 1617
|
20
|
+
e00700,Taxable refunds of state and local income taxes, 163, 170, 174, 179, 186, 191, 196, 209, 221, 223, 234, 247
|
21
|
+
e00800,Alimony received, 47, 52, 60, 61, 70, 73, 76, 81, 87, 88, 93, 99
|
22
|
+
e00900,Sch C business net profit/loss for filing unit, 1657, 1740, 1774, 1752, 1814, 1874, 1868, 1887, 1982, 2015, 2061, 2196
|
23
|
+
e01100,Capital gain distributions not reported on Sch D, 13, 18, 18, 16, 22, 24, 22, 28, 50, 31, 22, 32
|
24
|
+
e01200,Other net gain/loss from Form 4797, -119, -164, -163, -147, -188, -198, -181, -233, -417, -253, -184, -265
|
25
|
+
e01400,Taxable IRA distributions, 1390, 1489, 1627, 1721, 1890, 1994, 2084, 2251, 2428, 2489, 2651, 2834
|
26
|
+
e01500,Total pensions and annuities, 5494, 5708, 5855, 5915, 6150, 6371, 6548, 6972, 7413, 7496, 7874, 8323
|
27
|
+
e01700,Taxable pensions and annuities, 3503, 3638, 3690, 3703, 3819, 3944, 4041, 4289, 4542, 4580, 4801, 5057
|
28
|
+
e02000,"Sch E total rental, royalty, partnership, S-corporation, etc, income/loss (includes e26270 and e27200)", 3365, 3727, 3814, 3772, 4017, 4275, 4324, 4069, 4920, 5124, 4448, 6476
|
29
|
+
e02100,Farm net income/loss for filing unit from Sch F, -45, -41, -19, -20, -15, -14, -13, -15, -17, -31, -31, -13
|
30
|
+
e02300,Unemployment insurance benefits, 289, 187, 150, 141, 131, 120, 112, 115, 988, 150, 112, 127
|
31
|
+
e02400,Total social security (OASDI) benefits, 4837, 5027, 5154, 5271, 5380, 5568, 5845, 6102, 6289, 6714, 7419, 7940
|
32
|
+
e03150,Total deductible IRA contributions, 63, 64, 66, 69, 69, 72, 74, 79, 84, 84, 89, 94
|
33
|
+
e03210,Student loan interest, 55, 55, 57, 58, 59, 62, 63, 67, 71, 71, 75, 79
|
34
|
+
e03220,Educator expenses, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8
|
35
|
+
e03230,Tuition and fees from Form 8917, 24, 25, 25, 26, 26, 27, 28, 30, 32, 32, 33, 35
|
36
|
+
e03240,Domestic production activities from Form 8903, 51, 53, 53, 54, 56, 57, 58, 62, 65, 66, 69, 72
|
37
|
+
e03270,Self-employed health insurance deduction, 152, 155, 160, 171, 174, 177, 181, 188, 189, 196, 195, 200
|
38
|
+
e03290,Health savings account deduction from Form 8889, 19, 19, 20, 21, 21, 22, 22, 23, 23, 24, 23, 24
|
39
|
+
e03300,"Contributions to SEP, SIMPLE and qualified plans", 114, 117, 115, 118, 118, 121, 123, 130, 137, 138, 145, 152
|
40
|
+
e03400,Penalty on early withdrawal of savings, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 5
|
41
|
+
e03500,Alimony paid, 41, 45, 44, 46, 46, 47, 48, 51, 54, 55, 57, 61
|
42
|
+
e07240,Retirement savings contributions credit from Form 8880, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8
|
43
|
+
e07260,Residential energy credit from Form 5695, 9, 9, 10, 10, 11, 11, 11, 12, 13, 13, 13, 14
|
44
|
+
e07300,Foreign tax credit from Form 1116, 94, 97, 91, 88, 92, 97, 98, 92, 111, 116, 100, 146
|
45
|
+
e07400,General business credit from Form 3800, 17, 16, 16, 15, 15, 16, 16, 15, 19, 19, 17, 25
|
46
|
+
e07600,Prior year minimum tax credit from Form 8801, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5
|
47
|
+
e09700,Recapture of Investment Credit, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
48
|
+
e09800,Unreported payroll taxes from Form 4137 or 8919, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
49
|
+
e09900,Penalty tax on qualified retirement plans, 35, 37, 39, 40, 43, 45, 46, 48, 50, 50, 51, 54
|
50
|
+
e11200,Excess payroll (FICA/RRTA) tax withheld, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16
|
51
|
+
e17500,Itemizable medical and dental expenses. WARNING: this variable is zero below the floor in PUF data., 799, 833, 861, 906, 938, 962, 995, 1044, 1063, 1112, 1123, 1159
|
52
|
+
e18400,Itemizable state and local income/sales taxes, 1669, 1768, 1803, 1855, 1944, 2004, 2052, 2178, 2306, 2326, 2438, 2567
|
53
|
+
e18500,Itemizable real-estate taxes paid, 1145, 1200, 1251, 1298, 1358, 1409, 1449, 1545, 1642, 1663, 1750, 1851
|
54
|
+
e19200,Itemizable interest paid, 1878, 1841, 1817, 1844, 1884, 1965, 2032, 2177, 2327, 2368, 2504, 2662
|
55
|
+
e19800,Itemizable charitable giving: cash/check contributions. WARNING: this variable is already capped in PUF data., 887, 932, 951, 979, 1018, 1054, 1082, 1153, 1226, 1242, 1307, 1381
|
56
|
+
e20100,Itemizable charitable giving: other than cash/check contributions. WARNING: this variable is already capped in PUF data., 224, 235, 233, 239, 245, 253, 259, 276, 293, 296, 311, 328
|
57
|
+
e20400,Itemizable miscellaneous deductions. WARNING: this variable is zero below the floor in PUF data., 713, 740, 759, 786, 811, 838, 860, 912, 967, 975, 1023, 1076
|
58
|
+
e24515,Sch D: Un-Recaptured Section 1250 Gain, 79, 110, 112, 100, 137, 147, 136, 176, 315, 193, 141, 200
|
59
|
+
e24518,Sch D: 28% Rate Gain or Loss, 24, 34, 34, 30, 39, 41, 38, 49, 87, 53, 39, 56
|
60
|
+
e26270,Sch E: Combined partnership and S-corporation net income/loss (includes k1bx14p and k1bx14s amounts and is included in e02000), 2741, 2969, 3037, 2995, 3222, 3424, 3455, 3243, 3910, 4062, 3520, 5112
|
61
|
+
e27200,Sch E: Farm rent net income or loss (included in e02000), 35, 37, 38, 39, 44, 47, 49, 47, 58, 62, 55, 80
|
62
|
+
e32800,Child/dependent-care expenses for qualifying persons from Form 2441, 108, 111, 113, 114, 118, 121, 123, 130, 137, 137, 143, 150
|
63
|
+
e58990,Investment income elected amount from Form 4952, 14, 14, 15, 15, 16, 17, 17, 18, 19, 19, 20, 21
|
64
|
+
e62900,Alternative Minimum Tax foreign tax credit from Form 6251, 78, 86, 84, 84, 90, 93, 95, 100, 106, 107, 112, 118
|
65
|
+
e87521,Total tentative AmOppCredit amount for all students, 172, 176, 182, 184, 191, 197, 201, 213, 225, 227, 237, 249
|
66
|
+
e87530,Adjusted qualified lifetime learning expenses for all students, 93, 92, 94, 96, 99, 102, 105, 111, 117, 118, 124, 130
|
67
|
+
eitc,Federal EITC, 376, 369, 364, 352, 342, 343, 347, 355, 335, 348, 387, 399
|
68
|
+
elderly_dependents,number of dependents age 65+ in filing unit excluding taxpayer and spouse, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
69
|
+
g20500,Itemizable gross (before 10% AGI disregard) casualty or theft loss, 29, 30, 31, 32, 33, 35, 36, 38, 40, 41, 43, 45
|
70
|
+
iitax,Federal income tax liability, 6826, 7765, 7820, 7778, 8605, 9072, 9252, 6827, 9422, 11409, 10888, 12600
|
71
|
+
k1bx14p,Partner self-employment earnings/loss for taxpayer (included in e26270 total), -213, -239, -187, -162, -144, -139, -133, -129, -156, -168, -147, -211
|
72
|
+
k1bx14s,Partner self-employment earnings/loss for spouse (included in e26270 total), -7, -9, 0, 2, 8, 10, 11, 11, 13, 14, 11, 17
|
73
|
+
nu06,Number of dependents under 6 years old, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
74
|
+
nu13,Number of dependents under 13 years old, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
75
|
+
p08000,Other tax credits (but not including Sch R credit), 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
|
76
|
+
p22250,Sch D: Net short-term capital gains/losses, -120, -173, -172, -151, -195, -212, -202, -267, -481, -300, -223, -316
|
77
|
+
p23250,Sch D: Net long-term capital gains/losses, 2284, 3191, 3138, 2776, 3680, 3912, 3596, 4616, 8212, 5011, 3634, 5193
|
78
|
+
payrolltax,Payroll taxes (ee+er) for OASDI+HI, 4917, 5091, 5141, 5215, 5352, 5497, 5667, 5696, 6069, 6441, 6728, 7035
|
79
|
+
pencon_p,Contributions to defined-contribution pension plans for taxpayer, 858, 900, 918, 943, 965, 999, 1032, 1033, 1110, 1188, 1233, 1291
|
80
|
+
pencon_s,Contributions to defined-contribution pension plans for spouse, 390, 407, 419, 423, 438, 451, 465, 465, 499, 534, 553, 578
|
@@ -1,26 +1,26 @@
|
|
1
|
-
,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026
|
2
|
-
Returns (#m),190.9,194.3,197.3,200.1,202.9,205.6,208.4,211.2,214.0,216.8
|
3
|
-
AGI ($b),11078.7,11816.6,12247.2,12722.3,14930.0,14939.1,
|
4
|
-
Itemizers (#m),45.7,19.4,20.0,21.0,22.6,22.8,21.8,21.6,
|
5
|
-
Itemized Deduction ($b),1274.
|
6
|
-
Standard Deduction Filers (#m),145.2,174.8,177.2,178.5,179.6,182.8,186.
|
7
|
-
Standard Deduction ($b),1239.
|
8
|
-
Personal Exemption ($b),1365.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,
|
9
|
-
Taxable Income ($b),8112.
|
10
|
-
Regular Tax ($b),1656.8,1712.3,1778.2,1838.3,2281.5,2275.4,2228.2,2589.0,
|
11
|
-
AMT Income ($b),10512.
|
12
|
-
AMT Liability ($b),51.3,22.1,23.0,25.1,27.8,27.4,28.7,31.2,32.
|
13
|
-
AMT Filers (#m),5.7,0.2,0.2,0.3,0.4,0.3,0.2,0.3,0.3,
|
14
|
-
Tax before Credits ($b),1708.1,1734.4,1801.2,1863.4,2309.4,2302.8,2256.9,2620.2,
|
15
|
-
Refundable Credits ($b),102.9,117.5,118.5,642.0,802.
|
16
|
-
Nonrefundable Credits ($b),67.0,127.3,129.2,128.5,47.6,141.0,137.8,148.6,
|
17
|
-
Reform Surtaxes ($b),0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
|
18
|
-
Other Taxes ($b),101.9,110.3,110.9,122.1,159.4,139.1,133.5,157.8,166.9,172.1
|
19
|
-
Ind Income Tax ($b),1640.1,1599.8,1664.4,1215.0,1618.5,2181.8,2124.2,2495.9,
|
20
|
-
Payroll Taxes ($b),1021.
|
21
|
-
Combined Liability ($b),
|
22
|
-
With Income Tax <= 0 (#m),88.5,94.0,95.1,129.1,122.6,95.7,97.8,98.3,
|
23
|
-
With Combined Tax <= 0 (#m),63.4,65.6,66.8,102.
|
24
|
-
UBI Benefits ($b),0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
|
25
|
-
"Total Benefits, Consumption Value ($b)",1052.3,1104.9,1175.3,1243.9,1476.4,1411.5,1569.5,1703.5,1817.8,1924.3
|
26
|
-
Total Benefits Cost ($b),1052.3,1104.9,1175.3,1243.9,1476.4,1411.5,1569.5,1703.5,1817.8,1924.3
|
1
|
+
,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2027,2028,2029,2030,2031,2032,2033,2034,2035
|
2
|
+
Returns (#m),190.9,194.3,197.3,200.1,202.9,205.6,208.4,211.2,214.0,216.8,219.5,222.2,224.8,227.4,229.8,230.0,235.7,238.2,240.7
|
3
|
+
AGI ($b),11078.7,11816.6,12247.2,12722.3,14930.0,14939.1,15161.0,16964.0,17819.5,18520.2,19183.5,19911.8,20689.6,21516.4,22393.3,23307.3,24244.7,25218.0,26229.5
|
4
|
+
Itemizers (#m),45.7,19.4,20.0,21.0,22.6,22.8,21.8,21.6,25.9,24.0,24.7,25.6,26.5,19.3,19.7,20.2,20.3,20.7,21.1
|
5
|
+
Itemized Deduction ($b),1274.4,602.5,633.7,692.3,761.4,782.8,794.9,829.6,1148.5,1063.4,1125.8,1196.9,1273.4,858.4,898.9,943.8,973.9,1018.2,1063.9
|
6
|
+
Standard Deduction Filers (#m),145.2,174.8,177.2,178.5,179.6,182.8,186.6,189.5,188.0,192.3,194.3,196.0,197.8,207.6,209.5,209.2,214.8,216.9,219.0
|
7
|
+
Standard Deduction ($b),1239.1,2865.4,2954.6,3025.7,3081.5,3233.9,3534.0,3787.5,4013.8,4232.0,4378.4,4517.7,4657.6,5064.9,5226.6,5331.9,5591.1,5769.8,5953.2
|
8
|
+
Personal Exemption ($b),1365.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
|
9
|
+
Taxable Income ($b),8112.3,9179.3,9520.6,9907.3,12003.2,11891.1,11879.2,13486.4,13765.9,14348.6,14843.3,15401.0,16166.8,17042.4,17755.4,18502.9,19289.6,20081.0,20904.6
|
10
|
+
Regular Tax ($b),1656.8,1712.3,1778.2,1838.3,2281.5,2275.4,2228.2,2589.0,2646.5,2778.1,2868.0,2969.8,3103.8,3281.3,3417.2,3553.6,3745.8,3898.9,4057.2
|
11
|
+
AMT Income ($b),10512.4,11343.7,11750.0,12180.2,14331.2,14321.1,14527.9,16287.9,17079.5,17847.3,18470.5,19156.2,19884.1,20785.6,21618.5,22493.8,23413.5,24343.8,25308.1
|
12
|
+
AMT Liability ($b),51.3,22.1,23.0,25.1,27.8,27.4,28.7,31.2,32.9,35.6,36.9,38.5,40.4,41.9,42.4,45.1,48.1,50.2,51.9
|
13
|
+
AMT Filers (#m),5.7,0.2,0.2,0.3,0.4,0.3,0.2,0.3,0.3,0.4,0.4,0.4,0.3,0.3,0.3,0.4,0.4,0.4,0.4
|
14
|
+
Tax before Credits ($b),1708.1,1734.4,1801.2,1863.4,2309.4,2302.8,2256.9,2620.2,2679.4,2813.6,2904.8,3008.4,3144.1,3323.2,3459.6,3598.7,3793.9,3949.1,4109.1
|
15
|
+
Refundable Credits ($b),102.9,117.5,118.5,642.0,802.7,119.2,128.4,133.4,139.6,142.7,146.2,149.4,152.7,156.1,159.7,162.8,168.1,172.3,176.2
|
16
|
+
Nonrefundable Credits ($b),67.0,127.3,129.2,128.5,47.6,141.0,137.8,148.6,154.7,158.6,161.3,163.8,166.9,170.5,173.9,177.7,182.6,186.8,190.7
|
17
|
+
Reform Surtaxes ($b),0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
|
18
|
+
Other Taxes ($b),101.9,110.3,110.9,122.1,159.4,139.1,133.5,157.8,166.9,172.1,177.0,183.5,191.0,199.5,208.7,219.3,227.8,239.2,251.4
|
19
|
+
Ind Income Tax ($b),1640.1,1599.8,1664.4,1215.0,1618.5,2181.8,2124.2,2495.9,2552.0,2684.5,2774.5,2878.6,3015.6,3196.0,3334.8,3477.5,3670.9,3829.2,3993.6
|
20
|
+
Payroll Taxes ($b),1021.8,1067.8,1118.0,1139.7,1231.5,1324.7,1402.2,1485.7,1559.3,1632.0,1702.3,1774.7,1848.5,1923.2,2000.3,2080.8,2154.2,2237.7,2324.6
|
21
|
+
Combined Liability ($b),2661.9,2667.6,2782.4,2354.7,2849.9,3506.5,3526.4,3981.7,4111.2,4316.5,4476.7,4653.3,4864.1,5119.2,5335.1,5558.4,5825.1,6067.0,6318.2
|
22
|
+
With Income Tax <= 0 (#m),88.5,94.0,95.1,129.1,122.6,95.7,97.8,98.3,102.3,103.2,104.0,104.8,103.8,104.4,104.8,102.8,107.8,108.3,108.8
|
23
|
+
With Combined Tax <= 0 (#m),63.4,65.6,66.8,102.0,94.5,68.9,70.7,71.3,74.1,75.0,75.9,76.8,76.3,77.0,77.5,75.9,79.9,80.5,81.0
|
24
|
+
UBI Benefits ($b),0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
|
25
|
+
"Total Benefits, Consumption Value ($b)",1052.3,1104.9,1175.3,1243.9,1476.4,1411.5,1569.5,1703.5,1817.8,1924.3,2032.5,2147.0,2263.7,2381.5,2499.5,2549.6,2770.9,2898.1,3029.6
|
26
|
+
Total Benefits Cost ($b),1052.3,1104.9,1175.3,1243.9,1476.4,1411.5,1569.5,1703.5,1817.8,1924.3,2032.5,2147.0,2263.7,2381.5,2499.5,2549.6,2770.9,2898.1,3029.6
|
@@ -5,59 +5,59 @@ PTAX mtr histogram bin edges:
|
|
5
5
|
ITAX mtr histogram bin edges:
|
6
6
|
[-1.0, -0.3, -0.2, -0.1, 0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 1.0]
|
7
7
|
PTAX and ITAX mtr histogram bin counts for e00200p:
|
8
|
-
252868 : 0
|
9
|
-
252868 : 7375 73 2056
|
8
|
+
252868 : 0 27589 0 0 0 0 0 225279 0 0
|
9
|
+
252868 : 7375 73 2056 13092 45752 76594 50874 31261 25021 770
|
10
10
|
PTAX and ITAX mtr histogram bin counts for e00200s:
|
11
|
-
119177 : 0
|
12
|
-
119177 : 1449 22
|
11
|
+
119177 : 0 19601 0 0 0 0 0 99576 0 0
|
12
|
+
119177 : 1449 22 792 2760 11456 31293 26220 22338 22285 562
|
13
13
|
PTAX and ITAX mtr histogram bin counts for e00900p:
|
14
14
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
15
|
-
252868 : 6835 305 1552
|
15
|
+
252868 : 6835 305 1552 11868 42851 71250 52249 30574 31283 4101
|
16
16
|
PTAX and ITAX mtr histogram bin counts for e00300:
|
17
17
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
18
|
-
252868 : 0 0 0 0
|
18
|
+
252868 : 0 0 0 0 67638 76842 46566 31860 29142 820
|
19
19
|
PTAX and ITAX mtr histogram bin counts for e00400:
|
20
20
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
21
|
-
252868 : 0 0 0 0
|
21
|
+
252868 : 0 0 0 0 249270 3332 264 2 0 0
|
22
22
|
PTAX and ITAX mtr histogram bin counts for e00600:
|
23
23
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
24
|
-
252868 : 0 0 0 0
|
24
|
+
252868 : 0 0 0 0 67638 76842 46566 31860 29142 820
|
25
25
|
PTAX and ITAX mtr histogram bin counts for e00650:
|
26
26
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
27
|
-
252868 : 0 0 5 62
|
27
|
+
252868 : 0 0 5 62 145111 46818 59777 655 414 26
|
28
28
|
PTAX and ITAX mtr histogram bin counts for e01400:
|
29
29
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
30
|
-
252868 : 0 0 0 0
|
30
|
+
252868 : 0 0 0 0 67639 76869 50256 32344 24980 780
|
31
31
|
PTAX and ITAX mtr histogram bin counts for e01700:
|
32
32
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
33
|
-
252868 : 0 0 0 0
|
33
|
+
252868 : 0 0 0 0 67639 76869 50256 32344 24980 780
|
34
34
|
PTAX and ITAX mtr histogram bin counts for e02000:
|
35
35
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
36
|
-
252868 : 0 0 0 0
|
36
|
+
252868 : 0 0 0 0 67638 76842 46566 31860 29142 820
|
37
37
|
PTAX and ITAX mtr histogram bin counts for e02400:
|
38
38
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
39
|
-
252868 : 0 0 0 0
|
39
|
+
252868 : 0 0 0 0 114131 44785 59359 33593 967 33
|
40
40
|
PTAX and ITAX mtr histogram bin counts for p22250:
|
41
41
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
42
|
-
252868 : 0 0 1 1
|
42
|
+
252868 : 0 0 1 1 79203 76747 53033 24962 18409 512
|
43
43
|
PTAX and ITAX mtr histogram bin counts for p23250:
|
44
44
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
45
|
-
252868 : 0 0 1 48
|
45
|
+
252868 : 0 0 1 48 152419 43642 51315 2833 2562 48
|
46
46
|
PTAX and ITAX mtr histogram bin counts for e18500:
|
47
47
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
48
|
-
252868 :
|
48
|
+
252868 : 25486 25946 19626 7738 174072 0 0 0 0 0
|
49
49
|
PTAX and ITAX mtr histogram bin counts for e19200:
|
50
50
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
51
|
-
252868 :
|
51
|
+
252868 : 39721 32896 19923 4941 155387 0 0 0 0 0
|
52
52
|
PTAX and ITAX mtr histogram bin counts for e26270:
|
53
53
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
54
|
-
252868 : 0 0 0 0
|
54
|
+
252868 : 0 0 0 0 67639 76869 50256 32344 24980 780
|
55
55
|
PTAX and ITAX mtr histogram bin counts for e19800:
|
56
56
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
57
|
-
252868 :
|
57
|
+
252868 : 39573 32462 19847 4913 156073 0 0 0 0 0
|
58
58
|
PTAX and ITAX mtr histogram bin counts for e20100:
|
59
59
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
60
|
-
252868 :
|
60
|
+
252868 : 39488 32427 19788 4907 156258 0 0 0 0 0
|
61
61
|
PTAX and ITAX mtr histogram bin counts for k1bx14p:
|
62
62
|
252868 : 252868 0 0 0 0 0 0 0 0 0
|
63
|
-
252868 : 6835 305 1552
|
63
|
+
252868 : 6835 305 1552 11868 42851 71250 52249 30574 31283 4101
|
taxcalc/tests/reforms.json
CHANGED
@@ -504,7 +504,9 @@
|
|
504
504
|
"start_year": 2017,
|
505
505
|
"value": {"FST_AGI_trt": 0.3,
|
506
506
|
"FST_AGI_thd_lo": [1.0e6, 1.0e6, 0.5e6, 1.0e6, 1.0e6],
|
507
|
-
"
|
507
|
+
"FST_AGI_thd_lo-indexed": true,
|
508
|
+
"FST_AGI_thd_hi": [2.0e6, 2.0e6, 1.0e6, 2.0e6, 2.0e6],
|
509
|
+
"FST_AGI_thd_hi-indexed": true},
|
508
510
|
"name": "Increase FST rate from zero to 0.30 beginning in 2017",
|
509
511
|
"output_type": "iitax",
|
510
512
|
"compare_with": {"Tax Foundation": [321, "ten-year(2016-25)",
|
taxcalc/tests/reforms_expect.csv
CHANGED
@@ -1,61 +1,61 @@
|
|
1
1
|
rid,res1,res2,res3,res4
|
2
|
-
1,
|
3
|
-
2,
|
4
|
-
3,
|
2
|
+
1,62.1,63.1,66.2,68.9
|
3
|
+
2,54.2,58.6,53.5,62.0
|
4
|
+
3,75.1,76.2,80.3,84.3
|
5
5
|
4,0.0,0.0,0.0,0.0
|
6
6
|
5,0.0,0.0,0.0,0.0
|
7
|
-
6,
|
8
|
-
7,
|
9
|
-
8,1.9,
|
10
|
-
9,
|
11
|
-
10,
|
12
|
-
11,
|
7
|
+
6,38.4,39.2,40.0,41.0
|
8
|
+
7,9.8,9.9,10.5,11.0
|
9
|
+
8,1.9,2.0,2.1,2.2
|
10
|
+
9,4.4,4.3,4.9,5.3
|
11
|
+
10,8.2,8.6,9.1,9.5
|
12
|
+
11,2.4,2.7,2.6,2.8
|
13
13
|
12,0.1,0.1,0.1,0.1
|
14
|
-
13,-33.
|
14
|
+
13,-33.5,-32.1,-35.0,-36.5
|
15
15
|
14,-0.1,-0.1,-0.1,-0.1
|
16
|
-
15,0.
|
16
|
+
15,0.2,0.2,0.2,0.3
|
17
17
|
16,-1.0,-1.0,-1.5,-1.6
|
18
18
|
17,-0.2,-0.2,-0.3,-0.3
|
19
|
-
18,
|
20
|
-
19,
|
21
|
-
20,
|
22
|
-
21,
|
23
|
-
22,9.
|
24
|
-
23,0.
|
25
|
-
24,
|
26
|
-
25,
|
19
|
+
18,35.8,37.3,40.2,42.5
|
20
|
+
19,68.2,69.9,75.1,80.2
|
21
|
+
20,103.3,106.9,116.1,122.6
|
22
|
+
21,68.7,70.7,76.4,80.6
|
23
|
+
22,9.6,11.0,10.0,10.3
|
24
|
+
23,0.3,0.3,0.3,0.4
|
25
|
+
24,52.5,54.2,57.2,60.3
|
26
|
+
25,2.0,2.1,2.2,2.3
|
27
27
|
26,0.1,0.1,0.1,0.1
|
28
|
-
27,0.
|
29
|
-
28,
|
30
|
-
29,
|
31
|
-
30,-6.
|
32
|
-
31,
|
33
|
-
32,12.
|
34
|
-
33,7.
|
35
|
-
34,-1.
|
36
|
-
35,-2.9,-2.8,-3.
|
37
|
-
36,3.
|
38
|
-
37,
|
39
|
-
38,9.
|
40
|
-
39,-0.6,-0.
|
41
|
-
40,
|
42
|
-
41,0.
|
28
|
+
27,0.2,0.2,0.2,0.2
|
29
|
+
28,4.0,3.8,4.5,4.9
|
30
|
+
29,15.2,13.8,17.9,19.4
|
31
|
+
30,-6.4,-6.2,-1.6,-1.6
|
32
|
+
31,58.2,58.6,62.5,66.3
|
33
|
+
32,12.6,12.1,14.0,15.1
|
34
|
+
33,7.6,7.1,8.4,9.1
|
35
|
+
34,-1.3,-0.9,-1.5,-1.6
|
36
|
+
35,-2.9,-2.8,-3.4,-3.5
|
37
|
+
36,3.2,3.3,3.6,3.9
|
38
|
+
37,30.9,32.0,35.4,37.3
|
39
|
+
38,9.7,10.0,11.2,11.8
|
40
|
+
39,-0.6,-0.6,-0.7,-0.7
|
41
|
+
40,56.0,53.5,52.7,51.9
|
42
|
+
41,0.6,0.6,0.7,0.7
|
43
43
|
42,-0.2,-0.2,-0.2,-0.2
|
44
|
-
43,
|
45
|
-
44,1.
|
46
|
-
45,-2.1,-2.0,-2.
|
47
|
-
46,-2.
|
44
|
+
43,71.8,68.8,67.6,69.4
|
45
|
+
44,1.1,1.1,1.1,1.2
|
46
|
+
45,-2.1,-2.0,-2.1,-2.2
|
47
|
+
46,-2.0,-1.7,-2.0,-2.1
|
48
48
|
47,-0.8,-0.8,-0.8,-0.7
|
49
49
|
48,-0.0,-0.0,-0.0,-0.0
|
50
|
-
49,-
|
51
|
-
50,-0.
|
50
|
+
49,-27.2,-24.3,-31.9,-34.8
|
51
|
+
50,-0.4,-0.4,-0.4,-0.4
|
52
52
|
51,-187.0,-187.5,-193.6,-201.6
|
53
|
-
52,-
|
54
|
-
53,
|
53
|
+
52,-129.1,-128.5,-131.9,-136.9
|
54
|
+
53,31.6,34.1,32.5,42.1
|
55
55
|
54,0.0,0.0,0.0,0.0
|
56
|
-
55,-
|
57
|
-
56,-
|
58
|
-
57
|
59
|
-
58,-17.4,-
|
60
|
-
59,-12.
|
61
|
-
60,-46.9,-48.1,-49.
|
56
|
+
55,-68.2,-68.4,-68.7,-68.7
|
57
|
+
56,-68.8,-68.9,-69.2,-69.2
|
58
|
+
57,1.4,1.7,1.7,1.4
|
59
|
+
58,-16.8,-17.4,-23.7,-19.2
|
60
|
+
59,-12.2,-12.2,-21.2,-13.3
|
61
|
+
60,-46.9,-48.1,-49.3,-52.1
|
taxcalc/tests/test_4package.py
CHANGED
@@ -66,9 +66,9 @@ def test_for_consistency(tests_path):
|
|
66
66
|
'pycodestyle',
|
67
67
|
'pylint',
|
68
68
|
'coverage',
|
69
|
-
|
70
|
-
|
71
|
-
|
69
|
+
'pip',
|
70
|
+
'jupyter-book',
|
71
|
+
'setuptools'
|
72
72
|
])
|
73
73
|
# read conda.recipe/meta.yaml requirements
|
74
74
|
meta_file = os.path.join(tests_path, '..', '..',
|
@@ -86,10 +86,10 @@ def test_for_consistency(tests_path):
|
|
86
86
|
envr = yaml.safe_load(stream)
|
87
87
|
|
88
88
|
env = []
|
89
|
-
for dep in envr[
|
89
|
+
for dep in envr['dependencies']:
|
90
90
|
if isinstance(dep, dict):
|
91
|
-
assert list(dep.keys()) == [
|
92
|
-
env += dep[
|
91
|
+
assert list(dep.keys()) == ['pip']
|
92
|
+
env += dep['pip']
|
93
93
|
else:
|
94
94
|
env.append(dep)
|
95
95
|
env = set(env)
|
@@ -102,9 +102,8 @@ def test_for_consistency(tests_path):
|
|
102
102
|
with open(setup_file, 'r', encoding='utf-8') as f:
|
103
103
|
setup_py_content = f.read()
|
104
104
|
setup = set(extract_install_requires(setup_py_content))
|
105
|
-
|
106
|
-
print(
|
107
|
-
print("Meta packages = ", bld)
|
105
|
+
print('Setup packages = ', setup)
|
106
|
+
print('Meta packages = ', bld)
|
108
107
|
# if package in both, confirm that the version is the same
|
109
108
|
for pkg in setup.intersection(bld):
|
110
109
|
assert pkg in setup
|