From 207f1f4193cb2ed683ec1782722d321fdbf1df24 Mon Sep 17 00:00:00 2001 From: Ziming Date: Wed, 11 Nov 2026 15:20:27 -0500 Subject: [PATCH 1/3] Document the VA disability rating flags and tighten veteran rule notes Follow-up to David's review of PolicyEngine/policyengine-us#10768. Move both VA flags' definitions into documentation strings with clearer labels and the set-both rule, and resolve the Oklahoma LIHEAP comment that entered aid-and-attendance or housebound veterans as is_permanently_disabled_veteran. Note that Medicaid clause (V) does not read the tax disability flag, cite the CMS preamble on individual unemployability, add paragraph anchors, name both Kansas statutes, and note the Hawaii unemployability and Kansas aggravation readings and the CTA's second limb. Add Hawaii and USDA cases, and make the Medicaid and Kansas cases test the VA flags directly. Co-Authored-By: Claude Opus 5.5 --- ...teran-disability-flag-followups.changed.md | 1 + .../gov/usda/disabled_programs.yaml | 8 +-- .../medicaid_work_requirement_eligible.yaml | 1 - .../hi/dhs/liheap/hi_liheap_points.yaml | 52 +++++++++++++++++++ .../ks_disabled_veteran_exemption_2025.yaml | 4 +- ...ed_veteran_exemptions_eligible_person.yaml | 11 ++-- .../baseline/gov/usda/is_usda_disabled.yaml | 9 ++++ .../medicaid_work_requirement_eligible.py | 14 +++-- .../states/hi/dhs/liheap/hi_liheap_points.py | 8 ++- .../il_cta_military_service_pass_eligible.py | 6 ++- .../ks_disabled_veteran_exemptions_person.py | 18 ++++--- .../income/ok_liheap_income_deductions.py | 9 ++-- ...ully_disabled_service_connected_veteran.py | 20 +++---- .../person/is_permanently_disabled_veteran.py | 20 ++++--- 14 files changed, 133 insertions(+), 48 deletions(-) create mode 100644 changelog.d/veteran-disability-flag-followups.changed.md diff --git a/changelog.d/veteran-disability-flag-followups.changed.md b/changelog.d/veteran-disability-flag-followups.changed.md new file mode 100644 index 00000000000..313530c753f --- /dev/null +++ b/changelog.d/veteran-disability-flag-followups.changed.md @@ -0,0 +1 @@ +Document the VA disability rating flags for app and API users, and tighten the notes and references in the veteran rules that read them. diff --git a/policyengine_us/parameters/gov/usda/disabled_programs.yaml b/policyengine_us/parameters/gov/usda/disabled_programs.yaml index b0f156ccc54..075473cbc33 100644 --- a/policyengine_us/parameters/gov/usda/disabled_programs.yaml +++ b/policyengine_us/parameters/gov/usda/disabled_programs.yaml @@ -11,10 +11,12 @@ values: - social_security_disability # Clause (6) of the definition covers "a veteran with a service-connected # or non-service-connected disability rated by the Veteran's - # Administration (VA) as total or paid as total". The first flag covers a - # service-connected rating, temporary or permanent; the second covers a + # Administration (VA) as total or paid as total". + # is_fully_disabled_service_connected_veteran covers a service-connected + # rating, temporary or permanent; is_permanently_disabled_veteran covers a # permanent and total rating, which a non-service-connected (pension) - # rating requires. + # rating requires. Clause (7), a veteran in need of regular aid and + # attendance or permanently housebound, has no input. - is_fully_disabled_service_connected_veteran - is_permanently_disabled_veteran - is_surviving_spouse_of_disabled_veteran diff --git a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.yaml index 6ba5269c4a2..dd32df57d58 100644 --- a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.yaml @@ -418,7 +418,6 @@ input: age: 40 monthly_hours_worked: 0 - is_veteran: true is_fully_disabled_service_connected_veteran: true medicaid_community_engagement_pass_through_eligible: false output: diff --git a/policyengine_us/tests/policy/baseline/gov/states/hi/dhs/liheap/hi_liheap_points.yaml b/policyengine_us/tests/policy/baseline/gov/states/hi/dhs/liheap/hi_liheap_points.yaml index 0f12c3d4df2..e6f3e652e48 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/hi/dhs/liheap/hi_liheap_points.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/hi/dhs/liheap/hi_liheap_points.yaml @@ -1103,3 +1103,55 @@ county: HONOLULU_COUNTY_HI output: hi_liheap_points: [5, 4] + +- name: Case 18, the VA 100% flag earns one disabled-adult point from age 18 and does not stack. + period: 2026 + # Each unit has 4 points before vulnerability, as in Case 17. + # person1 (18, VA flag) reaches the adult minimum age: 5. + # person2 (40, VA flag and SSDI) still earns one vulnerability point: 5, not 6. + # person3 (17, VA flag) is under the adult minimum age: 4. + input: + people: + person1: + age: 18 + ssi: 0 + employment_income: 12_000 + is_fully_disabled_service_connected_veteran: true + person2: + age: 40 + ssi: 0 + social_security_disability: 12_000 + is_fully_disabled_service_connected_veteran: true + person3: + age: 17 + ssi: 0 + employment_income: 12_000 + is_fully_disabled_service_connected_veteran: true + spm_units: + spm_unit1: + members: [person1] + heating_type: NATURAL_GAS + hi_tanf: 0 + spm_unit2: + members: [person2] + heating_type: NATURAL_GAS + hi_tanf: 0 + spm_unit3: + members: [person3] + heating_type: NATURAL_GAS + hi_tanf: 0 + households: + household1: + members: [person1] + state_code: HI + county: HONOLULU_COUNTY_HI + household2: + members: [person2] + state_code: HI + county: HONOLULU_COUNTY_HI + household3: + members: [person3] + state_code: HI + county: HONOLULU_COUNTY_HI + output: + hi_liheap_points: [5, 5, 4] diff --git a/policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemption_2025.yaml b/policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemption_2025.yaml index 9f8c7225cf5..30b3fa92fef 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemption_2025.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemption_2025.yaml @@ -142,7 +142,7 @@ state_code: KS output: # Base exemption for single: $9,160 - # No disabled veteran exemption (not disabled) + # No disabled veteran exemption (neither VA rating flag is set) # Total exemptions: $9,160 ks_exemptions: 9_160 @@ -163,6 +163,6 @@ state_code: KS output: # Base exemption for single: $9,160 - # No disabled veteran exemption (not a veteran) + # No disabled veteran exemption (neither VA rating flag is set) # Total exemptions: $9,160 ks_exemptions: 9_160 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemptions_eligible_person.yaml b/policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemptions_eligible_person.yaml index 2a486564737..443758a16be 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemptions_eligible_person.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemptions_eligible_person.yaml @@ -1,4 +1,4 @@ -- name: Case 1, the filer is a disabled veteran, get exemptions. +- name: Case 1, the filer is a disabled veteran, get exemptions. period: 2023 input: is_fully_disabled_service_connected_veteran: true @@ -7,15 +7,16 @@ output: ks_disabled_veteran_exemptions_eligible_person: true -- name: Case 2, the filer is a veteran, but not disabled, no exemption. +- name: Case 2, a veteran with neither VA rating flag gets no exemption. period: 2023 input: - is_permanently_and_totally_disabled: false is_veteran: true + is_fully_disabled_service_connected_veteran: false + is_permanently_disabled_veteran: false state_code: KS output: ks_disabled_veteran_exemptions_eligible_person: false - + - name: Case 3, a veteran unable to work without a 100% VA rating gets no exemption. period: 2023 input: @@ -25,7 +26,7 @@ output: ks_disabled_veteran_exemptions_eligible_person: false -- name: Case 4, in 2022, the filer is a disabled veteran. +- name: Case 4, in 2022, the filer is a disabled veteran. period: 2022 input: is_fully_disabled_service_connected_veteran: true diff --git a/policyengine_us/tests/policy/baseline/gov/usda/is_usda_disabled.yaml b/policyengine_us/tests/policy/baseline/gov/usda/is_usda_disabled.yaml index 8db7987d2f5..c1a9af3c6ca 100644 --- a/policyengine_us/tests/policy/baseline/gov/usda/is_usda_disabled.yaml +++ b/policyengine_us/tests/policy/baseline/gov/usda/is_usda_disabled.yaml @@ -76,3 +76,12 @@ is_permanently_disabled_veteran: false output: is_usda_disabled: true + +- name: Case 10, a veteran with a permanent and total VA rating that is not 100% service-connected is USDA disabled. + period: 2026 + input: + age: 40 + is_fully_disabled_service_connected_veteran: false + is_permanently_disabled_veteran: true + output: + is_usda_disabled: true diff --git a/policyengine_us/variables/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.py b/policyengine_us/variables/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.py index e7e82c6ec44..c847bcf4877 100644 --- a/policyengine_us/variables/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.py +++ b/policyengine_us/variables/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.py @@ -11,7 +11,8 @@ class medicaid_work_requirement_eligible(Variable): "https://www.medicaid.gov/federal-policy-guidance/downloads/cib12082025.pdf", "https://www.law.cornell.edu/uscode/text/42/1382c#a_3", "https://www.govinfo.gov/content/pkg/PLAW-119publ21/pdf/PLAW-119publ21.pdf#page=242", - "https://www.law.cornell.edu/cfr/text/42/435.554", + "https://www.ecfr.gov/current/title-42/section-435.554#p-435.554(c)(4)", + "https://www.govinfo.gov/content/pkg/FR-2026-06-03/pdf/2026-11094.pdf#page=25", ) def formula(person, period, parameters): @@ -66,9 +67,11 @@ def formula(person, period, parameters): is_dependent = person("is_tax_unit_dependent", period) is_disabled = person("is_disabled", period) has_disabled = person.tax_unit.any(is_dependent & is_disabled) - # Clause (IV): a veteran with a disability rated as total under 38 - # U.S.C. 1155, which 42 CFR 435.554(c)(4) reads as "a temporary or - # permanent disability ... rated as 100 percent (total)". + # SSA 1902(xx)(9)(A)(ii)(IV): a veteran with a disability rated as + # total under 38 U.S.C. 1155, which 42 CFR 435.554(c)(4) reads as "a + # temporary or permanent disability ... rated as 100 percent (total)". + # CMS treats a total rating based on individual unemployability the + # same way (91 FR 33372). eligible_veteran = person("is_fully_disabled_service_connected_veteran", period) # blind or disabled or is_incapable_of_self_care p.694 (V) is_blind = person("is_blind", period) @@ -76,6 +79,9 @@ def formula(person, period, parameters): # "Blind or disabled" is defined by cross-reference to section 1614 # of the Social Security Act, so the SSI disability test also exempts. is_ssi_disabled = person("is_ssi_disabled", period) + # NOTE: is_permanently_and_totally_disabled (IRC 22(e)(3)) is not read + # here. Enter a section 1614 disability as is_ssi_disabled or + # is_disabled. eligible_disabled = ( is_blind | is_disabled | is_ssi_disabled | is_incapable_of_self_care ) diff --git a/policyengine_us/variables/gov/states/hi/dhs/liheap/hi_liheap_points.py b/policyengine_us/variables/gov/states/hi/dhs/liheap/hi_liheap_points.py index 92f53f6474b..73ef3384326 100644 --- a/policyengine_us/variables/gov/states/hi/dhs/liheap/hi_liheap_points.py +++ b/policyengine_us/variables/gov/states/hi/dhs/liheap/hi_liheap_points.py @@ -12,8 +12,10 @@ class hi_liheap_points(Variable): "https://liheapch.acf.gov/docs/2026/state-plans/HI_Plan_2026.pdf#page=10", # PDF pages 2-3 "https://liheapch.acf.gov/docs/2026/benefits-matricies/HI_BenefitMatrix_2026.pdf#page=2", - # PDF pages 2, 8 + # PDF pages 2, 8, 20 "https://humanservices.hawaii.gov/wp-content/uploads/2019/07/Policies-and-Procedures-2020.pdf#page=2", + # PDF pages 55, 69 + "https://humanservices.hawaii.gov/wp-content/uploads/2025/07/Model-Plan-Packet-2026.pdf#page=55", ) def formula(spm_unit, period, parameters): @@ -55,7 +57,9 @@ def formula(spm_unit, period, parameters): # Security disability payments, or "VA benefits for a 100% # service-connected disability". Governmental disability retirement # and railroad disability have no separate input, so is_disabled - # stands in for them. This affects points only. + # stands in for them. The manuals don't say whether a total rating + # based on individual unemployability counts; the VA flag includes + # it. This affects points only. disabled = ( person("is_disabled", period) | (person("ssi", period, options=[ADD]) > 0) diff --git a/policyengine_us/variables/gov/states/il/rta/cta/free_ride/il_cta_military_service_pass_eligible.py b/policyengine_us/variables/gov/states/il/rta/cta/free_ride/il_cta_military_service_pass_eligible.py index 04b9cbcd9c2..e0418f7d3f3 100644 --- a/policyengine_us/variables/gov/states/il/rta/cta/free_ride/il_cta_military_service_pass_eligible.py +++ b/policyengine_us/variables/gov/states/il/rta/cta/free_ride/il_cta_military_service_pass_eligible.py @@ -12,8 +12,10 @@ class il_cta_military_service_pass_eligible(Variable): def formula(person, period, parameters): is_in_active_duty = person("military_basic_pay", period) > 0 # NOTE: The CTA covers a veteran with VA disability compensation "of - # 10% or greater". The model has no input for ratings below 100%, so - # veterans rated 10% to 90% are missed. + # 10% or greater", or with military disability retirement pay in lieu + # of VA compensation "at a rate of 10% or greater". The model has no + # shared input for ratings below 100%, so veterans rated 10% to 90% + # are missed. disabled_veterans = person( "is_fully_disabled_service_connected_veteran", period ) diff --git a/policyengine_us/variables/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemptions_person.py b/policyengine_us/variables/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemptions_person.py index 35d700c95a5..c79dc3d59f6 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemptions_person.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemptions_person.py @@ -10,18 +10,22 @@ class ks_disabled_veteran_exemptions_eligible_person(Variable): "https://law.justia.com/codes/kansas/chapter-79/article-32/section-79-32-121/", "https://www.kslegislature.gov/li/b2025_26/statute/079_000_0000_chapter/079_032_0000_article/079_032_0121b_section/079_032_0121b_k/", "https://www.ksrevenue.gov/pdf/ip23.pdf#page=6", + "https://www.ksrevenue.gov/pdf/ip25.pdf#page=6", ) defined_for = StateCode.KS def formula(person, period, parameters): p = parameters(period).gov.states.ks.tax.income.exemptions.disabled_veteran - # K.S.A. 79-32,121b(b)(2): a veteran the VA certifies "to be in - # receipt of disability compensation at the 100% rate, if the - # disability is permanent and was sustained through military action - # or accident or resulted from disease contracted while in such - # active service". The VA flags already imply veteran status. The - # model has no discharge input, so a flagged veteran is assumed to - # have been honorably discharged. + # K.S.A. 79-32,121(b) for 2023 and 2024 ($2,250) and 79-32,121b(b)(2) + # from 2025 ($2,320): a veteran the VA certifies "to be in receipt of + # disability compensation at the 100% rate, if the disability is + # permanent and was sustained through military action or accident or + # resulted from disease contracted while in such active service". The + # VA flags already imply veteran status. The model has no discharge + # input, so a flagged veteran is assumed to have been honorably + # discharged. VA service connection also covers aggravation of an + # earlier condition (38 U.S.C. 1110); the model can't separate it, so + # any 100% service-connected rating meets the Kansas wording. paid_at_100_percent = person( "is_fully_disabled_service_connected_veteran", period ) diff --git a/policyengine_us/variables/gov/states/ok/dhs/liheap/income/ok_liheap_income_deductions.py b/policyengine_us/variables/gov/states/ok/dhs/liheap/income/ok_liheap_income_deductions.py index f0e0c5e6833..0129d45e240 100644 --- a/policyengine_us/variables/gov/states/ok/dhs/liheap/income/ok_liheap_income_deductions.py +++ b/policyengine_us/variables/gov/states/ok/dhs/liheap/income/ok_liheap_income_deductions.py @@ -26,11 +26,10 @@ def formula(person, period, parameters): # age and older or persons considered disabled, per OAC 340:50-5-4". # 340:50-5-4(a) restates the 7 CFR 271.2 elderly or disabled member: age # 60 ((a)(1), is_usda_elderly) or benefit receipt (is_usda_disabled). The - # veteran flags that is_usda_disabled reads stand in for (a)(6)-(9), so an - # aid-and-attendance or housebound veteran ((a)(7)) is entered as - # is_permanently_disabled_veteran. Categories with no input ((a)(3)-(5) - # and (a)(10)-(11), such as government disability retirement and interim - # assistance) are not modeled. + # veteran flags that is_usda_disabled reads stand in for (a)(6), (a)(8) + # and (a)(9). Categories with no input ((a)(3)-(5), the aid-and-attendance + # or housebound veteran in (a)(7), and (a)(10)-(11), such as government + # disability retirement and interim assistance) are not modeled. medical_eligible = person("is_usda_elderly", period) | person( "is_usda_disabled", period ) diff --git a/policyengine_us/variables/household/demographic/person/is_fully_disabled_service_connected_veteran.py b/policyengine_us/variables/household/demographic/person/is_fully_disabled_service_connected_veteran.py index a983425d17d..b23338b4553 100644 --- a/policyengine_us/variables/household/demographic/person/is_fully_disabled_service_connected_veteran.py +++ b/policyengine_us/variables/household/demographic/person/is_fully_disabled_service_connected_veteran.py @@ -4,16 +4,18 @@ class is_fully_disabled_service_connected_veteran(Variable): value_type = bool entity = Person - label = "Is a fully disabled veteran who became so as a result of an injury during service" + label = "Veteran with a VA service-connected disability rated or paid at 100%" + documentation = ( + "The Department of Veterans Affairs rates or pays a service-connected " + "disability at the 100% (total) rate, temporary or permanent, " + "including a total rating based on individual unemployability. Also " + "set is_permanently_disabled_veteran when the VA rates the disability " + "permanent and total. Ratings below 100% have no shared input." + ) definition_period = YEAR - # True when the Department of Veterans Affairs rates or pays a - # service-connected disability at the 100% rate, temporary or permanent, - # including a total rating based on individual unemployability. A - # permanent rating is is_permanently_disabled_veteran. The model has no - # input for ratings below 100%. reference = ( - "https://www.law.cornell.edu/uscode/text/38/1114", + "https://www.law.cornell.edu/uscode/text/38/1114#j", "https://www.law.cornell.edu/uscode/text/38/1155", - "https://www.law.cornell.edu/cfr/text/38/3.340", - "https://www.law.cornell.edu/cfr/text/38/4.16", + "https://www.ecfr.gov/current/title-38/section-3.340#p-3.340(a)(1)", + "https://www.ecfr.gov/current/title-38/section-4.16#p-4.16(a)", ) diff --git a/policyengine_us/variables/household/demographic/person/is_permanently_disabled_veteran.py b/policyengine_us/variables/household/demographic/person/is_permanently_disabled_veteran.py index 521e65ab073..821c37c6e1d 100644 --- a/policyengine_us/variables/household/demographic/person/is_permanently_disabled_veteran.py +++ b/policyengine_us/variables/household/demographic/person/is_permanently_disabled_veteran.py @@ -5,13 +5,17 @@ class is_permanently_disabled_veteran(Variable): value_type = bool entity = Person definition_period = YEAR - label = "Permanently disabled veteran" - # True when the Department of Veterans Affairs has rated the veteran's - # disability permanent and total, for service-connected compensation or - # for a pension, which requires a permanent and total non-service-connected - # disability (38 U.S.C. 1521(a)). A 100% service-connected rating that is - # not permanent is is_fully_disabled_service_connected_veteran. + label = "Veteran with a VA permanent and total disability rating" + documentation = ( + "The Department of Veterans Affairs has rated the veteran's disability " + "permanent and total, for service-connected compensation or for a " + "disability pension under 38 U.S.C. 1521(a). Also set " + "is_fully_disabled_service_connected_veteran when the disability is " + "service-connected and rated or paid at 100%. A veteran the VA finds in " + "need of regular aid and attendance or permanently housebound has no " + "input." + ) reference = ( - "https://www.law.cornell.edu/cfr/text/38/3.340", - "https://www.law.cornell.edu/uscode/text/38/1521", + "https://www.ecfr.gov/current/title-38/section-3.340#p-3.340(b)", + "https://www.law.cornell.edu/uscode/text/38/1521#a", ) From d34342d0255b5d97ab5d5a5327b4bcefd23702ed Mon Sep 17 00:00:00 2001 From: Ziming Date: Wed, 11 Nov 2026 19:03:46 -0500 Subject: [PATCH 2/3] Address David's review of the VA flag documentation Say in is_permanently_disabled_veteran's documentation that North Carolina's military retirement deduction reads it in place of a chapter 61 medical retirement, which has no input. In both flags' documentation, name the other flag by its label, say the flags don't set is_veteran, and reword the below-100% and aid-and-attendance sentences. Limit the Kansas aggravation note to the origin test, cite 38 U.S.C. 1131 and the official 79-32,121 page, and note the two 2025-session versions. Extend the CTA gap sentence to military disability retirees, mark the unemployability cite as preamble, guard Medicaid Case 42, and make the last two Kansas 2025 cases set the VA flags. Co-Authored-By: Claude Opus 5.5 --- .../gov/usda/disabled_programs.yaml | 5 ++-- .../medicaid_work_requirement_eligible.yaml | 2 ++ .../ks_disabled_veteran_exemption_2025.yaml | 12 ++++++--- .../medicaid_work_requirement_eligible.py | 2 +- .../il_cta_military_service_pass_eligible.py | 5 ++-- .../ks_disabled_veteran_exemptions_person.py | 25 +++++++++++-------- ...ully_disabled_service_connected_veteran.py | 7 ++++-- .../person/is_permanently_disabled_veteran.py | 15 +++++++---- 8 files changed, 46 insertions(+), 27 deletions(-) diff --git a/policyengine_us/parameters/gov/usda/disabled_programs.yaml b/policyengine_us/parameters/gov/usda/disabled_programs.yaml index 075473cbc33..c3e79881bde 100644 --- a/policyengine_us/parameters/gov/usda/disabled_programs.yaml +++ b/policyengine_us/parameters/gov/usda/disabled_programs.yaml @@ -15,8 +15,9 @@ values: # is_fully_disabled_service_connected_veteran covers a service-connected # rating, temporary or permanent; is_permanently_disabled_veteran covers a # permanent and total rating, which a non-service-connected (pension) - # rating requires. Clause (7), a veteran in need of regular aid and - # attendance or permanently housebound, has no input. + # rating requires. Clause (7), aid-and-attendance or housebound status + # alone, has no input; a total rating the veteran also holds is entered + # with these flags. - is_fully_disabled_service_connected_veteran - is_permanently_disabled_veteran - is_surviving_spouse_of_disabled_veteran diff --git a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.yaml index dd32df57d58..ebb9514acd5 100644 --- a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.yaml @@ -415,6 +415,8 @@ - name: Case 42, a veteran with a 100% service-connected rating is exempt. period: 2027 + # is_veteran is left at its default (veterans_benefits > 0, so false): the + # VA 100% flag alone must exempt. input: age: 40 monthly_hours_worked: 0 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemption_2025.yaml b/policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemption_2025.yaml index 30b3fa92fef..fd29635092c 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemption_2025.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemption_2025.yaml @@ -130,8 +130,9 @@ input: people: person1: - is_permanently_and_totally_disabled: false is_veteran: true + is_fully_disabled_service_connected_veteran: false + is_permanently_disabled_veteran: false employment_income: 50_000 tax_units: tax_unit: @@ -146,13 +147,15 @@ # Total exemptions: $9,160 ks_exemptions: 9_160 -- name: Disabled but not veteran - no veteran exemption in 2025 +- name: Tax disability flag without a VA rating - no veteran exemption in 2025 period: 2025 input: people: person1: is_permanently_and_totally_disabled: true - is_veteran: false + is_veteran: true + is_fully_disabled_service_connected_veteran: false + is_permanently_disabled_veteran: false employment_income: 50_000 tax_units: tax_unit: @@ -163,6 +166,7 @@ state_code: KS output: # Base exemption for single: $9,160 - # No disabled veteran exemption (neither VA rating flag is set) + # No disabled veteran exemption: neither VA rating flag is set, and the + # IRC 22(e)(3) flag is not read. # Total exemptions: $9,160 ks_exemptions: 9_160 diff --git a/policyengine_us/variables/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.py b/policyengine_us/variables/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.py index c847bcf4877..be91df8047d 100644 --- a/policyengine_us/variables/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.py +++ b/policyengine_us/variables/gov/hhs/medicaid/eligibility/medicaid_work_requirement_eligible.py @@ -71,7 +71,7 @@ def formula(person, period, parameters): # total under 38 U.S.C. 1155, which 42 CFR 435.554(c)(4) reads as "a # temporary or permanent disability ... rated as 100 percent (total)". # CMS treats a total rating based on individual unemployability the - # same way (91 FR 33372). + # same way (91 FR 33372, preamble). eligible_veteran = person("is_fully_disabled_service_connected_veteran", period) # blind or disabled or is_incapable_of_self_care p.694 (V) is_blind = person("is_blind", period) diff --git a/policyengine_us/variables/gov/states/il/rta/cta/free_ride/il_cta_military_service_pass_eligible.py b/policyengine_us/variables/gov/states/il/rta/cta/free_ride/il_cta_military_service_pass_eligible.py index e0418f7d3f3..0ecec7afab2 100644 --- a/policyengine_us/variables/gov/states/il/rta/cta/free_ride/il_cta_military_service_pass_eligible.py +++ b/policyengine_us/variables/gov/states/il/rta/cta/free_ride/il_cta_military_service_pass_eligible.py @@ -14,8 +14,9 @@ def formula(person, period, parameters): # NOTE: The CTA covers a veteran with VA disability compensation "of # 10% or greater", or with military disability retirement pay in lieu # of VA compensation "at a rate of 10% or greater". The model has no - # shared input for ratings below 100%, so veterans rated 10% to 90% - # are missed. + # shared input for ratings below 100%, so veterans rated 10% to 90%, + # and military disability retirees without a 100% VA rating, are + # missed. disabled_veterans = person( "is_fully_disabled_service_connected_veteran", period ) diff --git a/policyengine_us/variables/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemptions_person.py b/policyengine_us/variables/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemptions_person.py index c79dc3d59f6..d1cf5182111 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemptions_person.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/exemptions/ks_disabled_veteran_exemptions_person.py @@ -7,7 +7,7 @@ class ks_disabled_veteran_exemptions_eligible_person(Variable): label = "Eligible person for the Kansas disabled veteran exemption" definition_period = YEAR reference = ( - "https://law.justia.com/codes/kansas/chapter-79/article-32/section-79-32-121/", + "https://www.kslegislature.gov/li/b2025_26/statute/079_000_0000_chapter/079_032_0000_article/079_032_0121_section/079_032_0121_k/", "https://www.kslegislature.gov/li/b2025_26/statute/079_000_0000_chapter/079_032_0000_article/079_032_0121b_section/079_032_0121b_k/", "https://www.ksrevenue.gov/pdf/ip23.pdf#page=6", "https://www.ksrevenue.gov/pdf/ip25.pdf#page=6", @@ -16,16 +16,19 @@ class ks_disabled_veteran_exemptions_eligible_person(Variable): def formula(person, period, parameters): p = parameters(period).gov.states.ks.tax.income.exemptions.disabled_veteran - # K.S.A. 79-32,121(b) for 2023 and 2024 ($2,250) and 79-32,121b(b)(2) - # from 2025 ($2,320): a veteran the VA certifies "to be in receipt of - # disability compensation at the 100% rate, if the disability is - # permanent and was sustained through military action or accident or - # resulted from disease contracted while in such active service". The - # VA flags already imply veteran status. The model has no discharge - # input, so a flagged veteran is assumed to have been honorably - # discharged. VA service connection also covers aggravation of an - # earlier condition (38 U.S.C. 1110); the model can't separate it, so - # any 100% service-connected rating meets the Kansas wording. + # K.S.A. 79-32,121(b) ($2,250 from 2023) and 79-32,121b(b)(2) ($2,320 + # from 2025; the two 2025-session versions conflict from 2025 on, and + # the model follows 121b and the 2025 booklet): a veteran the VA + # certifies "to be in receipt of disability compensation at the 100% + # rate, if the disability is permanent and was sustained through + # military action or accident or resulted from disease contracted + # while in such active service". The VA flags already imply veteran + # status. The model has no discharge input, so a flagged veteran is + # assumed to have been honorably discharged. VA service connection also + # covers aggravation of an earlier condition (38 U.S.C. 1110, 1131); + # the model can't separate it, so any 100% service-connected rating is + # treated as meeting the Kansas origin test. Permanence is tested + # through is_permanently_disabled_veteran. paid_at_100_percent = person( "is_fully_disabled_service_connected_veteran", period ) diff --git a/policyengine_us/variables/household/demographic/person/is_fully_disabled_service_connected_veteran.py b/policyengine_us/variables/household/demographic/person/is_fully_disabled_service_connected_veteran.py index b23338b4553..c4abb842980 100644 --- a/policyengine_us/variables/household/demographic/person/is_fully_disabled_service_connected_veteran.py +++ b/policyengine_us/variables/household/demographic/person/is_fully_disabled_service_connected_veteran.py @@ -9,8 +9,11 @@ class is_fully_disabled_service_connected_veteran(Variable): "The Department of Veterans Affairs rates or pays a service-connected " "disability at the 100% (total) rate, temporary or permanent, " "including a total rating based on individual unemployability. Also " - "set is_permanently_disabled_veteran when the VA rates the disability " - "permanent and total. Ratings below 100% have no shared input." + "set 'Veteran with a VA permanent and total disability rating' " + "(is_permanently_disabled_veteran) when the VA rates the disability " + "permanent and total. Leave this false for a rating below 100%, unless " + "the VA pays at the 100% rate for individual unemployability. These " + "flags don't set is_veteran; enter VA payments as veterans_benefits." ) definition_period = YEAR reference = ( diff --git a/policyengine_us/variables/household/demographic/person/is_permanently_disabled_veteran.py b/policyengine_us/variables/household/demographic/person/is_permanently_disabled_veteran.py index 821c37c6e1d..e7e07170164 100644 --- a/policyengine_us/variables/household/demographic/person/is_permanently_disabled_veteran.py +++ b/policyengine_us/variables/household/demographic/person/is_permanently_disabled_veteran.py @@ -9,11 +9,16 @@ class is_permanently_disabled_veteran(Variable): documentation = ( "The Department of Veterans Affairs has rated the veteran's disability " "permanent and total, for service-connected compensation or for a " - "disability pension under 38 U.S.C. 1521(a). Also set " - "is_fully_disabled_service_connected_veteran when the disability is " - "service-connected and rated or paid at 100%. A veteran the VA finds in " - "need of regular aid and attendance or permanently housebound has no " - "input." + "disability pension under 38 U.S.C. 1521(a). North Carolina's military " + "retirement deduction reads this flag in place of a medical retirement " + "under 10 U.S.C. chapter 61, which has no input of its own; a chapter " + "61 retiree without this rating is not covered. Also set 'Veteran with " + "a VA service-connected disability rated or paid at 100%' " + "(is_fully_disabled_service_connected_veteran) when the disability is " + "service-connected and rated or paid at 100%. These flags don't set " + "is_veteran; enter VA payments as veterans_benefits. Aid-and-attendance " + "or housebound status alone does not count; enter any total rating the " + "veteran also holds with these flags." ) reference = ( "https://www.ecfr.gov/current/title-38/section-3.340#p-3.340(b)", From 107b021f9f18c36ad64956577545bcbf80d99db4 Mon Sep 17 00:00:00 2001 From: Ziming Date: Wed, 11 Nov 2026 19:19:55 -0500 Subject: [PATCH 3/3] Record the Kansas 2025 disabled veteran amount conflict as a candidate K.S.A. 79-32,121(b), re-enacted in the 2025 session, still allows $2,250 for 2023 and later, while 79-32,121b(b)(2) and the 2025 K-40 instructions allow $2,320 from 2025. The model follows 121b with $2,320. Add the backlog item to source_conflicts/candidates.yaml, unreviewed. Co-Authored-By: Claude Opus 5.5 --- source_conflicts/candidates.yaml | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index 4e687a33ca4..9d02eda84fd 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -4031,6 +4031,43 @@ candidates: state: ruled note: Statute text is in the Axiom corpus; registering needs a pdftotext capture of the official instructions page. +- id: us-ks:disabled-veteran-exemption-2025-amount + program: income-tax + years: + from: 2025 + type: tax + question: From tax year 2025, is the Kansas disabled veteran exemption $2,320, as K.S.A. 79-32,121b(b)(2) and the + K-40 instructions say, or $2,250, as K.S.A. 79-32,121(b), re-enacted in the same 2025 session, still says? + sources: + - kind: statute + citation: K.S.A. 79-32,121(b), as amended by L. 2025, ch. 112, § 6 + url: https://www.kslegislature.gov/li/b2025_26/statute/079_000_0000_chapter/079_032_0000_article/079_032_0121_section/079_032_0121_k/ + - kind: statute + citation: K.S.A. 79-32,121b(b)(2), as amended by L. 2025, ch. 123, § 9 + url: https://www.kslegislature.gov/li/b2025_26/statute/079_000_0000_chapter/079_032_0000_article/079_032_0121b_section/079_032_0121b_k/ + - kind: instructions + citation: 2025 K-40 instructions, p.2 and p.6 + url: https://www.ksrevenue.gov/pdf/ip25.pdf#page=2 + readings: + statute: '79-32,121b(b)(2) allows "an additional Kansas exemption of $2,320 for tax year 2025 and all tax years + thereafter"; 79-32,121(b) allows "$2,250 for tax year 2023 and all tax years thereafter".' + other: The 2025 instructions allow "an additional exemption allowance of $2,320" for "each qualified disabled + veteran" (p.2) and multiply the number of disabled veterans by $2,320 (p.6). + example: A 2025 single filer whom the VA pays at the 100% rate for a permanent service-connected disability has + $9,160 + $2,320 = $11,480 of exemptions under 79-32,121b and the instructions, and $9,160 + $2,250 = $11,410 + under 79-32,121(b). + pe_us: + follows: statute + code: + - policyengine_us/parameters/gov/states/ks/tax/income/exemptions/disabled_veteran/base.yaml + prs: + - https://github.com/PolicyEngine/policyengine-us/pull/7065 + - https://github.com/PolicyEngine/policyengine-us/pull/10811 + state: unreviewed + note: Both statute pages say "Section was amended multiple times in the 2025 session". The code follows + 79-32,121b and the instructions with $2,320 from 2025; ks_disabled_veteran_exemption_2025.yaml pins $11,480 for + 2025 and $11,410 for 2024. Which 2025 enactment controls under Kansas law on conflicting amendments in one session + has not been checked. - id: us-ks:food-sales-credit-exemption-count program: income-tax years: