Update Texas CCS parameter values 2026#7337
Draft
hua7450 wants to merge 4 commits intoPolicyEngine:mainfrom
Draft
Update Texas CCS parameter values 2026#7337hua7450 wants to merge 4 commits intoPolicyEngine:mainfrom
hua7450 wants to merge 4 commits intoPolicyEngine:mainfrom
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #7337 +/- ##
==========================================
+ Coverage 86.56% 89.77% +3.20%
==========================================
Files 12 3 -9
Lines 134 88 -46
Branches 0 2 +2
==========================================
- Hits 116 79 -37
+ Misses 18 7 -11
- Partials 0 2 +2
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:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #7336
Fixes #6685
Summary
Updates the Texas CCS copayment (Parent Share of Cost) formula and parameters to match the official TWC PSoC Calculator.
How this fixes #6685
Issue #6685 reported that the BCY2025 PSoC chart's "Add 0.15% for each additional child" text doesn't match the per-family-size tables below it. The "0.15%" is misleading — it's actually the rate increment per 10% SMI bracket step, not a flat rate.
By extracting the formulas from the official TWC PSoC Calculator Excel files (BCY2025, BCY2026), we found the actual calculation:
base_rate + slope × (SMI% - min_SMI%), capped at 7%SMI% × 1.5%per child (not a flat 0.15%)The additional child rate varies by SMI bracket (e.g., 0.30% at 20% SMI, 0.75% at 50% SMI), which matches the per-family-size tables in the chart. Both BCY2025 and BCY2026 use the same formula with the same constants.
Changes
Parameters
first_child.yaml: Stores two PSoC chart endpoints (1% SMI → 2.00%, 75% SMI → 6.93%); formula derives slope at runtimeadditional_child.yaml: Stores the factor (0.015) directly; rate = SMI% × 0.015 per additional childmaximum.yaml: Unchanged (7% cap from 40 TAC §809.19)Formula (
tx_ccs_copay.py)np.interp()interpolation with exact linear equations derived from chart endpoint parameterssmi_ratio × factor × num_additional_childrenTests
Regulatory Authority