Plan: CAPS family fees as dated income bands, one fee per family allocated as the pack elects (#2226)

Status: Done (2026-11-08) — !2018, !2038
Epic: &145
Issues: #2226 (parent) · #3320 U1 (w5) · #3321 U2 (w3); U2 binds #842’s caps.payments.distribute-family-fee-across-scholarships row
Branches: feat/caps-family-fee-bands, feat/caps-family-fee-distribution

This is a Design + Scope plan: GitLab owns tracking, the child issues carry the implementer brief, and the plan freezes when U1 starts. Researched and drafted by the canopy-config-georgia agent (its notes/2226-caps-family-fee-design.adoc), with canopy-config-texas’s PSoC findings on #2226; read against canopy main after the !2009 pack corrections.

Erratum (2026-11-08): U1’s mixed_siblings_row has three eligible siblings, so its expected() takes the row’s eligible count as children_in_care.

Erratum (2026-11-08): U1’s fee functions take NonZeroU32 and return Option<i32>, so an overflow becomes a 500, never a $0 fee.

Erratum (2026-11-08): U1 adds two load rules the plan did not name: each dollar edge must be over $0, and unknown keys in a schedule are refused.

Erratum (2026-11-08): Georgia’s top rate never binds the 7% cap, so U1’s live ceiling test searches test-max.

Erratum (2026-11-08): the default pack’s fee edition (2026-01-13) postdates its SMI adoption (2025-10-01), so default refuses determinations dated 2025-10-01 through 2026-01-12.

Erratum (2026-11-08): the neutrality lint refuses Allocation doc comments that cite state manuals, so U2’s Georgia and Texas citations live in the module docs, the action catalogue, the CHANGELOG and the API page.

Erratum (2026-11-08): U2’s contract test is a unit test (src/determine/parity_tests/allocation.rs), not a live test; the catalogue’s test_ref points to it.

Erratum (2026-11-08): U2 also corrects rulesets.adoc, whose U1 allocation line still said every eligible child carries the whole fee.

Erratum (2026-11-08): U2 moves the first pass into evaluate_children to keep determine_with within the 100-line function budget.

Context

canopy-caps prices a CAPS scholarship in CapsParamsInForce::copayment_weekly_cents (services/canopy-caps/src/params.rs), in two steps:

  1. tier_weekly_cents takes the family’s income as a rounded percentage of the in-force SMI edition’s monthly SMI. It looks that percentage up in [caps] copayment_tiers, rows of [min_pct_smi, max_pct_smi, weekly_cents] held in CopaymentTiers, and charges the row’s flat amount.

  2. cap_at_income_ceiling caps that amount at [caps] copay_income_ceiling_pct of income.

determine.rs calls it once per eligible child (around line 479) and puts the full amount on every child’s envelope, snapshot and caps_authorizations row. derivation.rs caps_copayment_edge records it as a Rust-derived node from gross_monthly_income alone. The snapshot’s policy_params records the SMI edition (build_caps_policy_params).

Georgia’s schedule says otherwise. DECAL CAPS Appendix D, "CAPS Family Fee", effective March 2, 2026, says fees "are based on a percentage of a family’s annual gross applicable income" (CAPS/00-9 §9.3.1). * Bands: by ratio of income to the HHS poverty guidelines, 10% or less → no fee, over 10% to 50% → 3%, over 50% to 100% → 5%, over 100% → 7%. They are published as annual dollar edges by family size 1 to 14. * Arithmetic: "Weekly family fee = annual gross applicable income × .03, .05, or .07 … divided by 52 weeks, rounded down to whole dollar amount." * One fee per family: the fee is "a family fee for all children in care, not a fee for each child". With several scholarships it "will be distributed among the scholarships" (§9.4.3), evenly since the 2018 revision. * Annual republication: DECAL rebuilds the chart each year from the new guidelines; this edition is "based on 2026 poverty guidelines".

Georgia’s pack today carries flat tiers [[0,25,0],[26,50,2700],[51,65,4500],[66,75,6500],[76,85,8500]], cited to a "DECAL CAPS sliding-fee copayment schedule" (effective 2024-10-01) that no current DECAL document states. The action catalogue (compliance/action-catalogue/caps.toml) records the gap: the 10% band "is also not representable in the implemented percent-of-SMI tier table".

The shape was checked against two states. Texas’s parent share of cost (40 TAC §809.19, effective 2024-07-29; TWC Child Care Services Guide B-600) differs from Georgia’s on every axis this plan models, as canopy-config-texas set out on #2226: * Bands: a statewide scale on percent of SMI, up to 85%, not dollar edges by family size. * Rates: fractional, from 2.000% of income at 1% SMI to 7.000% at 85%. * Additional children: an add-on per additional child in care, varying by band, with the total "not to exceed 7 percent of the family income, regardless of the number of children" (§809.19(a)(1)©). * Allocation: the whole amount goes to the youngest child’s provider, not divided (Guide B-610). * Linear between published points: TWC’s nine published rates fit a straight line in % SMI, so an income between two of them is priced between them, not at the lower one (texas’s derivation, #2226).

The design takes all five as pack data, so Texas becomes a second pack and needs no Texas code.

Governing: 45 CFR 98.45(l), a sliding fee scale "based on income and the size of the family" l)(2, affordable co-payments l)(3 and the waiver discretion l)(4. Also ADR-003 and ADR-028 (the snapshot records what priced the verdict).

Scope

In scope:

  • A [caps.family_fee] pack model that replaces copayment_tiers:

    • dated editions of bands;

    • band edges in annual dollars by family size (Georgia, DECAL Appendix D) or in percent of the in-force SMI edition (Texas, 40 TAC §809.19);

    • each band charges a rate of income in thousandths of a percent, flat or interpolated across the band, with an optional add-on per additional child, or a flat weekly amount.

  • Fee edition selection by determination date, recorded in the snapshot.

  • The georgia (Appendix D, 2026-03-02), default and test-max packs on the new model.

  • One family fee per determination, allocated as the pack elects (U2): divided evenly among the eligible children (Georgia, CAPS/00-9 §9.4.3), or assigned whole to the youngest (Texas, TWC Guide B-610).

  • The unit, parity, oracle and live tests that pin the old model, rebuilt.

Out of scope (issues exist):

  • The other #842 rows: the fee waiver categories (DFCS custody, a parent aged 17 or under), decrease-only recalculation during the eligibility period, the 15% Quality Rated discount, and denial when the fee exceeds reimbursement. They need facts canopy-caps does not carry today.

  • The §9.4.4 rule for several scholarships for one child in a service week. canopy-caps authorizes one scholarship per child per determination.

  • Edges as a percentage of the FPL. Neither state needs them; edge_basis can gain a value when one does.

  • The Texas pack itself: canopy-config-texas authors it in its own repository on this model.

Design

Pack model

[caps.family_fee]
rounding = "weekly_floor_whole_dollar"     # the only value v1 accepts; any other refuses boot
allocation = "divide_evenly"               # or "youngest_child" (U2)

[[caps.family_fee.editions]]
effective_date = "2026-03-02"              # the day the jurisdiction put the schedule in force
edge_basis = "annual_dollars_by_family_size"   # or "pct_smi"

[[caps.family_fee.editions.bands]]         # ascending; every band but the last has an edge
upper_annual_by_family_size = [1596, 2164, 2732, 3300, 3868, 4436, 5004, 5572, 6140, 6708, 7276, 7844, 8412, 8980]   # 10% of the guidelines
upper_each_additional = 568                # the edge past the list: last + step × (size − N)
rate_thousandths_pct = 0                   # 0.000% of annual income
[[caps.family_fee.editions.bands]]
upper_annual_by_family_size = [7980, 10820, 13660, 16500, 19340, 22180, 25020, 27860, 30700, 33540, 36380, 39220, 42060, 44900]   # 50%
upper_each_additional = 2840
rate_thousandths_pct = 3000                # 3.000%
[[caps.family_fee.editions.bands]]
upper_annual_by_family_size = [15960, 21640, 27320, 33000, 38680, 44360, 50040, 55720, 61400, 67080, 72760, 78440, 84120, 89800]   # 100%
upper_each_additional = 5680
rate_thousandths_pct = 5000                # 5.000%
[[caps.family_fee.editions.bands]]         # the last band: no edge, charges above every edge
rate_thousandths_pct = 7000                # 7.000%

The three edge rows are Appendix D’s three columns, 10%, 50% and 100% of the 2026 HHS poverty guidelines ($15,960 for one, plus $5,680 a person): the implementer transcribes each from the chart (sizes 1–14) and checks the arithmetic, which must agree.

A pct_smi edition gives each band but the last upper_pct_smi. That is a percentage of the monthly SMI for the family’s size under the SMI edition in force (CapsParamsInForce::monthly_smi), the same for every family size.

A band whose rate changes across it carries a rate at each edge, and the rate is interpolated linearly between them (Calculation). Texas-shaped values from TWC’s published points:

[[caps.family_fee.editions]]
effective_date = "2025-10-01"
edge_basis = "pct_smi"
[[caps.family_fee.editions.bands]]
upper_pct_smi = 15                          # this band runs from the previous edge (1) to 15
rate_thousandths_pct = 2000                 # at the lower edge: 2.000%
rate_thousandths_pct_at_upper = 2933        # optional; at the upper edge: 2.933%
add_on_thousandths_pct = 15                 # optional, default 0; per additional child, at the lower edge
add_on_thousandths_pct_at_upper = 225       # optional
# …

Load rules (CapsParameterTable::load, refusing boot with the key named on each failure):

  • rounding is weekly_floor_whole_dollar, and allocation is divide_evenly or youngest_child.

  • There is at least one edition, and effective_date is strictly ascending. Each edition’s edge_basis is one of the two values.

  • Each edition has at least one band. Every band but the last carries its basis’s edge, and the last carries none:

    • upper_annual_by_family_size (non-empty) and upper_each_additional, for dollars;

    • upper_pct_smi (1–100), for SMI.

  • Edges are strictly ascending band to band: at every size from 1 to the longest list, or by upper_pct_smi.

  • Each band carries exactly one of rate_thousandths_pct (0–100,000) or weekly_cents (≥ 0).

  • rate_thousandths_pct_at_upper (0–100,000), add_on_thousandths_pct (≥ 0) and add_on_thousandths_pct_at_upper (≥ 0) are allowed only beside rate_thousandths_pct.

  • An _at_upper key is refused on the last band, which has no upper edge, and add_on_thousandths_pct_at_upper is refused without add_on_thousandths_pct.

  • A stepped band, such as each of Georgia’s, omits the _at_upper keys and charges its rate across the band.

copayment_tiers and CopaymentTiers are deleted. copay_income_ceiling_pct stays as the affordability cap on the whole family fee. It also carries Texas’s rule that the total "not exceed 7 percent of the family income, regardless of the number of children" (§809.19(a)(1)©). No Georgia band exceeds Georgia’s 7, so the cap does not bind there.

Types and calculation (services/canopy-caps/src/family_fee.rs, new)

pub struct FamilyFeeSchedule { allocation: Allocation, editions: Vec<FeeEdition> }
pub enum Allocation { DivideEvenly, YoungestChild }
pub struct FeeEdition { effective_date: NaiveDate, bands: Vec<FeeBand> }   // edges typed per basis
pub struct FeeBand { edge: Option<BandEdge>, charge: BandCharge }
pub enum BandEdge { AnnualDollars { by_family_size: Vec<u32>, each_additional: u32 }, PctSmi(u32) }
pub enum BandCharge { Rate { rate: Endpoints, add_on: Endpoints }, WeeklyCents(i32) }
pub struct Endpoints { at_lower: u32, at_upper: Option<u32> }       // thousandths of a percent

impl FamilyFeeSchedule {
    pub fn parse(caps: &toml::Value) -> anyhow::Result<Self>;               // the load rules above
    pub fn select(&self, as_of: NaiveDate) -> Result<&FeeEdition, SelectionMiss>;
    pub fn allocation(&self) -> Allocation;
}
impl FeeEdition {
    /// The weekly family fee (cents) before the income ceiling.
    pub fn weekly_cents(&self, family_size: u32, gross_monthly_income: Decimal,
                        monthly_smi: Decimal, children_in_care: u32) -> i32;
}
  • Annual income: annual = gross_monthly_income × 12.

  • Band, dollar edges: the first band whose edge for family_size is at or above annual, or the last. The edge for a size past the list is last + each_additional × (size − len).

  • Band, SMI edges: the first band whose upper_pct_smi is at or above gross_monthly_income × 100 / monthly_smi, compared unrounded, or the last.

  • Position in the band: x is the basis value: annual for dollar edges, or the unrounded gross_monthly_income × 100 / monthly_smi for SMI edges. The band runs from its lower edge L to its upper edge U. L is the previous band’s edge (for this family size) or 0 for the first band, and U is the band’s own edge. An income at U is in this band; one just above U is in the next.

  • Rate: with at_upper set, rate = at_lower + (at_upper − at_lower) × (x − L) / (U − L), in exact decimal arithmetic. Without it, rate = at_lower. The add-on is computed the same way.

  • Rounding the rate: the interpolated rate and the interpolated add-on are each rounded half-up to a whole thousandth of a percent. That is the unit the pack writes, and the precision TWC publishes. No other step rounds until the weekly floor.

  • Charge: Rate → 100 × floor(annual × (rate + add_on × (children_in_care − 1)) / 100000 / 52) cents, a whole dollar a week. WeeklyCents(c) → c. children_in_care is the number of eligible children in the run, at least 1.

  • Ceiling: cap_at_income_ceiling then caps the weekly fee at copay_income_ceiling_pct of income. That covers the first child’s rate and the add-ons together, which is where Texas’s 7% binds.

  • Selection mirrors SmiEditions::select (smi_editions.rs): the edition with the greatest effective_date on or before as_of. Before the first, it returns SelectionMiss, extended with a variant naming the fee schedule. The handler answers that miss as it answers the SMI miss today: 422 params_unstaged, naming the date and the first edition.

CapsParamsInForce gains a fee: &FeeEdition, selected in CapsParameterTable::in_force beside the SMI edition. It also gains family_fee_weekly_cents(household_size, gross_monthly_income, children_in_care), which computes fee.weekly_cents(.., self.monthly_smi(household_size), ..) and then cap_at_income_ceiling(..). That replaces copayment_weekly_cents, and tier_weekly_cents is deleted.

build_caps_policy_params adds "family_fee_edition": { "effective_date": … } beside smi_edition. caps_copayment_edge adds FactPath::Input { path: "rules_input.input.household_size" } to its inputs. The edition is recorded through policy_params.

One fee per family, allocated as the pack elects (U2)

determine.rs computes the family fee once per run, after every child’s gates, with children_in_care = the eligible children. It then allocates the fee among the children whose all_eligible is true:

  • divide_evenly: in child_person_id order, each takes fee / n cents (integer division), and the first fee % n children take one cent more. The shares sum to the fee.

  • youngest_child: the youngest eligible child (least age_years, ties broken by child_person_id) takes the whole fee, and the others take 0.

The share becomes the child’s copayment_weekly_cents on its envelope, snapshot and authorization. The snapshot’s policy_params adds "family_fee_weekly_cents" (the whole fee), "family_fee_children" (n) and "family_fee_allocation", so the share can be recomputed. A denied child carries no copayment, as today. The caps.payments.distribute-family-fee-across-scholarships row flips from unbound to its /determine binding.

A run with no eligible child (n = 0) computes no family fee: family_fee_weekly_cents and family_fee_children are recorded as 0, children_in_care is never 0 at the charge (the charge runs only when n ≥ 1), and every denied child’s snapshot carries no copayment, as today. build_caps_policy_params still runs for each denied child and records the fee edition in force, so a denial is as traceable as an approval.

Two passes in determine.rs, from U1. Today the fee is priced inside the per-child loop (around line 479), before later children’s gates are known, so children_in_care cannot be counted there. U1 restructures the run into two passes: the first evaluates every child’s gates and collects the eligible children; the second prices the family fee once from that count and writes each child’s envelope, snapshot and authorization. In U1 every eligible child still receives the whole fee (the pre-allocation behaviour); U2 changes only what the second pass writes per child. The mixed_siblings_row in every_pack_decides_the_edge_table (parity_tests.rs) is where the two-pass count first shows: its eligible sibling’s fee is priced with children_in_care = 1 in U1, and its expected() is recomputed from the band table like the other rows.

Packs

  • georgia: allocation = "divide_evenly" (CAPS/00-9 §9.4.3), and the 2026-03-02 edition, annual_dollars_by_family_size. All four bands are as Appendix D prints them: sizes 1–14 with steps 568, 2,840 and 5,680; rates 0, 3000, 5000 and 7000 thousandths of a percent, stepped (no _at_upper keys); no add-on.

    • Each value is cited authority = "manual" to Appendix D, at the pinned corpus edition retrieved 2026-06-10. Its text was re-checked live on 2026-11-07, unchanged by DECAL’s 2026-10-05 revision.

    • The citation notes that DECAL republishes the chart each March, so the next edition is a new row.

    • copayment_tiers and its citation go.

  • default: divide_evenly, and one dollar-edged edition dated 2026-01-13. Band 1 charges no fee up to 150% of the 2026 HHS guidelines ([23940, 32460, 40980, 49500, 58020, 66540, 75060, 83580], step 8,520; the 45 CFR 98.45(l)(4) waiver option). Band 2 charges 7000. All are fixture.

  • test-max: the Texas-shaped forms, so the corpus exercises both edge bases and both allocations. youngest_child, and one pct_smi edition dated 2025-10-01:

    • a flat weekly_cents = 500 to 15% SMI;

    • 3000 interpolated to 5000 at 50%, with an add-on of 150 interpolated to 750;

    • 5000 interpolated to 7000 at 85%, with an add-on of 750 interpolated to 1275;

    • then 7000, stepped.

Alternatives considered

  • Bands as a percentage of the FPL, joined to rulesets/federal/fpl-.json.* Rejected. DECAL publishes dollars, its chart’s guideline year need not match canopy’s federal file (that file held the wrong year until #3291), and a join adds a failure mode for no gain.

  • Keeping copayment_tiers beside the bands. Rejected: pre-1.0, no compatibility scaffolding. A flat state writes weekly_cents bands.

  • Dollar edges only, with Texas deriving dollars from TWC’s chart. Rejected (texas, #2226). The chart renders the % SMI scale, so the pack would duplicate the SMI tables canopy already carries (#3279) and go stale with each SMI edition.

  • Rates in basis points. Rejected: TWC publishes rates to a thousandth of a percent (2.933%), a tenth of a basis point. Thousandths of a percent keep the pack’s numbers integral and hold every published rate exactly; Georgia’s 3% is 3000.

  • A linear rate form (base, slope per point of SMI, add-on slope), as texas offered. Rejected:

    • it holds only straight-line scales, where edge rates also hold steps and kinks;

    • a slope cannot reproduce TWC’s published points to the published precision. The best-fit 0.06661% per point gives 2 + 44 × 0.06661 = 4.93084% at 45% SMI, which rounds to 4.931, against TWC’s 4.930;

    • edge rates reproduce every published point exactly, by construction.

Risks

Risk Class Mitigation and the test that pins it

Income exactly at a band edge is charged the wrong band (edge inclusivity).

silent

An edge is inclusive ("$0 to $2,732"). Unit test (U1): HH3 at $2,732 and $2,733 a year, and at $13,660 and $13,661, land in adjacent bands. A parity row sits at $500/mo (6,000/yr: 3%, $3), which the old tiers charged $0.

A determination dated before the first fee edition is priced on a later one.

fail-closed

select refuses and the handler answers 422 params_unstaged. Unit test (U1): the georgia pack refuses 2026-03-01 and prices 2026-03-02.

A malformed schedule (unordered edges, a band with both charges or neither, an edgeless middle band) loads and misprices.

fail-closed

The load rules refuse boot, naming the key. Unit test (U1): one test per rule, over a copied pack tree, as an_empty_copayment_tier_table_refuses_to_load does.

DECAL republishes Appendix D and the pack still prices on the old edition.

silent

The snapshot records the fee edition, so a stale price is traceable. The citation’s verified_date falls under policy audit staleness, and policy drift re-checks the pinned Appendix D. Each March the pack owner adds an edition, which is data only. Test (U1): adding a synthetic later edition to a copied tree changes the price on its date with no code change, mirroring a_new_smi_edition_is_a_data_only_change_for_every_pack.

The divided shares do not sum to the family fee, losing or adding a cent (U2).

silent

Integer division plus the remainder to the first children. Property test (U2, proptest): for any fee from 0 to 100,000 cents and 1 to 8 children, the shares sum to the fee and differ by at most one cent.

A denied sibling is counted in the division, so an eligible child pays a short share (U2).

silent

Only all_eligible children divide. Parity row (U2): two children at HH4 $2,000/mo, one over age, puts the whole fee ($23) on the eligible child.

A per-child add-on pushes the family fee past the income ceiling.

silent

The ceiling caps the whole family fee after the add-on. Unit test (U1): see the 7% cap row below.

An interpolated rate is off at a band’s lower edge: an income just above L is priced from the previous band, or from the wrong end of this one.

silent

L is the previous band’s edge; an income at L belongs to the previous band. Unit test (U1, the TWC fixture): at exactly 15% SMI the rate is 2933 from band [1, 15]. At 15% plus one cent of income it is 2933 from band [15, 25], unchanged because the scale is continuous.

An interpolated rate is off at a band’s upper edge.

silent

At x = U, rate = at_upper exactly. Unit test (U1, the TWC fixture): each of the nine published points prices at its published rate, with no rounding drift.

An income at exactly 85% SMI, the top of the scale, is priced above the top rate or falls into the last band.

silent

85 is the band’s own edge, so the income is in band [75, 85] at its upper rate, 7000. Unit test (U1, the TWC fixture): 85% SMI → 7000. Above 85%, the CAPS income test already denies.

The 7% cap fails to bind on an interpolated rate plus add-ons.

silent

The ceiling applies to the weekly fee after the add-ons. Unit test (U1, test-max): at 85% SMI with three children, 7000 + 2 × 1275 = 9550 is capped to exactly 7% of income. At 20% SMI with two children, the total is below the cap and is charged in full.

A pct_smi edition prices on a different SMI edition than the income limit used.

silent

Both read CapsParamsInForce, built by one selection. Unit test (U1): a pct_smi household priced across an SMI adoption date changes band only on that date.

The youngest-child allocation charges an older child, or charges twice on a tie (U2).

silent

Least age wins, ties go by child_person_id, and the others take 0. Parity rows (U2, test-max): ages 3 and 7 put the fee on the 3-year-old; twins put it on the lower id.

Units (weights by complexity) — U1 → U2

Weights: 1 trivial · 2 small · 3 medium · 5 large · 8 very large. One unit = one independently shippable MR = one child issue.

U1 (w5) — The fee as dated income bands, by dollars or by SMI

Files: * canopy-caps: src/family_fee.rs (new), src/params.rs (load, CapsParamsInForce, the tier code deleted), src/smi_editions.rs (the SelectionMiss variant), src/determine.rs (the two-pass run and build_caps_policy_params), src/derivation.rs (the edge inputs), src/determine/parity_tests.rs (georgia_rows, georgia_sibling_rows, two_parent_outcome, mixed_siblings_row), tests/caps_policy/mod.rs, tests/caps_policy/tests.rs (a_fixed_income_is_charged_by_the_edition_in_force), tests/caps_test.rs (expected_copay, caps_zero_copayment_lowest_tier, the ceiling search). * Packs: rulesets/georgia/jurisdiction.toml and citations.toml; fixtures/config/{default,test-max}/jurisdiction.toml and citations.toml. * compliance/action-catalogue/caps.toml (the tier-table GAP sentence).

The change: the model (both edge bases, rates in thousandths of a percent, stepped or interpolated across a band, the per-child add-on), the calculation and selection, the packs, the snapshot stamp, and the two-pass restructure of determine.rs (Design, "Two passes"), as Design says. U1 parses and validates allocation, but the fee is still charged in full to every eligible child, with children_in_care the number of eligible children from the first pass; U2 allocates it.

Tests: * Unit: the edge pairs, rounding down, size-15 extrapolation, both charge forms, every load-rule refusal, selection before, on and after an edition, and the data-only new-edition test. * Unit, SMI edges (test-max): a household just at and just over 15% and 50% of its size’s monthly SMI lands in adjacent bands. Repricing across an SMI adoption date changes band only on that date. * Unit, interpolation and add-on (test-max): at 32.5% SMI, halfway through the second band, the rate is 4000 and the add-on 450. One, two and three children charge 4000, 4450 and 4900 thousandths of a percent of income. * Unit, TWC’s published points: a synthetic pct_smi edition in the test, not a shipped pack, carries TWC’s published points (% SMI: rate) 1: 2000, 15: 2933, 25: 3599, 35: 4265, 45: 4930, 55: 5597, 65: 6263, 75: 6929 and 85: 7000 (TWC Commission discussion paper, 2025-01-28, Chart 1, via texas on #2226). Its bands are: 2000, stepped, up to 1%; one band between each pair of consecutive points, interpolating from one rate to the next; 7000, stepped, above 85%. At each of the nine points the rate is exactly the published value. * At 20% SMI the rate is 3266, half-up from 3266.0, and at 50% it is 5263.5 → 5264. Each test case states the arithmetic. * *Parity rows (georgia_rows, georgia_sibling_rows, two_parent_outcome), recomputed from Appendix D (the old value is in parentheses):

Household Weekly fee Arithmetic

HH3 $2,000/mo

2300 (2700)

24,000 × 5% / 52 → $23

HH3 $4,500/mo continued

7200 (4500)

54,000 × 7% / 52 → $72

HH3 $500/mo

300 (0)

6,000 × 3% / 52 → $3

HH3 $6,046/mo continued

9700 (8500)

72,552 × 7% / 52 → $97; the ceiling (9,766) does not bind

HH2 $4,894.50/mo continued

7900 (7906)

58,734 × 7% / 52 → $79; the ceiling (7,906) does not bind

HH4 $2,000/mo, each sibling

2300 (0)

24,000 × 5% / 52 → $23

  • The oracle (tests/caps_policy) mirrors the band model and fee selection. a_fixed_income_is_charged_by_the_edition_in_force becomes "a fixed income is charged by the fee edition in force", over two synthetic editions. The live caps_test.rs assertions (expected_copay, caps_zero_copayment_lowest_tier, the ceiling search) follow the oracle. The ceiling search moves to test-max, the one shipped pack where the cap binds: its flat $5 band exceeds 7% of income below about $310 a month (500 × 52 / 12 / 7).

Docs: * api/canopy-caps.adoc: step 3, and the SMI-edition section’s copay sentence. * federal-requirements.adoc: the 45 CFR 98.45(l) row. * rulesets.adoc: the [caps.family_fee] keys. * data-models/canopy-caps.adoc: the policy_params.family_fee_edition field. * CHANGELOG: an ops note that packs outside the repo replace copayment_tiers or canopy-caps refuses boot.

U2 (w3) — One fee per family, allocated as the pack elects

Files: * canopy-caps: src/determine.rs (the fee once per run, the division, policy_params), src/determine/parity_tests.rs, tests/caps_policy/mod.rs, tests/caps_test.rs. * compliance/action-catalogue/caps.toml (the distribute-family-fee-across-scholarships binding) and compliance/action-coverage-allowlist.toml (its #842 entry removed).

The change: both arms of the allocation election, as Design says: divide_evenly (georgia, default) and youngest_child (test-max).

Tests: * Property: shares sum to the fee and differ by at most one cent. * Parity, divide_evenly (georgia): HH4 $2,000/mo, two eligible children → 1150 and 1150. Three eligible children at a $23 fee → 767, 767 and 766. One eligible and one over-age child → 2300 and none. * Parity, youngest_child (test-max): children aged 3 and 7 → the whole fee on the 3-year-old and 0 on the other. Twins → the whole fee on the lower child_person_id. An ineligible youngest child → the fee on the youngest eligible child. * Contract: each envelope’s copayment_weekly_cents equals its authorization row’s, and the snapshot records the family fee, n and the allocation.

Docs: api/canopy-caps.adoc (the per-family fee, the snapshot fields), data-models/canopy-caps.adoc, CHANGELOG.

Verification

  1. cargo xtask test: the unit and integration lanes pass (see Testing).

  2. cargo xtask dev reload, then cargo xtask e2e. CAPS e2e journeys that read a copay take it from the response, not a literal (checked when U1 starts).

  3. cargo xtask policy audit is clean: every new [caps.family_fee] key is cited in each pack. cargo xtask policy action-coverage passes with U2’s binding.

  4. The merge train's pipeline is green; it runs the whole battery (CI is the gate).

Documentation Updates

  • api/canopy-caps.adoc, data-models/canopy-caps.adoc, rulesets.adoc, federal-requirements.adoc

  • CHANGELOG.adoc: one entry per unit under == Unreleased. U1’s carries the ops note.

  • No ADR: the fee model is pack data under ADR-003, and the snapshot field is an ADR-028 policy_params addition.

Review log

round vendor resolved model verdict

1

anthropic

claude-fable-5-1

FLAGS (P2): files the units name were not supplied to the reviewer, and U1 was not told it owns the two-pass determine.rs restructure. Fixed: Design "Two passes" and U1’s Files.

2

google

gemini-4-argon

FLAGS (P2): the same files; Georgia’s middle bands elided; the n = 0 run and mixed_siblings_row unspecified. Fixed: all four band rows written out, the n = 0 paragraph, the mixed_siblings_row sentence.

Edit this page · default