Minnesota itemized deductions: a source-conflict note cites moved lines, and a 2023 case sets an input the formula no longer reads
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
Hướng nghiên cứu
Start with source_conflicts/candidates.yaml, the Minnesota deduction variables and reform, and policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/mn_itemized_deductions.yaml; check the source-conflict marker guidance in test_source_conflicts.py. Update the stale note or replace it with markers if the candidate has moved to the shared register, correct the case input, and update both section 170 references to uscode.house.gov while preserving subsection anchors. Run the relevant policy and source-conflict checks; the computed result should stay unchanged.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The fixes touch a source-conflict note, one test input and two references, and change no computed result.
The wagering source-conflict note cites lines that have moved
The note on us-mn:wagering-losses-itemized-limitation-exclusion says the baseline leaves out wagering_losses_deduction at mn_itemized_deductions.py lines 68 and 71, and the HF1938 reform at mn_walz_hf1938.py lines 136 and 139. When #10070 added the note, those lines held the wagering_losses_deduction entry and the net_deds line in each file. #10872 added lines above both, so they now sit at lines 72 and 75 and lines 144 and 147. In the baseline, line 68 now opens the list and line 71 names mn_casualty_loss_deduction.
A fix names the exempt_deds list in each file in place of the line numbers. If the entry moves from candidates.yaml into the shared register first, the candidate and its note go, and a # Source conflict marker at each list can take their place, as test_source_conflicts.py describes (markers, backlog).
A 2023 case sets an input the formula no longer reads
The case "Minnesota exempts wagering losses from the 2023 high-income limitation" in mn_itemized_deductions.yaml sets capped_property_taxes: 0. From 2019, mn_property_tax_deduction adds real_estate_taxes and mn_personal_property_taxes and caps the sum. In Minnesota, only the formula for earlier years reads capped_property_taxes. The 2019 formula follows Minn. Stat. 290.0122, subd. 3(a)(1) (2023 edition), which allows "state and local personal property taxes and real property taxes, in a total amount for both types not to exceed $10,000".
Both inputs default to zero, so the model still returns the case's $50,000: $50,000 of wagering losses, all outside the limitation, less 80% of $0. With capped_property_taxes: 20_000, the model returns the same $50,000. Setting mn_property_tax_deduction: 0 in its place pins Minnesota's property tax amount at zero under either formula, as mn_casualty_loss_deduction: 0 does for casualty losses.
Two section 170 references point to law.cornell.edu
charitable_deduction.py and charitable_deduction_before_floor.py cite 26 U.S.C. 170 on law.cornell.edu. The House's Office of the Law Revision Counsel serves the current section at https://uscode.house.gov/us/usc/t26/s170/ and the release through Public Law 119-142 at https://uscode.house.gov/us/usc/119-142/t26/s170/. At main, 17 files already link to that site, some in each form. At main, 36 lines in 31 files cite the section on law.cornell.edu, 20 of them with a subsection fragment such as #b_1_G. The House page carries matching anchors, such as #b-1-G, so each link can keep its subsection.
Related: #10070, #10872, #10110.
🤖 Generated with Claude Code
- Ngôn ngữ chính
- Python
- Star
- 178
- Fork
- 224
- Merge trung bình
- 2 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 309
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PolicyEngine/policyengine-us
-
Secondary earnings threshold description names a stale 2035 capCó thể đã có người làm @Prabh022 đã nhận 1 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
PolicyEngine/policyengine-us#11252 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
PolicyEngine/policyengine-us#11201 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Idaho BBCE households without an elderly or disabled member should face the SNAP net income testCó thể đã có người làm @DTrim99 đã nhận 4 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
PolicyEngine/policyengine-us#11199 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
California's Medi-Cal immigration test passes pregnant people but not those in the postpartum periodĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
PolicyEngine/policyengine-us#11192 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
PolicyEngine/policyengine-us#11084 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của PolicyEngine/policyengine-us
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
bad-antics/lateralus-lang#1140 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Groq: SQL fallback call sends tools with response_format, so a failed tool loop never recoversĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 3 ngày
-
fixture good first issue help wanted vendor:cisco
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100