diff --git a/changelog.d/ny-ccap-categorical-routes.added.md b/changelog.d/ny-ccap-categorical-routes.added.md new file mode 100644 index 00000000000..9b0f1a1eff2 --- /dev/null +++ b/changelog.d/ny-ccap-categorical-routes.added.md @@ -0,0 +1 @@ +Added New York child care inputs for Safety Net Assistance, veteran assistance, required activities, child-only units, preventive care and Title XX authorization, and a Title XX route for an authorized preventive child who meets the age test. diff --git a/changelog.d/ny-ccap-categorical-routes.fixed.md b/changelog.d/ny-ccap-categorical-routes.fixed.md new file mode 100644 index 00000000000..c5cf15f4372 --- /dev/null +++ b/changelog.d/ny-ccap-categorical-routes.fixed.md @@ -0,0 +1 @@ +New York child care assistance now requires a public assistance family to work, study, take part in a required activity or meet another reason for care. It also waives the family share for preventive care and child-only units. diff --git a/policyengine_us/programs.yaml b/policyengine_us/programs.yaml index 0f74596fd68..088a06f1455 100644 --- a/policyengine_us/programs.yaml +++ b/policyengine_us/programs.yaml @@ -875,7 +875,7 @@ programs: full_name: New York Child Care Assistance Program variable: ny_ccap parameter_prefix: gov.states.ny.ocfs.ccap - notes: Models New York income eligibility, market rates, and the family share, including the foster-care and child-protective-services categorical routes, the 18 NYCRR 415.1(b) age extensions for special needs and court supervision, and the statutory family-share exceptions. The model prices excess periods for a sixth or seventh day of care, and for each day of care at or above the daily maximum hours, at the applicable daily or part-day rate under 24-OCFS-LCM-22. Without a county or county FIPS input, the model places a New York household in Albany County, in county group 2. That placement overstates rates for households in the 38 group 3 counties and understates them in New York City and the five group 1 counties. An UNKNOWN county falls to group 3, the lowest-rate group. The benefit requires childcare_hours_per_day and childcare_days_per_week as well as expenses, because OCFS sets market rates by duration of care; expenses alone yield no benefit. OCFS dropped hourly market rates on June 1, 2022 (22-OCFS-LCM-14); 18 NYCRR 415.9 and 24-OCFS-LCM-22 set weekly, daily and part-day rates only. Not modeled - the mandatory non-traditional-hours and homelessness payment differentials required by 18 NYCRR 415.9(f)(2)-(3) and the discretionary accreditation differential, the special-needs substituted market rate under 415.9(h)(4), safety net assistance as public assistance for the family-share exception, preventive services as distinct from protective services, public assistance in countable income (omitted to avoid a circular dependency through the TANF dependent care deduction), the required-work-activity condition on the 415.2(a)(1) guarantee of care to public-assistance families (public assistance enrollment alone satisfies the reason-for-care test), and the child-only assistance unit exception to the family share + notes: PolicyEngine models New York income eligibility, market rates, and the family share. It includes the categorical routes for foster care, protective services and preventive care with district approval under Title XX. It applies public assistance activity conditions and the 18 NYCRR 415.1(b) age extensions for special needs and court supervision. It also applies the statutory family share exceptions for public assistance, preventive care and child-only units. The model prices excess periods for a sixth or seventh day of care, and for each day of care at or above the daily maximum hours, at the applicable daily or part-day rate under 24-OCFS-LCM-22. Without a county or county FIPS input, the model places a New York household in Albany County, in county group 2. That placement overstates rates for households in the 38 group 3 counties and understates them in New York City and the five group 1 counties. An UNKNOWN county falls to group 3, the lowest-rate group. The benefit requires childcare_hours_per_day and childcare_days_per_week as well as expenses, because OCFS sets market rates by duration of care; expenses alone yield no benefit. OCFS dropped hourly market rates on June 1, 2022 (22-OCFS-LCM-14); 18 NYCRR 415.9 and 24-OCFS-LCM-22 set weekly, daily and part-day rates only. Not modeled - the mandatory non-traditional-hours and homelessness payment differentials required by 18 NYCRR 415.9(f)(2)-(3) and the discretionary accreditation differential, the special-needs substituted market rate under 415.9(h)(4), and public assistance in countable income (omitted to avoid a circular dependency through the TANF dependent care deduction) - state: OR status: complete name: Oregon ERDC diff --git a/policyengine_us/tests/core/test_ny_ccap_categorical_routes_invariants.py b/policyengine_us/tests/core/test_ny_ccap_categorical_routes_invariants.py new file mode 100644 index 00000000000..bea0a02772e --- /dev/null +++ b/policyengine_us/tests/core/test_ny_ccap_categorical_routes_invariants.py @@ -0,0 +1,349 @@ +"""Check New York CCAP defaults, categorical routes and family shares.""" + +from copy import deepcopy + +import numpy as np +import pytest +from hypothesis import HealthCheck, given, settings +from hypothesis import strategies as st + +from policyengine_us import Simulation +from policyengine_us.system import system as tax_benefit_system + + +YEARS = [2024, 2025, 2026] +TITLE_XX_CHILD_AGES = (0, 4, 12, 13, 14, 15, 17) +TOLERANCE = 0.001 +SPM_MONTH_INPUTS = ( + "ny_safety_net_assistance_received", + "ny_veteran_assistance_received", + "ny_ccap_required_activity", + "ny_ccap_child_only_unit", +) +PERSON_MONTH_INPUTS = ( + "ny_ccap_receives_preventive_services", + "ny_ccap_title_xx_preventive_services_approved", +) +NEW_INPUTS = SPM_MONTH_INPUTS + PERSON_MONTH_INPUTS +OUTPUTS = ( + "ny_ccap_activity_eligible", + "ny_ccap_protective_services_case", + "ny_ccap_family_share_exempt", + "ny_ccap_family_share", + "ny_ccap", +) +PROPERTY_SETTINGS = settings( + max_examples=12, + deadline=None, + derandomize=True, + suppress_health_check=[HealthCheck.too_slow, HealthCheck.data_too_large], +) + + +@pytest.fixture(scope="module") +def system(): + return tax_benefit_system + + +@st.composite +def families(draw): + return { + "caretakers": draw(st.tuples(st.booleans(), st.booleans())), + "hours": draw( + st.tuples( + st.sampled_from([0, 1, 20, 40]), + st.sampled_from([0, 1, 20, 40]), + ) + ), + "students": draw(st.tuples(st.booleans(), st.booleans())), + "tanf": draw(st.booleans()), + "fallback": draw(st.booleans()), + "homeless": draw(st.booleans()), + "protective": draw(st.tuples(st.booleans(), st.booleans(), st.booleans())), + "foster": draw(st.booleans()), + "age_eligible": draw(st.booleans()), + "asset_eligible": draw(st.booleans()), + "immigration_eligible": draw(st.booleans()), + "income_eligible": draw(st.booleans()), + "income": draw(st.integers(0, 20_000)), + "fpg": draw(st.integers(0, 8_000)), + "expenses": draw(st.integers(0, 6_000)), + "market_rate": draw(st.integers(0, 6_000)), + "in_care": draw(st.booleans()), + "new_inputs": {name: draw(st.booleans()) for name in NEW_INPUTS}, + } + + +def _situation(cases, year): + month = f"{year}-10" + situation = { + "people": {}, + "tax_units": {}, + "spm_units": {}, + "families": {}, + "marital_units": {}, + "households": {}, + } + for index, (family, flags) in enumerate(cases): + members = [f"adult_a_{index}", f"adult_b_{index}", f"child_{index}"] + for person_index, name in enumerate(members): + child = person_index == 2 + person = { + "age": { + year: family.get("child_age", 4) if child else 35 + person_index + }, + "is_tax_unit_head_or_spouse": { + year: False if child else family["caretakers"][person_index] + }, + "weekly_hours_worked_before_lsr": { + year: 0 if child else family["hours"][person_index] + }, + "is_full_time_student": { + year: False if child else family["students"][person_index] + }, + "receives_or_needs_protective_services": { + year: family["protective"][person_index] + }, + "is_in_foster_care": {month: child and family["foster"]}, + "ny_ccap_age_eligible": {year: child and family["age_eligible"]}, + "is_ccdf_immigration_eligible_child": { + year: child and family["immigration_eligible"] + }, + "childcare_hours_per_day": { + year: 8 if child and family["in_care"] else 0 + }, + "ny_ccap_market_rate": {month: family["market_rate"] if child else 0}, + } + for variable in PERSON_MONTH_INPUTS: + if flags is not None: + person[variable] = {month: child and flags[variable]} + situation["people"][name] = person + unit = { + "members": members, + "is_tanf_enrolled": {month: family["tanf"]}, + "meets_ccdf_activity_test": {year: family["fallback"]}, + "ny_ccap_countable_income": {year: 12 * family["income"]}, + "spm_unit_fpg": {year: 12 * family["fpg"]}, + "spm_unit_pre_subsidy_childcare_expenses": {year: 12 * family["expenses"]}, + "ny_ccap_income_eligible": {month: family["income_eligible"]}, + "is_ccdf_asset_eligible": {year: family["asset_eligible"]}, + } + if flags is not None: + for variable in SPM_MONTH_INPUTS: + unit[variable] = {month: flags[variable]} + situation["spm_units"][f"unit_{index}"] = unit + for group in ("tax_units", "families"): + situation[group][f"{group}_{index}"] = {"members": members} + situation["marital_units"][f"adults_{index}"] = {"members": members[:2]} + situation["marital_units"][f"child_{index}"] = {"members": members[2:]} + situation["households"][f"household_{index}"] = { + "members": members, + "state_code": {year: "NY"}, + "is_homeless": {year: family["homeless"]}, + } + return situation + + +def _calculate(system, cases, year): + month = f"{year}-10" + simulation = Simulation( + tax_benefit_system=system, + situation=_situation(cases, year), + ) + outputs = { + name: np.asarray( + simulation.calculate( + name, year if name == "ny_ccap_protective_services_case" else month + ) + ) + for name in OUTPUTS + } + outputs["eligible_people"] = np.asarray( + simulation.calculate("ny_ccap_eligible_child", month) + ).reshape(-1, 3) + outputs["ny_ccap_eligible_child"] = outputs["eligible_people"][:, 2] + for name in ( + "ny_ccap_countable_income", + "spm_unit_fpg", + "spm_unit_pre_subsidy_childcare_expenses", + ): + outputs[name] = np.asarray(simulation.calculate(name, month)) + for name, values in outputs.items(): + assert np.isfinite(values).all(), f"{name} contains a nonfinite result" + return outputs + + +def _work_eligible(family): + return any(family["caretakers"]) and all( + not caretaker or hours > 0 or student + for caretaker, hours, student in zip( + family["caretakers"], family["hours"], family["students"] + ) + ) + + +def _eligible_child(family, activity): + protective = any(family["protective"]) + return ( + family["age_eligible"] + and family["asset_eligible"] + and family["immigration_eligible"] + and (activity or protective or family["foster"] or family["homeless"]) + and (family["income_eligible"] or protective or family["foster"]) + ) + + +@PROPERTY_SETTINGS +@given(st.sampled_from(YEARS), st.lists(families(), min_size=2, max_size=8)) +def test_defaults_preserve_main_except_public_assistance_activity(system, year, units): + defaults = dict.fromkeys(NEW_INPUTS, False) + cases = [(unit, flags) for unit in units for flags in (None, defaults)] + outputs = _calculate(system, cases, year) + for name in OUTPUTS + ("ny_ccap_eligible_child",): + np.testing.assert_allclose( + outputs[name][0::2], outputs[name][1::2], atol=TOLERANCE, rtol=0 + ) + + p = system.parameters(f"{year}-10").gov.states.ny.ocfs.ccap + for index, unit in enumerate(units): + actual_index = 2 * index + work = _work_eligible(unit) + main_activity = work or unit["tanf"] or unit["fallback"] + activity = work or unit["fallback"] + protective = any(unit["protective"]) + exempt = unit["tanf"] or unit["homeless"] or unit["foster"] or protective + income = outputs["ny_ccap_countable_income"][actual_index] + fpg = outputs["spm_unit_fpg"][actual_index] + expenses = outputs["spm_unit_pre_subsidy_childcare_expenses"][actual_index] + family_share = ( + max( + (income - fpg) * p.family_share_rate, + p.minimum_weekly_family_share * 52 / 12, + ) + if income > fpg and not exempt + else 0 + ) + eligible = _eligible_child(unit, activity) + main_eligible = _eligible_child(unit, main_activity) + reimbursable = min(expenses, unit["market_rate"]) if unit["in_care"] else 0 + benefit = max(reimbursable * eligible - family_share, 0) + main_benefit = max(reimbursable * main_eligible - family_share, 0) + assert outputs["ny_ccap_activity_eligible"][actual_index] == activity + assert outputs["ny_ccap_protective_services_case"][actual_index] == protective + assert outputs["ny_ccap_family_share_exempt"][actual_index] == exempt + assert outputs["ny_ccap_family_share"][actual_index] == pytest.approx( + family_share, abs=TOLERANCE + ) + assert outputs["ny_ccap_eligible_child"][actual_index] == eligible + assert outputs["ny_ccap"][actual_index] == pytest.approx(benefit, abs=TOLERANCE) + intended_activity_loss = unit["tanf"] and not work and not unit["fallback"] + if not intended_activity_loss: + assert eligible == main_eligible + assert benefit == pytest.approx(main_benefit, abs=TOLERANCE) + else: + assert eligible <= main_eligible + assert benefit <= main_benefit + TOLERANCE + + +@PROPERTY_SETTINGS +@given(st.sampled_from(YEARS), st.lists(families(), min_size=2, max_size=8)) +def test_categorical_inputs_never_raise_share_or_lower_ccap(system, year, units): + cases = [] + for unit in units: + for variable in NEW_INPUTS: + for value in (False, True): + cases.append((unit, {**unit["new_inputs"], variable: value})) + outputs = _calculate(system, cases, year) + share = outputs["ny_ccap_family_share"] + benefit = outputs["ny_ccap"] + assert (share[1::2] <= share[0::2] + TOLERANCE).all() + assert (benefit[1::2] + TOLERANCE >= benefit[0::2]).all() + exempt = outputs["ny_ccap_family_share_exempt"].astype(bool) + np.testing.assert_array_equal(share[exempt], 0) + assert (share >= 0).all() + assert (benefit >= 0).all() + + +@PROPERTY_SETTINGS +@given(st.sampled_from(YEARS), families()) +def test_public_assistance_needs_work_or_required_activity(system, year, unit): + idle = deepcopy(unit) + idle.update( + caretakers=(True, True), + hours=(0, 0), + students=(False, False), + fallback=False, + homeless=False, + protective=(False, False, False), + foster=False, + age_eligible=True, + asset_eligible=True, + immigration_eligible=True, + income_eligible=True, + ) + cases = [] + expected = [] + for source in (None, "tanf", "safety_net", "veteran"): + for required in (False, True): + family = {**idle, "tanf": source == "tanf"} + flags = dict.fromkeys(NEW_INPUTS, False) + flags["ny_safety_net_assistance_received"] = source == "safety_net" + flags["ny_veteran_assistance_received"] = source == "veteran" + flags["ny_ccap_required_activity"] = required + cases.append((family, flags)) + expected.append(source is not None and required) + outputs = _calculate(system, cases, year) + np.testing.assert_array_equal(outputs["ny_ccap_activity_eligible"], expected) + np.testing.assert_array_equal(outputs["ny_ccap_eligible_child"], expected) + np.testing.assert_array_equal(outputs["ny_ccap"][0::2], 0) + + +@PROPERTY_SETTINGS +@given(st.sampled_from(YEARS), families()) +def test_title_xx_approval_serves_only_the_preventive_child(system, year, unit): + # 18 NYCRR 415.1(b) and 415.2(d)(4)(ii): the Title XX route keeps the age + # test. A child under 13 passes it, and so does an older child under the + # special-needs or court-supervision extensions, drawn here through + # unit["age_eligible"]. A 13-year-old may finish the school year in which + # the child turned 13, which ends before the child turns 14. + flag_pairs = ((False, False), (True, False), (False, True), (True, True)) + cases = [] + expected_eligible = [] + expected_exempt = [] + for child_age in TITLE_XX_CHILD_AGES: + age_eligible = child_age < 13 or unit["age_eligible"] + blocked = deepcopy(unit) + blocked.update( + child_age=child_age, + hours=(0, 0), + students=(False, False), + tanf=False, + fallback=False, + homeless=False, + protective=(False, False, False), + foster=False, + age_eligible=age_eligible, + asset_eligible=False, + immigration_eligible=False, + income_eligible=False, + in_care=True, + expenses=max(unit["expenses"], 1), + market_rate=max(unit["market_rate"], 1), + ) + title_xx_age_eligible = age_eligible or child_age == 13 + for preventive, approved in flag_pairs: + flags = dict.fromkeys(NEW_INPUTS, False) + flags["ny_ccap_receives_preventive_services"] = preventive + flags["ny_ccap_title_xx_preventive_services_approved"] = approved + cases.append((blocked, flags)) + expected_eligible.append(preventive and approved and title_xx_age_eligible) + expected_exempt.append(preventive) + outputs = _calculate(system, cases, year) + np.testing.assert_array_equal(outputs["ny_ccap_eligible_child"], expected_eligible) + assert not outputs["eligible_people"][:, :2].any() + np.testing.assert_array_equal( + outputs["ny_ccap_family_share_exempt"], expected_exempt + ) + eligible = np.array(expected_eligible) + np.testing.assert_array_equal(outputs["ny_ccap"][~eligible], 0) + assert (outputs["ny_ccap"][eligible] > 0).all() diff --git a/policyengine_us/tests/policy/baseline/gov/states/ny/ocfs/ccap/ny_ccap.yaml b/policyengine_us/tests/policy/baseline/gov/states/ny/ocfs/ccap/ny_ccap.yaml index dee25cf833b..5840c6adf6f 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ny/ocfs/ccap/ny_ccap.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ny/ocfs/ccap/ny_ccap.yaml @@ -258,3 +258,1286 @@ output: ny_ccap: 1_000 absolute_error_margin: 0.01 + +# The child receives min($900 of monthly expenses, $600 market rate) = $600 after the share waiver. +- name: Safety Net Assistance waives the share and required activity qualifies the child. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + ny_safety_net_assistance_received: + 2025-01: true + ny_ccap_required_activity: + 2025-01: true + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: true + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, true] + ny_ccap: 600 + absolute_error_margin: 0.01 + +# Monthly income of $3,000 minus the $2,000 poverty guideline, times 1%, gives a $10 share; $600 - $10 = $590. +- name: A working family without public assistance pays its income-based share. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 40 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: true + ny_ccap_family_share_exempt: false + ny_ccap_family_share: 10 + ny_ccap_eligible_child: [false, true] + ny_ccap: 590 + absolute_error_margin: 0.01 + +- name: Veteran assistance waives the share and required activity qualifies the child. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + ny_veteran_assistance_received: + 2025-01: true + ny_ccap_required_activity: + 2025-01: true + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: true + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, true] + ny_ccap: 600 + absolute_error_margin: 0.01 + +- name: A TANF family qualifies when its caretaker takes part in a required activity. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: true + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + ny_ccap_required_activity: + 2025-01: true + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: true + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, true] + ny_ccap: 600 + absolute_error_margin: 0.01 + +# Public assistance receipt waives the share but does not itself satisfy the reason for care. +- name: A TANF family without work or another activity does not qualify. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: true + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: false + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, false] + ny_ccap: 0 + absolute_error_margin: 0.01 + +- name: A working TANF family qualifies without the required-activity input. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 40 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: true + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: true + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, true] + ny_ccap: 600 + absolute_error_margin: 0.01 + +- name: Safety Net Assistance alone does not satisfy the reason for care. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + ny_safety_net_assistance_received: + 2025-01: true + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: false + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, false] + ny_ccap: 0 + absolute_error_margin: 0.01 + +- name: Veteran assistance alone does not satisfy the reason for care. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + ny_veteran_assistance_received: + 2025-01: true + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: false + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, false] + ny_ccap: 0 + absolute_error_margin: 0.01 + +- name: A required activity without public assistance does not open the guarantee. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + ny_ccap_required_activity: + 2025-01: true + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: false + ny_ccap_family_share_exempt: false + ny_ccap_family_share: 10 + ny_ccap_eligible_child: [false, false] + ny_ccap: 0 + absolute_error_margin: 0.01 + +- name: A full-time student qualifies without public assistance. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: true + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: true + ny_ccap_family_share_exempt: false + ny_ccap_family_share: 10 + ny_ccap_eligible_child: [false, true] + ny_ccap: 590 + absolute_error_margin: 0.01 + +- name: Preventive child care waives the share for a working family. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 40 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + ny_ccap_receives_preventive_services: + 2025: true + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: true + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, true] + ny_ccap: 600 + absolute_error_margin: 0.01 + +- name: Preventive child care alone does not supply a reason for care. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + ny_ccap_receives_preventive_services: + 2025: true + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: false + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, false] + ny_ccap: 0 + absolute_error_margin: 0.01 + +# The $8,000 monthly income exceeds 85% of the $5,000 state median income: $4,250. +- name: Preventive child care alone does not waive the income limit. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 40 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + ny_ccap_receives_preventive_services: + 2025: true + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 96_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: true + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, false] + ny_ccap: 0 + absolute_error_margin: 0.01 + +# District approval records the applicable Title XX financial and provider conditions, +# and the four-year-old passes the 18 NYCRR 415.1(b) age test. +- name: A district-approved preventive child qualifies through Title XX. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + ny_ccap_receives_preventive_services: + 2025: true + ny_ccap_title_xx_preventive_services_approved: + 2025: true + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 96_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: false + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, true] + ny_ccap: 600 + absolute_error_margin: 0.01 + +- name: A district-approved preventive child can continue after turning thirteen during the school year. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 13 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + ny_ccap_receives_preventive_services: + 2025: true + ny_ccap_title_xx_preventive_services_approved: + 2025: true + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 96_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: false + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, true] + ny_ccap: 600 + absolute_error_margin: 0.01 + +# 18 NYCRR 415.1(b)(1) and 415.2(d)(4)(ii) close Title XX care at 13, apart from +# the school-year continuation, which ends before the child turns 14. Income of +# $96,000 / 12 = $8,000 a month exceeds 85% x $60,000 / 12 = $4,250, so the block +# grant route fails too. Preventive care still waives the share: $0 share, $0 benefit. +- name: District approval does not open the Title XX route to a fourteen-year-old without special needs. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 14 + is_disabled: false + is_under_court_supervision: false + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + ny_ccap_receives_preventive_services: + 2025: true + ny_ccap_title_xx_preventive_services_approved: + 2025: true + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 96_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_age_eligible: [false, false] + ny_ccap_activity_eligible: false + ny_ccap_income_eligible: false + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, false] + ny_ccap: 0 + absolute_error_margin: 0.01 + +# 18 NYCRR 415.1(b)(2) extends the age limit to 18 for a child with special needs, +# so an approved preventive 15-year-old keeps the Title XX route. +# min($10,800 / 12 = $900, $600 rate) = $600, less a $0 share = $600. +- name: District approval opens the Title XX route to a fifteen-year-old with special needs. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 15 + is_disabled: true + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + ny_ccap_receives_preventive_services: + 2025: true + ny_ccap_title_xx_preventive_services_approved: + 2025: true + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 96_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_age_eligible: [false, true] + ny_ccap_activity_eligible: false + ny_ccap_income_eligible: false + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, true] + ny_ccap: 600 + absolute_error_margin: 0.01 + +# The Title XX route needs preventive care and district approval for the same child. +# One child receives preventive care without approval, and the other has approval +# without preventive care, so neither qualifies. Preventive care still waives the +# share: $0 share, and no eligible child leaves a $0 benefit. +- name: Preventive care for one child and Title XX approval for another qualify neither child. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + preventive_child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + ny_ccap_receives_preventive_services: + 2025: true + approved_child: + age: 6 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + ny_ccap_title_xx_preventive_services_approved: + 2025: true + spm_units: + spm_unit: + members: [caretaker, preventive_child, approved_child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 96_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 21_600 + households: + household: + members: [caretaker, preventive_child, approved_child] + state_code: NY + output: + ny_ccap_activity_eligible: false + ny_ccap_income_eligible: false + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, false, false] + ny_ccap: 0 + absolute_error_margin: 0.01 + +- name: Title XX approval without preventive child care does not open the preventive route. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + ny_ccap_title_xx_preventive_services_approved: + 2025: true + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: false + ny_ccap_family_share_exempt: false + ny_ccap_family_share: 10 + ny_ccap_eligible_child: [false, false] + ny_ccap: 0 + absolute_error_margin: 0.01 + +- name: A child-only unit living with a nonparent relative pays no share. + period: 2025-01 + input: + people: + caretaker: + age: 65 + weekly_hours_worked_before_lsr: 40 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + ny_ccap_child_only_unit: + 2025: true + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: true + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, true] + ny_ccap: 600 + absolute_error_margin: 0.01 + +- name: A parent household pays its income-based share without a child-only unit. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 40 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: true + ny_ccap_family_share_exempt: false + ny_ccap_family_share: 10 + ny_ccap_eligible_child: [false, true] + ny_ccap: 590 + absolute_error_margin: 0.01 + +- name: A child-only unit does not itself supply a reason for care. + period: 2025-01 + input: + people: + caretaker: + age: 65 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + ny_ccap_child_only_unit: + 2025: true + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: false + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, false] + ny_ccap: 0 + absolute_error_margin: 0.01 + +# The district approves only the preventive child's Title XX care. +# Both children have a $600 market rate; the $1,800 expense total gives +# $900 per child, so the eligible child receives $600 and the sibling receives $0. +- name: A preventive child's Title XX approval does not qualify an ordinary sibling. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 0 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + preventive_child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + ny_ccap_receives_preventive_services: + 2025: true + ny_ccap_title_xx_preventive_services_approved: + 2025: true + sibling: + age: 6 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + spm_units: + spm_unit: + members: [caretaker, preventive_child, sibling] + is_tanf_enrolled: + 2025-01: false + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 96_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 21_600 + households: + household: + members: [caretaker, preventive_child, sibling] + state_code: NY + output: + ny_ccap_activity_eligible: false + ny_ccap_income_eligible: false + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, true, false] + ny_ccap: 600 + absolute_error_margin: 0.01 + +# This family differs from the working family without assistance only in +# Safety Net Assistance receipt: the $10 share falls to $0 and $590 rises to $600. +- name: A working Safety Net Assistance family pays no share. + period: 2025-01 + input: + people: + caretaker: + age: 30 + weekly_hours_worked_before_lsr: 40 + is_full_time_student: false + ny_ccap_market_rate: + 2025-01: 0 + child: + age: 4 + childcare_hours_per_day: 6 + childcare_days_per_week: 5 + ny_ccap_market_rate: + 2025-01: 600 + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-01: false + ny_safety_net_assistance_received: + 2025-01: true + meets_ccdf_activity_test: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + households: + household: + members: [caretaker, child] + state_code: NY + output: + ny_ccap_activity_eligible: true + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, true] + ny_ccap: 600 + absolute_error_margin: 0.01 + +# The district's June approval ends before July; the child has no other route. +# Preventive care keeps the family share at $0, but July eligibility and benefit fall to $0. +- name: A thirteen-year-old loses the Title XX route after district approval expires. + period: 2025-07 + input: + people: + caretaker: + age: + 2025: 30 + weekly_hours_worked_before_lsr: + 2025: 0 + is_full_time_student: + 2025: false + ny_ccap_market_rate: + 2025-07: 0 + child: + age: + 2025: 13 + childcare_hours_per_day: + 2025: 6 + childcare_days_per_week: + 2025: 5 + ny_ccap_market_rate: + 2025-07: 600 + ny_ccap_receives_preventive_services: + 2025-07: true + ny_ccap_title_xx_preventive_services_approved: + 2025-06: true + 2025-07: false + spm_units: + spm_unit: + members: [caretaker, child] + is_tanf_enrolled: + 2025-07: false + meets_ccdf_activity_test: + 2025: false + ny_ccap_countable_income: + 2025: 96_000 + spm_unit_fpg: + 2025: 24_000 + hhs_smi: + 2025: 60_000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10_800 + households: + household: + members: [caretaker, child] + state_code: + 2025: NY + output: + ny_ccap_activity_eligible: false + ny_ccap_income_eligible: false + ny_ccap_family_share_exempt: true + ny_ccap_family_share: 0 + ny_ccap_eligible_child: [false, false] + ny_ccap: 0 + absolute_error_margin: 0.01 + +# June status does not waive July fees; ($3,000 - $2,000) * 1% = $10, and $600 - $10 = $590. +- name: A working family pays the ordinary share after preventive child care ends. + period: 2025-07 + input: + people: + caretaker: + age: + 2025: 30 + weekly_hours_worked_before_lsr: + 2025: 40 + is_full_time_student: + 2025: false + ny_ccap_market_rate: + 2025-07: 0 + child: + age: + 2025: 4 + childcare_hours_per_day: + 2025: 6 + childcare_days_per_week: + 2025: 5 + ny_ccap_market_rate: + 2025-07: 600 + ny_ccap_receives_preventive_services: + 2025-06: true + 2025-07: false + ny_ccap_title_xx_preventive_services_approved: + 2025-07: false + spm_units: + spm_unit: + members: + - caretaker + - child + is_tanf_enrolled: + 2025-07: false + meets_ccdf_activity_test: + 2025: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24000 + hhs_smi: + 2025: 60000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10800 + households: + household: + members: + - caretaker + - child + state_code: + 2025: NY + output: + ny_ccap_activity_eligible: true + ny_ccap_family_share_exempt: false + ny_ccap_family_share: 10 + ny_ccap_eligible_child: + - false + - true + ny_ccap: 590 + absolute_error_margin: 0.01 +- name: A working family pays the ordinary share after child-only status ends. + period: 2025-07 + input: + people: + caretaker: + age: + 2025: 30 + weekly_hours_worked_before_lsr: + 2025: 40 + is_full_time_student: + 2025: false + ny_ccap_market_rate: + 2025-07: 0 + child: + age: + 2025: 4 + childcare_hours_per_day: + 2025: 6 + childcare_days_per_week: + 2025: 5 + ny_ccap_market_rate: + 2025-07: 600 + spm_units: + spm_unit: + members: + - caretaker + - child + is_tanf_enrolled: + 2025-07: false + meets_ccdf_activity_test: + 2025: false + ny_ccap_countable_income: + 2025: 36_000 + spm_unit_fpg: + 2025: 24000 + hhs_smi: + 2025: 60000 + spm_unit_pre_subsidy_childcare_expenses: + 2025: 10800 + ny_ccap_child_only_unit: + 2025-06: true + 2025-07: false + households: + household: + members: + - caretaker + - child + state_code: + 2025: NY + output: + ny_ccap_activity_eligible: true + ny_ccap_family_share_exempt: false + ny_ccap_family_share: 10 + ny_ccap_eligible_child: + - false + - true + ny_ccap: 590 + absolute_error_margin: 0.01 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ny/ocfs/ccap/ny_ccap_activity_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/ny/ocfs/ccap/ny_ccap_activity_eligible.yaml index 2d5a98ae51f..d56b5a22164 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ny/ocfs/ccap/ny_ccap_activity_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ny/ocfs/ccap/ny_ccap_activity_eligible.yaml @@ -45,8 +45,8 @@ output: ny_ccap_activity_eligible: false -# 415.1(o)(1)(i) leaves the minimum weekly hours to the Office, so any hours -# of work count. +# PolicyEngine retains its approximation that any positive weekly work +# hours satisfy the calculated work test. - name: Case 3, one hour of work a week counts as engaged in work. period: 2025-01 input: @@ -141,7 +141,7 @@ # for care. ny_ccap_activity_eligible: true -- name: Case 7, a public assistance family is eligible without modeled work hours. +- name: Case 7, a public assistance family without an activity does not qualify. period: 2025-01 input: people: @@ -161,7 +161,7 @@ members: [parent, child] state_code: NY output: - ny_ccap_activity_eligible: true + ny_ccap_activity_eligible: false - name: Case 8, the federal activity input covers pathways not modeled here. period: 2025-01 diff --git a/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_activity_eligible.py b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_activity_eligible.py index fb3bac3d016..38322305a9f 100644 --- a/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_activity_eligible.py +++ b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_activity_eligible.py @@ -8,22 +8,28 @@ class ny_ccap_activity_eligible(Variable): definition_period = MONTH defined_for = StateCode.NY documentation = ( - "18 NYCRR 415.2(a)(2)(v)(a) serves a family whose caretakers are " - "engaged in work, and the section's opening paragraph requires each " - "caretaker of a two-caretaker family to meet one of the criteria. " - "415.1(o)(1)(i) defines engaged in work by a minimum weekly hours " - "figure the Office sets outside Part 415, so any hours count here. " - "Educational and vocational activities under 415.2(a)(2)(v)(d) are " - "read from full-time student status, and 415.2(a)(1)(i) and (iii) " - "guarantee care to a public assistance family whose caretaker is in " - "a required work activity; is_tanf_enrolled stands in for that " - "required-activity condition. The remaining pathways — job search, the " - "individual training programs, domestic violence services, substance " - "abuse treatment, and a caretaker who is incapacitated or has family " - "duties away from home — are represented by the " - "meets_ccdf_activity_test input." + "New York grants the public-assistance reason-for-care route when a " + "caretaker participates in a required activity under 18 NYCRR " + "415.2(a)(1). Family Assistance, Safety Net Assistance and veteran " + "assistance qualify as public assistance. Work, full-time study and " + "meets_ccdf_activity_test provide the other activity routes. For the " + "calculated work route, each tax-unit head or spouse must work or " + "study, and the unit must contain a caretaker. PolicyEngine counts " + "any positive weekly hours and retains the full-time-student " + "approximation. OCFS sets the minimum work hours outside Part 415; " + "public assistance recipients follow district work definitions. " + "PolicyEngine has no input for a pending public assistance " + "application, although applicants may also qualify for guaranteed " + "care. The fallback input records job search, training, domestic " + "violence services, substance abuse treatment, incapacity and family " + "duties away from home." + ) + reference = ( + "https://ocfs.ny.gov/programs/childcare/regulations/415-Child-Care-Services.pdf#page=13", + "https://www.law.cornell.edu/regulations/new-york/18-NYCRR-415.2", + "https://www.law.cornell.edu/regulations/new-york/18-NYCRR-415.1", + "https://www.nysenate.gov/legislation/laws/SOS/2", ) - reference = "https://ocfs.ny.gov/programs/childcare/regulations/415-Child-Care-Services.pdf#page=13" def formula(spm_unit, period, parameters): person = spm_unit.members @@ -33,9 +39,12 @@ def formula(spm_unit, period, parameters): has_caretaker = spm_unit.sum(is_caretaker) > 0 every_caretaker_active = spm_unit.sum(is_caretaker & ~in_activity) == 0 work_eligible = has_caretaker & every_caretaker_active - # is_tanf_enrolled reflects reported enrollment rather than the - # computed tanf amount, so reading it does not close the - # CCAP -> TANF -> child care expenses circular dependency. - public_assistance = spm_unit("is_tanf_enrolled", period) + # Reported receipt avoids the CCAP -> TANF -> child care expense cycle. + public_assistance = ( + spm_unit("is_tanf_enrolled", period) + | spm_unit("ny_safety_net_assistance_received", period) + | spm_unit("ny_veteran_assistance_received", period) + ) + required_activity = spm_unit("ny_ccap_required_activity", period) fallback = spm_unit("meets_ccdf_activity_test", period.this_year) - return work_eligible | public_assistance | fallback + return work_eligible | (public_assistance & required_activity) | fallback diff --git a/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_child_only_unit.py b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_child_only_unit.py new file mode 100644 index 00000000000..6cd8cc9cd1c --- /dev/null +++ b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_child_only_unit.py @@ -0,0 +1,27 @@ +from policyengine_us.model_api import * + + +class ny_ccap_child_only_unit(Variable): + value_type = bool + entity = SPMUnit + label = "New York CCAP child care services unit contains only eligible children" + definition_period = MONTH + set_input = set_input_dispatch_by_period + default_value = False + defined_for = StateCode.NY + documentation = ( + "Records a child care services unit containing only eligible children " + "under 18 NYCRR 415.1(l)(1)(iv). The children live only with people " + "outside their parent, step-parent, adoptive parent or financially " + "responsible legal guardian relationships. Tax-unit roles cannot " + "identify those legal relationships. Apply this status only when no " + "adult family member receives public assistance. OCFS added the " + "child-only exception to the 415.3(e)(1) family share effective " + "November 24, 2021." + ) + reference = ( + "https://ocfs.ny.gov/programs/childcare/regulations/415-Child-Care-Services.pdf", + "https://dos.ny.gov/system/files/documents/2021/11/112421.pdf#page=15", + "https://www.law.cornell.edu/regulations/new-york/18-NYCRR-415.1", + "https://www.law.cornell.edu/regulations/new-york/18-NYCRR-415.3", + ) diff --git a/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_eligible_child.py b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_eligible_child.py index 6052c4615a8..0527a3c0135 100644 --- a/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_eligible_child.py +++ b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_eligible_child.py @@ -8,19 +8,26 @@ class ny_ccap_eligible_child(Variable): label = "Eligible child for the New York Child Care Assistance Program" defined_for = StateCode.NY documentation = ( - "New York's eligibility test for CCAP. It keeps the federal asset " - "and immigration tests, applies New York's own age limit and income " - "limit, and adds the two categorical routes New York law requires: " - "foster care and open child protective or preventive services cases " - "are eligible without regard to income, and families experiencing " - "homelessness are served without further activity requirements while " - "remaining subject to the income test. The protective services route " - "is family-level and the foster care route is child-level, following " - "415.2(a)(2)(vi)(a)-(b)." + "New York applies its age and income tests alongside federal asset " + "and immigration tests for the Child Care Block Grant route. Foster " + "children and families with an open protective-services case bypass " + "the income test. Those families and families experiencing " + "homelessness bypass the activity test. Preventive-service receipt " + "alone waives the family share and leaves the block grant tests " + "unchanged. A child also qualifies through Title XX when the district " + "authorizes preventive child care after applying its funding, plan, " + "need, priority, financial and provider conditions. PolicyEngine " + "applies the 18 NYCRR 415.1(b) age test on that route, with its " + "special-needs and court-supervision extensions. A child who turns 13 " + "during a school year may continue through the end of that school year." ) reference = ( - "https://ocfs.ny.gov/programs/childcare/regulations/415-Child-Care-Services.pdf#page=15", + # PDF pages 2, 15, 17 + "https://ocfs.ny.gov/programs/childcare/regulations/415-Child-Care-Services.pdf#page=2", "https://ocfs.ny.gov/main/policies/external/2023/adm/23-OCFS-ADM-18.pdf#page=9", + "https://www.law.cornell.edu/regulations/new-york/18-NYCRR-415.2", + "https://www.law.cornell.edu/regulations/new-york/18-NYCRR-415.1", + "https://www.law.cornell.edu/regulations/new-york/18-NYCRR-404.5", ) def formula(person, period, parameters): @@ -37,19 +44,31 @@ def formula(person, period, parameters): ) in_foster_care = person("is_in_foster_care", period) homeless = spm_unit.household("is_homeless", period.this_year) - # 415.2(a)(2)(vi) waives the income test for foster care placements - # and open child protective or preventive services cases. + # New York waives income limits for foster and protective cases. categorically_eligible = in_foster_care | protective_services - # Reason for care mirrors the federal test, which already accepts - # protective services in place of the activity test, and adds the - # foster care and homelessness routes. reason_for_care_eligible = ( meets_activity_test | protective_services | in_foster_care | homeless ) - return ( + block_grant_eligible = ( age_eligible & asset_eligible & immigration_eligible & reason_for_care_eligible & (income_eligible | categorically_eligible) ) + preventive_services = person("ny_ccap_receives_preventive_services", period) + title_xx_approved = person( + "ny_ccap_title_xx_preventive_services_approved", period + ) + # 18 NYCRR 415.1(b)(1) and 415.2(d)(4)(ii) let a Title XX or + # preventive child who turns 13 during a school year continue through + # the end of that school year, before the child turns 14. The + # authorization input records whether that continuation still runs. + p = parameters(period).gov.states.ny.ocfs.ccap.eligibility.age_limit + age = person("age", period.this_year) + school_year_continuation_age = (age >= p.base) & (age < p.base + 1) + title_xx_age_eligible = age_eligible | school_year_continuation_age + title_xx_eligible = ( + preventive_services & title_xx_approved & title_xx_age_eligible + ) + return block_grant_eligible | title_xx_eligible diff --git a/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_family_share_exempt.py b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_family_share_exempt.py index 110cdc3bb7a..4d3e335e982 100644 --- a/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_family_share_exempt.py +++ b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_family_share_exempt.py @@ -8,34 +8,47 @@ class ny_ccap_family_share_exempt(Variable): label = "Exempt from the New York CCAP family share" defined_for = StateCode.NY documentation = ( - "Categorical exceptions to the New York Child Care Assistance " - "Program family share under 18 NYCRR 415.3(e)(1). Three of the " - "exceptions are narrower here than in the regulation. New York " - "counts both family assistance and safety net assistance as public " - "assistance, but PolicyEngine has no safety net assistance variable, " - "so only family assistance enrollment is read. The regulation covers " - "a child receiving preventive as well as protective services, and " - "PolicyEngine has no preventive services variable. The exception for " - "a child care services unit comprised of the eligible children only " - "is not modeled because PolicyEngine has no variable identifying a " - "child-only assistance unit. The exception for a family with income " - "at or below 100 percent of the state income standard is not read " - "here: 415.3(e)(3) computes that family's share as zero, which " - "ny_ccap_family_share applies arithmetically." + "New York exempts public assistance families, families experiencing " + "homelessness, foster children, protective or preventive child care " + "and child-only child care services units from the income-based " + "family share under 18 NYCRR 415.3(e)(1). Public assistance includes " + "Family Assistance, Safety Net Assistance and veteran assistance. " + "OCFS ties the foster care, protective and preventive exceptions to " + "the child that receives the assistance. PolicyEngine computes one " + "family share per unit and waives all of it when any member " + "qualifies, so the family also pays no share for a sibling in " + "ordinary care. PolicyEngine separately computes a zero share for " + "income at or " + "below the state income standard under 415.3(e)(3)." ) reference = ( "https://ocfs.ny.gov/programs/childcare/regulations/415-Child-Care-Services.pdf#page=19", "https://ocfs.ny.gov/main/policies/external/2023/adm/23-OCFS-ADM-18.pdf#page=3", + "https://www.law.cornell.edu/regulations/new-york/18-NYCRR-415.3", + "https://www.nysenate.gov/legislation/laws/SOS/2", ) def formula(spm_unit, period, parameters): - # is_tanf_enrolled reflects reported enrollment rather than the - # computed tanf amount, so reading it does not close the - # CCAP -> TANF -> child care expenses circular dependency. - public_assistance = spm_unit("is_tanf_enrolled", period) + # Reported receipt avoids the CCAP -> TANF -> child care expense cycle. + public_assistance = ( + spm_unit("is_tanf_enrolled", period) + | spm_unit("ny_safety_net_assistance_received", period) + | spm_unit("ny_veteran_assistance_received", period) + ) homeless = spm_unit.household("is_homeless", period.this_year) foster_care = add(spm_unit, period, ["is_in_foster_care"]) > 0 protective_services = spm_unit( "ny_ccap_protective_services_case", period.this_year ) - return public_assistance | homeless | foster_care | protective_services + preventive_services = ( + add(spm_unit, period, ["ny_ccap_receives_preventive_services"]) > 0 + ) + child_only_unit = spm_unit("ny_ccap_child_only_unit", period) + return ( + public_assistance + | homeless + | foster_care + | protective_services + | preventive_services + | child_only_unit + ) diff --git a/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_protective_services_case.py b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_protective_services_case.py index eb7abcd01a9..0d71f84c416 100644 --- a/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_protective_services_case.py +++ b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_protective_services_case.py @@ -5,16 +5,19 @@ class ny_ccap_protective_services_case(Variable): value_type = bool entity = SPMUnit definition_period = YEAR - label = "New York CCAP open protective or preventive services case" + label = "New York CCAP protective services case" defined_for = StateCode.NY documentation = ( - "18 NYCRR 415.2(a)(2)(vi)(b) attaches the protective and preventive " - "services route to the family rather than to the individual child, so " - "one flagged member qualifies the whole unit. The preventive-services " - "half of the rule is not separately modeled because PolicyEngine has " - "no preventive-services variable." + "New York treats an open protective-services case as a family-level " + "route under 18 NYCRR 415.2(a)(3)(vi). PolicyEngine uses " + "receives_or_needs_protective_services for that case status. " + "Preventive child care uses a separate receipt input and Title XX " + "authorization." + ) + reference = ( + "https://ocfs.ny.gov/programs/childcare/regulations/415-Child-Care-Services.pdf#page=15", + "https://www.law.cornell.edu/regulations/new-york/18-NYCRR-415.2", ) - reference = "https://ocfs.ny.gov/programs/childcare/regulations/415-Child-Care-Services.pdf#page=15" def formula(spm_unit, period, parameters): return add(spm_unit, period, ["receives_or_needs_protective_services"]) > 0 diff --git a/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_receives_preventive_services.py b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_receives_preventive_services.py new file mode 100644 index 00000000000..e7366fa2b34 --- /dev/null +++ b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_receives_preventive_services.py @@ -0,0 +1,25 @@ +from policyengine_us.model_api import * + + +class ny_ccap_receives_preventive_services(Variable): + value_type = bool + entity = Person + label = "Receives New York CCAP child care as a preventive service" + definition_period = MONTH + set_input = set_input_dispatch_by_period + default_value = False + defined_for = StateCode.NY + documentation = ( + "Records that this child receives child care as a preventive service " + "under 18 NYCRR 415.3(e)(1). Families receive a family-share exemption " + "without a protective-services case. OCFS added the preventive and " + "child-only exceptions to 415.3(e)(1) effective November 24, 2021. " + "Title XX eligibility also requires district authorization under " + "415.2(b)." + ) + reference = ( + "https://ocfs.ny.gov/programs/childcare/regulations/415-Child-Care-Services.pdf#page=18", + "https://dos.ny.gov/system/files/documents/2021/11/112421.pdf#page=15", + "https://www.law.cornell.edu/regulations/new-york/18-NYCRR-415.3", + "https://www.law.cornell.edu/regulations/new-york/18-NYCRR-415.2", + ) diff --git a/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_required_activity.py b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_required_activity.py new file mode 100644 index 00000000000..c5af574e77f --- /dev/null +++ b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_required_activity.py @@ -0,0 +1,22 @@ +from policyengine_us.model_api import * + + +class ny_ccap_required_activity(Variable): + value_type = bool + entity = SPMUnit + label = "New York CCAP caretaker participates in a required activity" + definition_period = MONTH + set_input = set_input_dispatch_by_period + default_value = False + defined_for = StateCode.NY + documentation = ( + "Records whether the family meets the caretaker conditions through " + "activities a social services official requires under 18 NYCRR " + "415.2(a)(1). Officials may require orientation, assessment or work " + "activities. For two-caretaker families, each caretaker must satisfy " + "an applicable required-activity or work condition." + ) + reference = ( + "https://ocfs.ny.gov/programs/childcare/regulations/415-Child-Care-Services.pdf#page=13", + "https://www.law.cornell.edu/regulations/new-york/18-NYCRR-415.2", + ) diff --git a/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_title_xx_preventive_services_approved.py b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_title_xx_preventive_services_approved.py new file mode 100644 index 00000000000..75e6332ce41 --- /dev/null +++ b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_ccap_title_xx_preventive_services_approved.py @@ -0,0 +1,32 @@ +from policyengine_us.model_api import * + + +class ny_ccap_title_xx_preventive_services_approved(Variable): + value_type = bool + entity = Person + label = "District authorizes New York Title XX preventive child care" + definition_period = MONTH + set_input = set_input_dispatch_by_period + default_value = False + defined_for = StateCode.NY + documentation = ( + "Records district authorization for this child's preventive child " + "care under Title XX during the month. The district must fund the " + "service, include eligible families in its plan and apply applicable " + "need, priority and financial conditions. Authorization also records " + "satisfaction of the provider and any required OCFS approval " + "conditions under 18 NYCRR 415.1 and 415.2(b). PolicyEngine applies " + "the 415.1(b) age test separately; the completed authorization covers " + "every other applicable state and federal eligibility condition for " + "this child, provider and month. For a child who turned 13 during " + "the school year, authorization records that the school-year " + "continuation still runs. Set this input to false when authorization " + "ends, including at the end of that continuation." + ) + reference = ( + "https://ocfs.ny.gov/programs/childcare/regulations/415-Child-Care-Services.pdf", + "https://ocfs.ny.gov/programs/childcare/regulations/404-Eligibility.pdf", + "https://www.law.cornell.edu/regulations/new-york/18-NYCRR-415.1", + "https://www.law.cornell.edu/regulations/new-york/18-NYCRR-415.2", + "https://www.law.cornell.edu/regulations/new-york/18-NYCRR-404.5", + ) diff --git a/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_safety_net_assistance_received.py b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_safety_net_assistance_received.py new file mode 100644 index 00000000000..caf20483f9c --- /dev/null +++ b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_safety_net_assistance_received.py @@ -0,0 +1,17 @@ +from policyengine_us.model_api import * + + +class ny_safety_net_assistance_received(Variable): + value_type = bool + entity = SPMUnit + label = "Receives New York Safety Net Assistance" + definition_period = MONTH + set_input = set_input_dispatch_by_period + default_value = False + defined_for = StateCode.NY + documentation = ( + "Records Safety Net Assistance receipt by a parent or caretaker " + "relative in the SPM unit during the month. New York includes that program within public " + "assistance under Social Services Law section 2(19)." + ) + reference = "https://www.nysenate.gov/legislation/laws/SOS/2" diff --git a/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_veteran_assistance_received.py b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_veteran_assistance_received.py new file mode 100644 index 00000000000..5b5ce4274a0 --- /dev/null +++ b/policyengine_us/variables/gov/states/ny/ocfs/ccap/ny_veteran_assistance_received.py @@ -0,0 +1,17 @@ +from policyengine_us.model_api import * + + +class ny_veteran_assistance_received(Variable): + value_type = bool + entity = SPMUnit + label = "Receives New York veteran assistance" + definition_period = MONTH + set_input = set_input_dispatch_by_period + default_value = False + defined_for = StateCode.NY + documentation = ( + "Records veteran assistance receipt by a parent or caretaker " + "relative in the SPM unit during the month. New York includes that program within public " + "assistance under Social Services Law section 2(19)." + ) + reference = "https://www.nysenate.gov/legislation/laws/SOS/2"