Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/be-unit-declarations.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add Belgium's declared family benefit unit (W3-R1), still inactive. `build/be/unit_declarations.json` is a `microcosm.multi_unit_rule.v1` document for `transport.create@2` with one `benefit_unit`, `family_benefit_unit`: an adult, a co-resident partner and their co-resident dependent children (persons aged 24 or under with no co-resident partner or child, other than a household reference person who has no co-resident parent), with a dependent child who has no co-resident parent placed in the unit that holds the household's reference person. It is built from options `BenefitUnitRule` already has. `axiom_rules_bindings.json` names the entity in `entity_names` under the engine name `FamilyBenefitUnit`, which no rulespec-be module declares at the pinned commit `632e1da1`. Ten input-closure reasons now say that W3's income node decides whether it sums over the declared unit or the survey household, in place of a unit that no pull request defined. Belgium has no transport graph, so nothing builds these units yet, and activation still refuses. Every value is a proposal that awaits Max's METHOD-CARD-BE ruling.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@
"repository": "TheAxiomFoundation/axiom-rules-engine",
"commit": "753ce7d9ac4cfb161f6aa4f281f5a3980e67a57d",
"wheel_sha256": "054c9196d5371f13bb7c2b28f8161ac92294e5c8543aeb6e221fde243897ed42",
"status": "Pinned at New Zealand's engine pin (nz/axiom_rules_bindings.json). commit is the axiom-rules-engine commit that Belgium's input surface and input closure record. wheel_sha256 is the SHA-256 of the dense-extension wheel the NZ hub built at that commit (CPython 3.14, macOS arm64), the wheel whose extension generated Belgium's input surface. axiom_engine_ref records both as declared and hashes no installed wheel. build_transport_registry also needs the unit entity that entity_names_note describes, so no registry builds from this file before it lands."
"status": "Pinned at New Zealand's engine pin (nz/axiom_rules_bindings.json). commit is the axiom-rules-engine commit that Belgium's input surface and input closure record. wheel_sha256 is the SHA-256 of the dense-extension wheel the NZ hub built at that commit (CPython 3.14, macOS arm64), the wheel whose extension generated Belgium's input surface. axiom_engine_ref records both as declared and hashes no installed wheel. build_transport_registry also needs the unit declaration (unit_declarations.json), whose entity entity_names holds (entity_names_note). Nothing builds a registry from this file until a transport graph exists."
},
"entity_names": {
"person": "Person",
"household": "Household"
"household": "Household",
"family_benefit_unit": "FamilyBenefitUnit"
},
"entity_names_note": "entity_names holds the two frame entities the axiom:be mapping maps. build_transport_registry requires it to name exactly the transport schema's entities: person, household and each unit entity the benefit unit rule declares (transport/registry.py, build_transport_registry; frame/unit_construction.py, MultiUnitRule.entity_schema). Belgium has no benefit_unit_rule.json yet. The change that adds it also adds its entity here, under an engine name other than Child, since the registry refuses a view whose logical entity a frame entity maps to.",
"entity_names_note": "entity_names names exactly the transport schema's entities, as build_transport_registry requires: person, household and each unit entity that unit_declarations.json declares (transport/registry.py, build_transport_registry; frame/unit_construction.py, MultiUnitRule.entity_schema). person and household are the two frame entities the axiom:be mapping maps. family_benefit_unit is the benefit unit that unit_declarations.json declares for transport.create@2. Its engine name, FamilyBenefitUnit, is one that no rulespec-be module declares at the pin, so no rule output lands on an entity of that name, and the committed files attach no group binding to the unit. The name does not stop a later concepts.encode_groups@1 node from encoding Family's group bindings over this unit's members, since that node names its engine entity and its unit separately (transport/column_kernels.py); whether one does is that node's choice. It is not Child, since the registry refuses a view whose logical entity a frame entity maps to. It is not Family either. At the pin that entity carries the pension-sector withholdings in be/statutes/social_security/non_labour_income_contributions.yaml (article 68 solidarity, article 191 health insurance and Royal Decree No. 33), and the axiom:be mapping holds eight Family bindings, each a sum over a unit's members. This declaration does not compare its unit with the unit those rules assume, so it does not take their name. Who belongs to the unit is a method choice that METHOD-CARD-BE records (decision d1902). The declaration is inactive until a transport graph holds a transport.create@2 node that selects it. While the graph holds no transport.create@2 node at all, activation reports benefit_unit_rule.json as missing; once it holds one, activation checks that node's own unit declaration instead (transport/compose.py, validate_transport_activation).",
"periods": {
"2026-01": {
"kind": "calendar_month",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@
"path": "target_references.json",
"kind": "legacy_json",
"schema_id": "legacy_json"
},
{
"path": "unit_declarations.json",
"kind": "legacy_json",
"schema_id": "legacy_json"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"format": "microcosm.multi_unit_rule.v1",
"units": [
{
"kind": "benefit_unit",
"rule": {
"format": "microcosm.benefit_unit_rule.v1",
"entity": "family_benefit_unit",
"dependent_child": {
"max_age": 24,
"parent_independence_min_age": null,
"financial_independence": null
},
"unparented_child": "reference_person_unit",
"split_parents": "first_parent_unit",
"refuse_dependent_reference_person": false,
"provenance": {
"status": "Every value in this rule was put to Max as a proposal for METHOD-CARD-BE, the Belgium port's method card, under decision d1902. The card is kept with the port's notes outside this repository and records whether Max adopted each value. No value is a statement of Belgian law.",
"unit": "One adult, that adult's co-resident partner and their co-resident dependent children. A dependent child is a person aged 24 or under who has no co-resident partner and no co-resident child, other than a household reference person who has no co-resident parent. An adult is any other person, at any age. The unit that holds the household's reference person also takes each dependent child who has no co-resident parent (unparented_child). Every other adult in the household anchors a unit of their own. The unit is a co-residence stand-in for the persons a regional family-benefit income test and child count look at. rulespec-be at 632e1da1110ba881c68165e0cd3c2287b5b8ab08 takes those incomes and counts as supplied inputs and defines no membership.",
"entity": "family_benefit_unit names the partition after the schemes it serves. axiom_rules_bindings.json gives it the engine name FamilyBenefitUnit, which no rulespec-be module declares at that commit, so no rule there computes on an entity of that name. A later group node could still encode another entity's group bindings, such as Family's, over this unit's members; whether one does is that node's choice. The regional family-benefit modules at that commit run on Child, so a unit fact reaches them only as a person column that a graph supplies.",
"max_age": "24. A person aged 24 or under can be a dependent child. In each of the four regional family-benefit eligibility modules at that commit the last age parameter is 25, read with a strict comparison: flanders_family_benefits_student_age_limit_years, brussels_family_benefits_article_25_extended_age_limit_years, wallonia_family_benefits_extended_age_years and german_speaking_community_family_benefits_final_age_cap_years. Below that, the Walloon module also meets its age condition for a person under 21, with no study test, when wallonia_family_benefits_no_government_obstacle_applies holds. So the limit takes no person whom those age parameters admit out of the unit of a parent they live with. Three supplied conditions can entitle a person aged 25 or over when each means what its name says: flanders_family_benefits_child_in_month_turning_25, flanders_family_benefits_book_5_transition_no_age_limit_applies and brussels_family_benefits_article_26_condition_met. The modules read those conditions, and their other birthday-month flags, without checking them against the supplied age. A person aged 25 or over is never a dependent child, so one whom such a condition entitles anchors a unit, alone or with a partner. The limit decides no entitlement; the modules do.",
"financial_independence": "None. An hours test needs a Belgian threshold, and no source read for this declaration gives one. Without a test the constructor reads no usual weekly hours. A working person aged 24 or under who has no partner and no co-resident child and lives with a parent stays in parent 1's unit, and the modules decide whether that person is entitled.",
"parent_independence_min_age": "None, the constructor's default. A parent of a co-resident child anchors a unit at any age, apart from that parent's own parents. A minor parent's dependent child joins that unit when the minor is the child's parent 1 or is the partner of parent 1; otherwise the child follows parent 1 (split_parents).",
"unparented_child": "reference_person_unit. A person aged 24 or under who has no co-resident parent, no co-resident partner and no co-resident child, and who is not the household's reference person, joins the unit that holds the reference person, whoever in the household raises that person. This is an assumption. Its one source covers the German-speaking Community only: article 28 of the decree of 23 April 2018, as published in the Moniteur belge of 12 June 2018 and held in the rulespec-be corpus at that commit (later amendments were not read). After any person a court designates and any parent who shares the child's domicile, that article names the person who actually raises the child, meaning whoever bears more than half of the child's maintenance costs, and presumes until proven otherwise that the adults who share the child's domicile do. It picks a recipient, not a unit, and does not single out the reference person. A flatmate or lodger aged 24 or under whom the donor records with no co-resident parent, partner or child lands in the reference person's unit too: a disclosed approximation, because one policy covers every age. One recorded with a co-resident partner or child is an adult, as the unit key defines it, so this option does not place them, and one recorded with a co-resident parent but no partner or child joins parent 1's unit.",
"split_parents": "first_parent_unit. A dependent child whose two co-resident parents are not partners of each other joins parent 1's unit; the other value refuses any frame that holds such a child. A partition holds each child once, so it cannot give one child a place in two families, and flanders_family_benefits_equal_shared_housing stays a separate input.",
"refuse_dependent_reference_person": "false. A reference person aged 24 or under with no co-resident parent anchors a unit. True would refuse the whole frame in two cases: a reference person aged 24 or under who has no co-resident parent, no partner and no co-resident child; and a reference person who is a dependent child of a co-resident parent, in a household that also holds a dependent child with no co-resident parent.",
"head": "The unit's head is a construction label: the household reference person when that person is an adult of the unit, otherwise the older adult, or the one with the smaller person id when their ages are equal. This rule names no allocataire and no payee.",
"donor_pointers": "Membership is only as good as the donor's pointers. Cohabiting partners with no partner pointer are not paired. When their dependent child names both as parents, the child joins parent 1's unit, that unit reads as a single parent's, and parent 2 anchors another unit. A cohabitant with no pointer is classified like any other unpartnered person, so one aged 24 or under whom no co-resident person names as a parent can read as a dependent child. A partner or parent who lives elsewhere is not seen at all.",
"not_expressed": "The constructor reads age, the partner and parent pointers and the household reference person. It reads no legal marital status, no enrolment, no income, no court designation and nobody outside the household. A partner pointer stands for a spouse or a cohabiting partner alike, where the donor records one (donor_pointers). Whether an income test sums over this unit's adults, over all its members or over the household is decided where the income node is declared, not here."
}
}
}
]
}
Loading
Loading