You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A subfamily is a married couple with or without children, or a single parent with one or more own never-married children under 18 years old.
This is a useful concept because it doesn't require relationship pointers. It can contain at most one married couple, so if a PolicyEngine user says they're married, we can assign them an is_married flag and properly assign them marriage-dependent benefits like SSI (see #594). In effect, PolicyEngine assumes one subfamily per tax unit per family per SPM unit per household.
Closing as superseded: the need is met by a different design.
What this asked for: a Census-style subfamily entity (a married couple with or without children, or a single parent with own children), so marriage-dependent rules wouldn't need relationship pointers.
What replaced it:
A MaritalUnit entity: "An unmarried person, or a married and co-habiting couple." It was added in May 2022 (commit 8f5ebfb), three months after this issue. Like the proposed subfamily, each unit holds at most one couple.
A family-level is_married, true when the family includes a tax-unit spouse.
Spousal rules use the marital unit. SSI spousal deeming finds a claimant's spouse through it (_ssi_spouses.py), and several Medicaid long-term care spousal variables are defined on MaritalUnit.
Activity
DTrim99 commentedon Dec 3, 2026
Closing as superseded: the need is met by a different design.
What this asked for: a Census-style subfamily entity (a married couple with or without children, or a single parent with own children), so marriage-dependent rules wouldn't need relationship pointers.
What replaced it:
MaritalUnitentity: "An unmarried person, or a married and co-habiting couple." It was added in May 2022 (commit 8f5ebfb), three months after this issue. Like the proposed subfamily, each unit holds at most one couple.is_married, true when the family includes a tax-unit spouse._ssi_spouses.py), and several Medicaid long-term care spousal variables are defined onMaritalUnit.parent_1_idandparent_2_idperson inputs now supply them (Medicaid MAGI household composition from co-resident parent ids (fixes #9404) #9406).The linked issue #594 ("Spousal relationships") was closed in July 2026. "Subfamily" doesn't appear anywhere in main.
Checked against main at b3a142b.