Skip to content

Fix RCC other-dependent credit semantics#8553

Merged
PavelMakarchuk merged 1 commit into
PolicyEngine:mainfrom
daphnehanse11:codex/rcc-other-dependent-credit
Jun 1, 2026
Merged

Fix RCC other-dependent credit semantics#8553
PavelMakarchuk merged 1 commit into
PolicyEngine:mainfrom
daphnehanse11:codex/rcc-other-dependent-credit

Conversation

@daphnehanse11
Copy link
Copy Markdown
Collaborator

Summary

  • Change the refundable credit conversion per-other-dependent credit to count all tax-unit dependents who are not CTC-qualifying children.
  • Update parameter descriptions so they no longer describe the credit as limited to EITC-qualifying children.
  • Add regression coverage for an adult dependent and a full tax-unit-member coverage scenario.

Fixes #8552.

Tests

  • uv run python -c 'import os; from policyengine_core.scripts import build_tax_benefit_system; from policyengine_core.tools.test_runner import run_tests; tbs = build_tax_benefit_system("policyengine_us", [], []); status = run_tests(tbs, ["policyengine_us/tests/policy/contrib/refundable_credit_conversion/dependent_definition.yaml"]); print(f"run_tests_status={status}", flush=True); os._exit(status)'
    • Collected 9 cases and printed 9 passing dots, then stalled before pytest printed its final summary; I killed the stuck process.

@daphnehanse11 daphnehanse11 marked this pull request as ready for review June 1, 2026 16:38
@PavelMakarchuk PavelMakarchuk merged commit a3165c3 into PolicyEngine:main Jun 1, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix RCC other-dependent credit to count all non-CTC dependents

2 participants