Skip to content

Commit

Permalink
Merge pull request #2372 from Peter-Metz/sections
Browse files Browse the repository at this point in the history
Modify section headings in policy_current_law.json
  • Loading branch information
MattHJensen authored Oct 11, 2019
2 parents e0f3a4a + 8b07d28 commit 31889bd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 34 deletions.
22 changes: 7 additions & 15 deletions docs/uguide.htmx
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ You loaded data for 2014.
Tax-Calculator startup automatically extrapolated your data to 2022.

(7)$ ls cps-22*
cps-22-#-ref3-#-doc.text cps-22-#-ref3-#.csv
cps-22-#-ref3-#-doc.text cps-22-#-ref3-#.csv
cps-22-#-ref3-#-tab.text

(7)$ cat cps-22-#-ref3-#-tab.text
Expand Down Expand Up @@ -608,8 +608,8 @@ You loaded data for 2014.
Tax-Calculator startup automatically extrapolated your data to 2024.

(8)$ ls cps-24-*
cps-24-#-ref3-#-atr.html cps-24-#-ref3-#-pch.html
cps-24-#-ref3-#-doc.text cps-24-#-ref3-#.csv
cps-24-#-ref3-#-atr.html cps-24-#-ref3-#-pch.html
cps-24-#-ref3-#-doc.text cps-24-#-ref3-#.csv
cps-24-#-ref3-#-mtr.html
</pre></p>

Expand Down Expand Up @@ -867,9 +867,7 @@ bin number | weighted count | mean NON-NEGATIVE MTR in bin

<h4 id="pol-social-security-taxability">3c. Social Security Taxability</h4>

<!-- Social Security Taxability @ Threshold For Social Security Benefit Taxability 1 -->

<!-- Social Security Taxability @ Threshold For Social Security Benefit Taxability 2 -->
<!-- Social Security Taxability @ -->

<h4 id="pol-above-the-line-deductions">3d. Above The Line Deductions</h4>

Expand All @@ -881,17 +879,11 @@ bin number | weighted count | mean NON-NEGATIVE MTR in bin

<h4 id="pol-personal-exemptions">3e. Personal Exemptions</h4>

<!-- Personal Exemptions @ Personal And Dependent Exemption Amount -->

<!-- Personal Exemptions @ Personal Exemption Phaseout Rate -->

<!-- Personal Exemptions @ Repeal for Dependents Under Age 18 -->
<!-- Personal Exemptions @ -->

<h4 id="pol-standard-deduction">3f. Standard Deduction</h4>

<!-- Standard Deduction @ Standard Deduction Amount -->

<!-- Standard Deduction @ Additional Standard Deduction For Blind And Aged -->
<!-- Standard Deduction @ -->

<h4 id="pol-nonrefundable-credits">3g. Nonrefundable Credits</h4>

Expand Down Expand Up @@ -1047,4 +1039,4 @@ bin number | weighted count | mean NON-NEGATIVE MTR in bin

