-
Notifications
You must be signed in to change notification settings - Fork 201
Fix good first issues: parameterize MT deduction rate and remove confusing comment #6650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Fix good first issues: parameterize MT deduction rate and remove confusing comment #6650
Conversation
…using comment - Parameterize the 0.5 spouse allocation rate for Montana itemized deductions - Add spouse_allocation_rate parameter to MT itemized deductions - Remove confusing comment in .github/update_api.py Fixes PolicyEngine#6553 Fixes PolicyEngine#6362 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6650 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 1 -2
Lines 39 18 -21
=========================================
- Hits 39 18 -21
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
✅ PR Ready for MergeAll validation complete:
Fixes:
This PR is production-ready. |
Updated Parameter StandardsFixed parameter file to meet PolicyEngine standards:
Parameter-architect agent enhanced with these requirements for future parameterization. |
...ngine_us/parameters/gov/states/mt/tax/income/deductions/itemized/spouse_allocation_rate.yaml
Outdated
Show resolved
Hide resolved
|
…on and add 2024 null value
✅ References Updated and CorroboratedFixed critical reference issues found by reference-validator:
References now properly support the 0.5 allocation rate. |
✅ All CI Checks PassingFinal reference uses Montana Department of Revenue's official Form 2 Instructions page as primary source. Ready for merge. |
| values: | ||
| 2022-01-01: 0.5 | ||
| metadata: | ||
| label: Montana itemized deductions spouse allocation rate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add period
| unit: /1 | ||
| reference: | ||
| - title: Montana Form 2 Instructions - Itemized deductions divided equally for MFS on same form | ||
| href: https://revenue.mt.gov/publications/montana-form-2-individual-income-tax-return-forms-and-instructions-includes-form-2ec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add a comment stating that it is not an actual policy parameter
| @@ -0,0 +1,9 @@ | |||
| description: Montana divides itemized deductions equally between spouses when married filing separately on the same form. | |||
| values: | |||
| 2022-01-01: 0.5 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need 2021 start date to not break 2021 runs
Summary
Fixes two good first issues with simple, clear improvements.
Changes
1. Parameterize Montana itemized deductions spouse allocation (#6553)
spouse_allocation_rate.yamlparameter (value: 0.5)mt_itemized_deductions_indiv.pyto use parameter instead of hard-coded 0.52. Remove confusing comment (#6362)
.github/update_api.pyTest Plan
make format)Related Issues
Fixes #6553
Fixes #6362
🤖 Generated with Claude Code