<!-- #TOP# -->
</body>
</html>
</html>
16 changes: 8 additions & 8 deletions taxcalc/policy_current_law.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"long_name": "Threshold for Social Security benefit taxability 1",
"description": "The first threshold for Social Security benefit taxability: if taxpayers have provisional income greater than this threshold, up to 50% of their Social Security benefit will be subject to tax under current law.",
"section_1": "Social Security Taxability",
"section_2": "Threshold For Social Security Benefit Taxability 1",
"section_2": "",
"irs_ref": "Form 1040, line 5a&b, calculation (Worksheet, line 8)",
"notes": "",
"value_yrs": [2013],
Expand Down Expand Up @@ -210,7 +210,7 @@
"long_name": "Threshold for Social Security benefit taxability 2",
"description": "The second threshold for Social Security taxability: if taxpayers have provisional income greater than this threshold, up to 85% of their Social Security benefit will be subject to tax under current law.",
"section_1": "Social Security Taxability",
"section_2": "Threshold For Social Security Benefit Taxability 2",
"section_2": "",
"irs_ref": "Form 1040, line 5a&b, calculation (Worksheet, add line 10 values to line 8).",
"notes": "",
"value_yrs": [2013],
Expand Down Expand Up @@ -764,7 +764,7 @@
"long_name": "Personal and dependent exemption amount",
"description": "Subtracted from AGI in the calculation of taxable income, per taxpayer and dependent.",
"section_1": "Personal Exemptions",
"section_2": "Personal And Dependent Exemption Amount",
"section_2": "",
"irs_ref": "Form 1040, line 42. ",
"notes": "",
"value_yrs": [2013,
Expand Down Expand Up @@ -842,7 +842,7 @@
"long_name": "Personal exemption phaseout rate",
"description": "Personal exemption amount will decrease by this rate for each dollar of AGI exceeding exemption phaseout start.",
"section_1": "Personal Exemptions",
"section_2": "Personal Exemption Phaseout Rate",
"section_2": "",
"irs_ref": "Form 1040, line 42, instruction (Worksheet).",
"notes": "",
"value_yrs": [2013],
Expand All @@ -863,7 +863,7 @@
"long_name": "Repeal personal exemptions for dependents under age 18",
"description": "Total personal exemptions will be decreased by the number of dependents under the age of 18.",
"section_1": "Personal Exemptions",
"section_2": "Repeal for Dependents Under Age 18",
"section_2": "",
"irs_ref": "",
"notes": "",
"value_yrs": [2013],
Expand All @@ -884,7 +884,7 @@
"long_name": "Standard deduction amount",
"description": "Amount filing unit can use as a standard deduction.",
"section_1": "Standard Deduction",
"section_2": "Standard Deduction Amount",
"section_2": "",
"irs_ref": "Form 1040, line 8, instructions. ",
"notes": "",
"value_yrs": [2013,
Expand Down Expand Up @@ -962,7 +962,7 @@
"long_name": "Additional standard deduction for blind and aged",
"description": "To get the standard deduction for aged or blind individuals, taxpayers need to add this value to regular standard deduction.",
"section_1": "Standard Deduction",
"section_2": "Additional Standard Deduction For Blind And Aged",
"section_2": "",
"irs_ref": "Form 1040, line 8, calculation (the difference of the two tables given in the instruction).",
"notes": "",
"value_yrs": [2013,
Expand Down Expand Up @@ -6585,4 +6585,4 @@
"invalid_action": "stop",
"compatible_data": {"puf": false, "cps": true}
}
}
}
14 changes: 3 additions & 11 deletions taxcalc/tests/test_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,26 +699,18 @@ def generate_section_dictionary(html_text):
'Additional Medicare FICA': 0
},
'Social Security Taxability': {
'Threshold For Social Security Benefit Taxability 1': 0,
# 'Social Security Taxable Income Decimal Fraction 1': 0,
'Threshold For Social Security Benefit Taxability 2': 0
# 'Social Security Taxable Income Decimal Fraction 2': 0
'': 0,
},
'Above The Line Deductions': {
'Misc. Adjustment Haircuts': 0,
'Misc. Exclusions': 0,
'Child And Elderly Care': 0
},
'Personal Exemptions': {
'Personal And Dependent Exemption Amount': 0,
# 'Personal Exemption Phaseout Starting Income': 0,
'Personal Exemption Phaseout Rate': 0,
'Repeal for Dependents Under Age 18': 0
'': 0,
},
'Standard Deduction': {
'Standard Deduction Amount': 0,
'Additional Standard Deduction For Blind And Aged': 0
# 'Standard Deduction For Dependents': 0
'': 0,
},
'Nonrefundable Credits': {
'Misc. Credit Limits': 0,
Expand Down

0 comments on commit 31889bd

Please sign in to comment.