From d7b617e72642cd2b4ae711a2c2fdaae6949eadc6 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Fri, 13 Nov 2026 07:21:45 -0500 Subject: [PATCH 1/6] Add Belgium's Child rules bindings and Axiom input closure (PR 4a) axiom_rules_bindings.json binds the twelve rulespec-be family-benefit modules whose programs run on the engine entity Child. Each binding sits on the person entity and declares one binding-local view, with a selector column and an outside value for each variable. axiom_input_closure.json closes the modules' 277 Child root inputs: the axiom:be mapping's person_role bindings encode 35, and 242 take defaults with reasons and citations. Every default is a proposal that awaits Max's METHOD-CARD-BE ruling. gates.json gains a release_input_coverage row, and country_package.json registers both resources. test_be_axiom_input_closure.py runs the closure kernel's partition on the committed input surface. Nothing executes these modules yet: the engine pins stay null, no node produces a selector column, and Belgium has no transport graph. Co-Authored-By: Claude Fable 5.2 --- changelog.d/be-child-input-closure.added.md | 1 + .../build/be/axiom_input_closure.json | 2749 +++++++++++++++++ .../build/be/axiom_rules_bindings.json | 379 +++ .../microcosm/build/be/country_package.json | 10 + .../src/microcosm/build/be/gates.json | 11 + .../shared/test_be_axiom_input_closure.py | 370 +++ .../engine_free/shared/test_country_spec.py | 2 + .../test_spec_engine_country_bundles.py | 2 + .../tests/golden/be_country_spec.json | 11 +- 9 files changed, 3532 insertions(+), 3 deletions(-) create mode 100644 changelog.d/be-child-input-closure.added.md create mode 100644 packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json create mode 100644 packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json create mode 100644 packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py diff --git a/changelog.d/be-child-input-closure.added.md b/changelog.d/be-child-input-closure.added.md new file mode 100644 index 0000000000..567ec61f69 --- /dev/null +++ b/changelog.d/be-child-input-closure.added.md @@ -0,0 +1 @@ +Add Belgium's `Child` rules bindings and Axiom input closure (PR 4a), still inactive. `build/be/axiom_rules_bindings.json` binds the twelve rulespec-be family-benefit modules whose programs run on the engine entity `Child`. No frame entity maps to `Child`, so each binding sits on the person entity and declares one binding-local view, with a selector column and an outside value for each variable. `build/be/axiom_input_closure.json` closes the modules' 277 `Child` root inputs: the `axiom:be` mapping's `person_role` bindings encode 35, and the other 242 take defaults with reasons and citations. Every default is a proposal that awaits Max's METHOD-CARD-BE ruling. `gates.json` gains a `release_input_coverage` row, which has no evidence until Belgium has a transport graph. A new engine-free test, `test_be_axiom_input_closure.py`, runs the closure kernel's own partition on the committed input surface. The engine pins stay null, no node produces a selector column and no graph node requests a binding, so nothing executes these modules yet. diff --git a/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json b/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json new file mode 100644 index 0000000000..ee34d01602 --- /dev/null +++ b/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json @@ -0,0 +1,2749 @@ +{ + "format": "microcosm.axiom_input_closure.v1", + "country": "be", + "content_basis": "transport", + "description": "The input closure covers the twelve rulespec-be family-benefit modules that axiom_rules_bindings.json binds. Each runs on the engine entity Child through a binding-local view. A person_role concept binding of the axiom:be mapping encodes 35 of their 277 Child root inputs (a child's age and enrolment facts), and the other 242 take explicit defaults, each with a reason and a citation. The axiom adapter omits an input the frame lacks, and the engine fails a request that reaches an absent input (engine_optional_evidence), so a run feeds every entry here. The routing bridge reads the four regional schemes' roots through its imports, and a view reads each root from the person column of the same name, so a name takes one default in every module that reads it. Nothing executes these modules yet: Belgium has no composed transport graph, and METHOD-CARD-BE reports child benefits as not modelled at level until indexed amounts are encoded.", + "status": "awaiting Max's METHOD-CARD-BE ruling: every default is a proposal (new_default true)", + "work_package": "PR 4a (Child bindings and input closure); PR 4b adds the graph that runs them", + "mapping": { + "engine": "axiom:be", + "engine_version": "b105e2b3a3086ddd2de447d58a9b951346870dd1" + }, + "input_surface": { + "fixture": "packages/microcosm-frame/tests/fixtures/axiom_input_surfaces/be.json", + "rulespec_commit": "b105e2b3a3086ddd2de447d58a9b951346870dd1", + "engine": { + "repository": "TheAxiomFoundation/axiom-rules-engine", + "commit": "04315d94d04efd61e27665ab3aa300d64fdf3a66" + } + }, + "rulespec_pin": { + "commit": "632e1da1110ba881c68165e0cd3c2287b5b8ab08", + "method_card_row": "BE-MC0", + "note": "The input-surface generator used b105e2b3a3086ddd2de447d58a9b951346870dd1, an ancestor of the pin 632e1da1110ba881c68165e0cd3c2287b5b8ab08. Each listed module has the same bytes at both commits, and its SHA-256 below matches at both." + }, + "rulespec_paths": { + "be-bru/statutes/family_benefits/basic_amounts.yaml": "6dab96b7260c8a38d06eee900a8e2192d1ec8654a9f11011ba901f7f76cc27fa", + "be-bru/statutes/family_benefits/eligibility.yaml": "71ce6d5c5f2a638b0ddc52c766ec8ffd1482725e82e45ba9f67048955bbc5649", + "be-bru/statutes/family_benefits/selected_amount.yaml": "1614c71f0a59f27ae5e9b354d9fed4905dc83dde4176647c63061d8909d10bb1", + "be-bru/statutes/family_benefits/social_supplements.yaml": "c77209b28ce08c572ec14645edb174ca99beab4fdff08c49be0814da0666f14f", + "be-dg/statutes/family_benefits/amounts.yaml": "d121b02c1a0f4e2b871d1aa70b1b0d252a067b1b972629743bd61dab710385f5", + "be-dg/statutes/family_benefits/eligibility.yaml": "b19ec68c3c94d5c869512e12cd2e620a9bcdd3034ddaf12d2bce04858083d3b5", + "be-vlg/statutes/family_benefits/amounts.yaml": "bd8cd97a540cdf83ac71592f86e0c1dcd6edc3d01a169d000cf823a836496f32", + "be-vlg/statutes/family_benefits/eligibility.yaml": "818ae27ec259e3f0bc7ba10119a356d62341ea6e09fd221dd98bcc2351419d09", + "be-wal/statutes/family_benefits/amounts.yaml": "0b1de350ca08f518f79c97b151e0055ba17a186837eeeeb9b38527d1fbfda2fa", + "be-wal/statutes/family_benefits/eligibility.yaml": "6bcd10fefa6e0ba3a54fbc51cfc8d4f2ed8d182ad81f3e1241b1aa01b7ce3734", + "be/statutes/family_benefits/lgaf_amounts.yaml": "fff8a556a84e6017b7fc878b58e5ed5c007974b849e5cdeed858f57e5020e7ce", + "be/statutes/family_benefits/regional_routing.yaml": "408e73587e60d91136f80a71612802cb8c111f7ea5baf5abaeecb772c43c2413" + }, + "default_direction_rules": [ + "A status that grants a supplement or an increase defaults to not held, which gives a lower bound on spending.", + "A condition the law requires for any benefit (residence, nationality or an equivalent title, domicile in the scheme's region) defaults to held, for the children the scheme's selector admits.", + "An index or revaluation factor defaults to 1, which keeps amounts at their unindexed nominal level.", + "A rare status that removes or suspends entitlement (abduction, disappearance, an exclusion) defaults to not held.", + "A count, rank, income or period fact that a later graph node is to derive takes the value that pays the base benefit with no supplement, and its reason names the node that replaces it." + ], + "engine_optional_evidence": "The axiom-rules-engine commit named in input_surface.engine (the engine that generated the committed input surface) gives these modules no optional inputs. A RuleSpec document holds no inputs section at that commit (RulesDocument, src/rulespec.rs:361-374), and none of the twelve modules carries a top-level inputs key at the pin. The engine rejects a rule-level default (RuleSpecError::UnsupportedDefault, src/rulespec.rs:91-94 and src/rulespec.rs:2411-2418), and the dense batch call collects only the inputs the caller supplies (python-ext/src/lib.rs:458-466). A plain read of an absent input fails every row whose evaluation reaches it with EvalError::MissingInput (src/dense.rs:2790-2803). The internal input_or_else node that would read a default (src/dense.rs:2805-2811) never comes from RuleSpec text: formula lowering turns a name that no parameter or rule defines into a plain input read (src/formula.rs:1400-1413), and src/formula.rs names no input_or_else node. So no root input of these modules can be verified engine-optional, and this closure classes none as such: it defaults, with a reason, every input the mapping doesn't encode.", + "engine_source_pins": { + "note": "The axiom-rules-engine source files that engine_optional_evidence cites by line, pinned at input_surface.engine.commit so each line citation names one exact file version.", + "pins": [ + { + "repository": "TheAxiomFoundation/axiom-rules-engine", + "commit": "04315d94d04efd61e27665ab3aa300d64fdf3a66", + "path": "python-ext/src/lib.rs" + }, + { + "repository": "TheAxiomFoundation/axiom-rules-engine", + "commit": "04315d94d04efd61e27665ab3aa300d64fdf3a66", + "path": "src/dense.rs" + }, + { + "repository": "TheAxiomFoundation/axiom-rules-engine", + "commit": "04315d94d04efd61e27665ab3aa300d64fdf3a66", + "path": "src/formula.rs" + }, + { + "repository": "TheAxiomFoundation/axiom-rules-engine", + "commit": "04315d94d04efd61e27665ab3aa300d64fdf3a66", + "path": "src/rulespec.rs" + } + ] + }, + "undetermined_judgments": { + "action": "refuse", + "alternatives": [ + "not_eligible", + "eligible" + ], + "new_default": true, + "reason": "No binding requests a judgment output: each requested variable is a Money amount or a 0/1 Count. The policy refuses an undetermined judgment, so a later binding that requests one stops the run until a reviewer chooses how such a judgment reaches take-up." + }, + "knobs": [], + "entries": [ + { + "rulespec_path": "be-bru/statutes/family_benefits/basic_amounts.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/basic_amounts.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_enrolled_in_higher_education", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/basic_amounts.yaml", + "entity": "Child", + "input": "brussels_family_benefits_single_child_without_article_8_9_or_12_supplement", + "class": "defaulted", + "value": true, + "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150. That is a lower bound at ages 0 to 24, where article 7(b) pays 150, 160 or 170, but the rule tests the flag before its over-24 test, so this ungated amount pays 150 above 24 as well and only eligibility.yaml's gated amount drops those children. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 7 (brussels_family_benefits_article_7_base_monthly_amount, basic_amounts.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/7", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_article_26_condition_met", + "class": "defaulted", + "value": false, + "reason": "Article 26 also grants benefits up to age 21 for a child with a condition whose consequences a multidisciplinary team assesses; the module takes the whole test as one supplied input. The default grants nobody this extension, a lower bound: a child who meets article 25 keeps entitlement through the `or`.", + "citation": "Brussels family-benefits ordinance article 4, with Article 25 age/status gate (brussels_family_benefits_child_entitlement, eligibility.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/4; article 26 of the ordinance holds the condition itself", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_age_on_august_31_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_domiciled_in_brussels_capital_region", + "class": "defaulted", + "value": true, + "reason": "Article 4, 1\u00b0 requires the child's domicile in the bilingual Brussels-Capital Region. A selector column will admit to this scheme only children domiciled there, so the default describes every child the scheme evaluates. W3's region derivation from NIS geography will supply that selector and replace the default.", + "citation": "Brussels family-benefits ordinance article 4, with Article 25 age/status gate (brussels_family_benefits_child_entitlement, eligibility.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/4", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_enrolled_in_higher_education", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_has_belgian_nationality", + "class": "defaulted", + "value": true, + "reason": "Article 4, 2\u00b0 requires a Belgian child or a foreign child who holds a residence title. No concept binding supplies nationality, and a selector column will admit only children domiciled in Brussels, so the default treats each of them as meeting the condition through this leg.", + "citation": "Brussels family-benefits ordinance article 4, with Article 25 age/status gate (brussels_family_benefits_child_entitlement, eligibility.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/4", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_has_foreign_residence_title", + "class": "defaulted", + "value": true, + "reason": "Article 4, 2\u00b0 accepts a residence title in place of Belgian nationality, and the rule joins the two with `or`. The default holds, so a foreign child the selector admits stays entitled if a later node supplies nationality and leaves the title unobserved. It changes nothing while the nationality default is true.", + "citation": "Brussels family-benefits ordinance article 4, with Article 25 age/status gate (brussels_family_benefits_child_entitlement, eligibility.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/4", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_has_foreign_study_training_volunteer_or_au_pair_stay_authorization", + "class": "defaulted", + "value": false, + "reason": "From 1 September 2025 article 4 excludes a child from a third country, the EEA or Switzerland whom Belgium authorises to stay to study, train, volunteer or work as an au pair. No concept binding supplies stay authorisations, so the default treats no child as holding one and the exclusion never applies.", + "citation": "Brussels family-benefits ordinance article 4 temporary stay exclusion from 1 September 2025 (brussels_family_benefits_article_4_temporary_stay_exclusion_applies, eligibility.yaml); corpus_citation_path be-bru/statute/ordonnance/2019/04/25/2019012118/article/4", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_in_qualifying_education_training_or_stage", + "class": "defaulted", + "value": false, + "reason": "Article 25 \u00a72(b) pays to age 25 for a child who follows courses, does a qualifying traineeship or takes credit-bearing training, among programmes the Coll\u00e8ge r\u00e9uni selects. The default grants nobody this extension, the lower bound; under it no child aged 18 or over meets article 25, students included. A binding to fact:person.education_enrollment, like the ones be.json gives Wallonia's and the German-speaking Community's counterparts, should replace it.", + "citation": "Brussels family-benefits ordinance article 25 age and post-18 status conditions (brussels_family_benefits_article_25_age_or_status_condition_met, eligibility.yaml); corpus_citation_path be-bru/statute/ordonnance/2019/04/25/2019012118/article/25", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_is_apprentice", + "class": "defaulted", + "value": false, + "reason": "Article 25 \u00a72(a) pays past 31 August of the year a child turns 18, up to age 25, for an apprentice. No concept binding supplies apprenticeship status, so the default grants nobody this extension: a lower bound for children aged 18 to 24.", + "citation": "Brussels family-benefits ordinance article 25 age and post-18 status conditions (brussels_family_benefits_article_25_age_or_status_condition_met, eligibility.yaml); corpus_citation_path be-bru/statute/ordonnance/2019/04/25/2019012118/article/25", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_prepares_higher_education_thesis", + "class": "defaulted", + "value": false, + "reason": "Article 25 \u00a72(c) pays for a child under 25 who regularly prepares a higher-education thesis. No concept binding observes thesis preparation, so the default grants nobody this extension: a lower bound.", + "citation": "Brussels family-benefits ordinance article 25 age and post-18 status conditions (brussels_family_benefits_article_25_age_or_status_condition_met, eligibility.yaml); corpus_citation_path be-bru/statute/ordonnance/2019/04/25/2019012118/article/25", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_registered_jobseeker_after_studies_or_apprenticeship", + "class": "defaulted", + "value": false, + "reason": "Article 25 \u00a72(d) pays for a child past compulsory schooling who registers as a jobseeker after finishing studies or an apprenticeship, on conditions the Coll\u00e8ge r\u00e9uni sets. No concept binding observes jobseeker registration, so the default grants nobody this extension: a lower bound.", + "citation": "Brussels family-benefits ordinance article 25 age and post-18 status conditions (brussels_family_benefits_article_25_age_or_status_condition_met, eligibility.yaml); corpus_citation_path be-bru/statute/ordonnance/2019/04/25/2019012118/article/25", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_right_open_on_2025_08_31", + "class": "defaulted", + "value": false, + "reason": "Article 4's third paragraph keeps the right of a child on a study, training, volunteer or au pair stay when that right was open on 31 August 2025. The rule reads this flag only for a child who holds such a stay authorisation, and the default gives no child one, so the flag changes nothing today. 'Not open' lets the exclusion apply, as a lower bound, once a node supplies stay authorisations.", + "citation": "Brussels family-benefits ordinance article 4 temporary stay exclusion from 1 September 2025 (brussels_family_benefits_article_4_temporary_stay_exclusion_applies, eligibility.yaml); corpus_citation_path be-bru/statute/ordonnance/2019/04/25/2019012118/article/4", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_single_child_without_article_8_9_or_12_supplement", + "class": "defaulted", + "value": true, + "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150 at every age. That gives a lower bound, since article 7(b) pays 150, 160 or 170 by age and enrolment. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 7 (brussels_family_benefits_article_7_base_monthly_amount, basic_amounts.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/7", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_beneficiary_child_count", + "class": "defaulted", + "value": 1, + "reason": "No concept binding counts the beneficiary children an allocataire raises (article 11), so the default is 1: the count that pays the smallest supplement below 31,000 euros and none from 31,000 up. Never default it to 0, because the low-income branch sends every count other than 1 or 2 to the three-or-more amounts. W3's household-composition node will replace it.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_cadastral_income_cap_exceeded", + "class": "defaulted", + "value": false, + "reason": "Article 9's last paragraph withholds the supplement when the cadastral income of the allocataire and partner exceeds a cap that the Coll\u00e8ge r\u00e9uni sets; no concept binding supplies cadastral income, and the module takes the comparison as an input. The default treats no household as exceeding the cap, so the income test alone decides the supplement. It moves no amount while the income default stands at 45000.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_child_in_single_parent_family", + "class": "defaulted", + "value": false, + "reason": "Single-parent status raises the low-income supplement by 10 or 20 euros for families with two or more beneficiary children. No household-composition fact reaches the module yet, so the default pays the lower rate; W3's household-composition node will replace it.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_household_annual_income", + "class": "defaulted", + "value": 45000.0, + "reason": "No income reaches the Child entity until W3 derives household income over the allocataire's unit (PR 3). Set at the article 9, 2\u00b0 upper bound (brussels_family_benefits_social_supplement_middle_income_upper_bound is 45000 at rulespec-be 632e1da), so both `income < bound` tests fail and no child receives a social supplement: a lower bound on spending.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/selected_amount.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/selected_amount.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_enrolled_in_higher_education", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/selected_amount.yaml", + "entity": "Child", + "input": "brussels_family_benefits_single_child_without_article_8_9_or_12_supplement", + "class": "defaulted", + "value": true, + "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150. That is a lower bound at ages 0 to 24, where article 7(b) pays 150, 160 or 170, but the rule tests the flag before its over-24 test, so this ungated amount pays 150 above 24 as well and only eligibility.yaml's gated amount drops those children. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 7 (brussels_family_benefits_article_7_base_monthly_amount, basic_amounts.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/7", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/selected_amount.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_beneficiary_child_count", + "class": "defaulted", + "value": 1, + "reason": "No concept binding counts the beneficiary children an allocataire raises (article 11), so the default is 1: the count that pays the smallest supplement below 31,000 euros and none from 31,000 up. Never default it to 0, because the low-income branch sends every count other than 1 or 2 to the three-or-more amounts. W3's household-composition node will replace it.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/selected_amount.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_cadastral_income_cap_exceeded", + "class": "defaulted", + "value": false, + "reason": "Article 9's last paragraph withholds the supplement when the cadastral income of the allocataire and partner exceeds a cap that the Coll\u00e8ge r\u00e9uni sets; no concept binding supplies cadastral income, and the module takes the comparison as an input. The default treats no household as exceeding the cap, so the income test alone decides the supplement. It moves no amount while the income default stands at 45000.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/selected_amount.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/selected_amount.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_child_in_single_parent_family", + "class": "defaulted", + "value": false, + "reason": "Single-parent status raises the low-income supplement by 10 or 20 euros for families with two or more beneficiary children. No household-composition fact reaches the module yet, so the default pays the lower rate; W3's household-composition node will replace it.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/selected_amount.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_household_annual_income", + "class": "defaulted", + "value": 45000.0, + "reason": "No income reaches the Child entity until W3 derives household income over the allocataire's unit (PR 3). Set at the article 9, 2\u00b0 upper bound (brussels_family_benefits_social_supplement_middle_income_upper_bound is 45000 at rulespec-be 632e1da), so both `income < bound` tests fail and no child receives a social supplement: a lower bound on spending.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/social_supplements.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_beneficiary_child_count", + "class": "defaulted", + "value": 1, + "reason": "No concept binding counts the beneficiary children an allocataire raises (article 11), so the default is 1: the count that pays the smallest supplement below 31,000 euros and none from 31,000 up. Never default it to 0, because the low-income branch sends every count other than 1 or 2 to the three-or-more amounts. W3's household-composition node will replace it.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/social_supplements.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_cadastral_income_cap_exceeded", + "class": "defaulted", + "value": false, + "reason": "Article 9's last paragraph withholds the supplement when the cadastral income of the allocataire and partner exceeds a cap that the Coll\u00e8ge r\u00e9uni sets; no concept binding supplies cadastral income, and the module takes the comparison as an input. The default treats no household as exceeding the cap, so the income test alone decides the supplement. It moves no amount while the income default stands at 45000.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/social_supplements.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/social_supplements.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_child_in_single_parent_family", + "class": "defaulted", + "value": false, + "reason": "Single-parent status raises the low-income supplement by 10 or 20 euros for families with two or more beneficiary children. No household-composition fact reaches the module yet, so the default pays the lower rate; W3's household-composition node will replace it.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be-bru/statutes/family_benefits/social_supplements.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_household_annual_income", + "class": "defaulted", + "value": 45000.0, + "reason": "No income reaches the Child entity until W3 derives household income over the allocataire's unit (PR 3). Set at the article 9, 2\u00b0 upper bound (brussels_family_benefits_social_supplement_middle_income_upper_bound is 45000 at rulespec-be 632e1da), so both `income < bound` tests fail and no child receives a social supplement: a lower bound on spending.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_adoption_premium_conditions_met", + "class": "defaulted", + "value": false, + "reason": "The adoption premium is a one-off 1,144 EUR, and no concept observes an adoption. The default pays it to no child. True would pay it to every child in every month, because the amount rule has a Month period and no other test.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 34, 35 and 38 (german_speaking_community_family_benefits_adoption_premium_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_benefit_year", + "class": "defaulted", + "value": 2026, + "reason": "The benefit year is the query year, which METHOD-CARD-BE BE-MC0 sets at 2026. With 2026 the 2025-2027 indexation freeze applies and the annual supplement takes the Article 15 amount, not the 2025 override of 62.55 EUR. The query-period node will replace the constant, which must move with the policy year.", + "citation": "German-speaking Community program decree of 22 December 2025, article 17 amending article 117.3 (german_speaking_community_family_benefits_indexation_freeze_applies), corpus_citation_path be-dg/statute/moniteur/decret-2025-12-22/2026001207/program-decree-2025-ii-family-benefits/block-1 (recorded by the parameter rules german_speaking_community_family_benefits_indexation_freeze_start_year and _end_year); German-speaking Community decree of 23 April 2018 on family benefits, articles 15, 16 and 38, and 22 December 2025 program decree article 18 (german_speaking_community_family_benefits_annual_supplement_amount)", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_birth_premium_conditions_met", + "class": "defaulted", + "value": false, + "reason": "The birth premium is a one-off 1,144 EUR whose conditions the module takes as a supplied input. The default pays it to no child. True would pay it to every child in every month, because the amount rule has a Month period and no age test.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 30, 31 and 38 (german_speaking_community_family_benefits_birth_premium_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_has_base_entitlement", + "class": "defaulted", + "value": true, + "reason": "The base amount and the five monthly supplements in the amounts module pay only when this flag holds, and no rule ties it to the eligibility module, which decides entitlement and gates the selected amount itself. The default holds the flag so the eligibility gate alone decides which child the scheme pays; false would pay no monthly amount to any child.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 8 and 38 (german_speaking_community_family_benefits_base_monthly_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_current_index_factor", + "class": "defaulted", + "value": 1.0, + "reason": "A factor of 1 keeps amounts at their 2019 statutory level; METHOD-CARD-BE line 26 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit year 2026 the rule does not use this factor, because the 2025-2027 freeze selects pre_2025_index_factor.", + "citation": "German-speaking Community family-benefits decree article 38 and program decree of 22 December 2025 article 17 (german_speaking_community_family_benefits_indexed_amount_factor); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_disability_category", + "class": "defaulted", + "value": 0, + "reason": "fact:person.has_disability reports a functional limitation, which its definition separates from a benefit program's legal disability status, so no concept supplies the Article 21 category. Category 0 matches none of the seven paid categories, and the rule pays no disability supplement.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 21, 22 and 38 (german_speaking_community_family_benefits_disability_monthly_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_has_increased_health_insurance_reimbursement", + "class": "defaulted", + "value": false, + "reason": "The rule pays the social supplement of 75 EUR a month when this health-insurance status holds and the child is no orphan. No concept carries the status, so the default pays the supplement to no child, a lower bound.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 19, 20 and 38 (german_speaking_community_family_benefits_social_monthly_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_has_july_base_entitlement", + "class": "defaulted", + "value": false, + "reason": "The rule pays the annual supplement of 52 EUR when this flag holds, and no rule ties the flag to the eligibility module. The default pays the supplement to no child, a lower bound; true would pay it to every Child row whatever its age.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 15, 16 and 38, and 22 December 2025 program decree article 18 (german_speaking_community_family_benefits_annual_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_is_full_orphan", + "class": "defaulted", + "value": false, + "reason": "No concept observes that a child has lost both parents. The default pays the full-orphan supplement of 239 EUR a month to no child.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 23, 24 and 38 (german_speaking_community_family_benefits_full_orphan_monthly_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_is_half_orphan", + "class": "defaulted", + "value": false, + "reason": "No concept observes that a child has lost one parent. The default pays the half-orphan supplement of 120 EUR a month to no child.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 25, 26 and 38 (german_speaking_community_family_benefits_half_orphan_monthly_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_pre_2025_index_factor", + "class": "defaulted", + "value": 1.0, + "reason": "A factor of 1 keeps amounts at their 2019 statutory level (157 EUR base); METHOD-CARD-BE line 26 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit years 2025 to 2027 the freeze makes this the factor every amount multiplies by, except the 2025 annual supplement of 62.55 EUR, which takes no factor. An official value with a source would lift that caveat for this scheme.", + "citation": "German-speaking Community family-benefits decree article 38 and program decree of 22 December 2025 article 17 (german_speaking_community_family_benefits_indexed_amount_factor); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_same_recipient_entitled_child_count", + "class": "defaulted", + "value": 1, + "reason": "The count of entitled children paid to the same recipient needs household composition, which the W3 household-composition node will derive. Until then the default counts the child alone, which pays the base amount and no large-family supplement (135 EUR a month from a count of 3).", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 17, 18 and 38 (german_speaking_community_family_benefits_large_family_monthly_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_abduction_ended", + "class": "defaulted", + "value": false, + "reason": "No concept observes an abduction or its end. The rule reads this flag only inside the conjunction that child_abducted opens, and child_abducted defaults to false, so the value decides nothing.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_abduction_reported_to_authority", + "class": "defaulted", + "value": false, + "reason": "No concept observes a report of abduction to an authority. The rule reads this flag only together with child_abducted, which defaults to false; false also keeps the abducted-child path shut if a later change sets child_abducted alone.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_adoption_premium_conditions_met", + "class": "defaulted", + "value": false, + "reason": "The adoption premium is a one-off 1,144 EUR, and no concept observes an adoption. The default pays it to no child. True would pay it to every child in every month, because the amount rule has a Month period and no other test.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 34, 35 and 38 (german_speaking_community_family_benefits_adoption_premium_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_article_10_extension_months_used", + "class": "defaulted", + "value": 0, + "reason": "No concept counts the months a young adult has drawn under the Article 10 extension, so the default sets none used. The extension path stays shut through no_current_article_9_entitlement, which defaults to false; this value alone would leave it open (0 < 12).", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit it is compared with, german_speaking_community_family_benefits_article_10_extension_months (12), is sourced to 'German-speaking Community family-benefits decree article 10'", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_benefit_year", + "class": "defaulted", + "value": 2026, + "reason": "The benefit year is the query year, which METHOD-CARD-BE BE-MC0 sets at 2026. With 2026 the 2025-2027 indexation freeze applies and the annual supplement takes the Article 15 amount, not the 2025 override of 62.55 EUR. The query-period node will replace the constant, which must move with the policy year.", + "citation": "German-speaking Community program decree of 22 December 2025, article 17 amending article 117.3 (german_speaking_community_family_benefits_indexation_freeze_applies), corpus_citation_path be-dg/statute/moniteur/decret-2025-12-22/2026001207/program-decree-2025-ii-family-benefits/block-1 (recorded by the parameter rules german_speaking_community_family_benefits_indexation_freeze_start_year and _end_year); German-speaking Community decree of 23 April 2018 on family benefits, articles 15, 16 and 38, and 22 December 2025 program decree article 18 (german_speaking_community_family_benefits_annual_supplement_amount)", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_birth_premium_conditions_met", + "class": "defaulted", + "value": false, + "reason": "The birth premium is a one-off 1,144 EUR whose conditions the module takes as a supplied input. The default pays it to no child. True would pay it to every child in every month, because the amount rule has a Month period and no age test.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 30, 31 and 38 (german_speaking_community_family_benefits_birth_premium_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_abducted", + "class": "defaulted", + "value": false, + "reason": "No concept observes abduction, a rare status. The abducted-child path needs age under 18 (line 117), where the age test at line 89 already holds, and line 130 joins the two with 'or', so the flag cannot change statutory_base_entitlement.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_disappeared", + "class": "defaulted", + "value": false, + "reason": "No concept observes a disappeared child, a rare status. The rule uses it only to keep entitlement open for up to 60 months as an alternative to the age test (line 130 joins the two with 'or'), so false removes no child's benefit.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_domiciled_in_german_language_region", + "class": "defaulted", + "value": true, + "reason": "Article 6 requires domicile in the German-language region for any benefit. The selector column will admit to this scheme only children domiciled there, so the default describes every child the scheme sees. The W3 region node (NIS geography) will replace it.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, article 6 (german_speaking_community_family_benefits_article_6_residence_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_has_base_entitlement", + "class": "defaulted", + "value": true, + "reason": "The base amount and the five monthly supplements in the amounts module pay only when this flag holds, and no rule ties it to the eligibility module, which decides entitlement and gates the selected amount itself. The default holds the flag so the eligibility gate alone decides which child the scheme pays; false would pay no monthly amount to any child.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 8 and 38 (german_speaking_community_family_benefits_base_monthly_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_has_foreign_nationality", + "class": "defaulted", + "value": false, + "reason": "No concept feeds nationality to this module. The default treats the child as not foreign, so Article 6 asks for no stay title; the stay-title default (true) gives a foreign child the same result.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, article 6 (german_speaking_community_family_benefits_article_6_residence_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_in_training", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_was_article_9_1_entitled_at_abduction", + "class": "defaulted", + "value": false, + "reason": "The rule reads this flag only together with child_abducted, which defaults to false, so the value decides nothing. False keeps the abducted-child path shut.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_was_entitled_at_disappearance", + "class": "defaulted", + "value": false, + "reason": "The rule reads this flag only when child_disappeared holds, which defaults to false, so the value decides nothing. False keeps the disappeared-child path shut.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_current_index_factor", + "class": "defaulted", + "value": 1.0, + "reason": "A factor of 1 keeps amounts at their 2019 statutory level; METHOD-CARD-BE line 26 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit year 2026 the rule does not use this factor, because the 2025-2027 freeze selects pre_2025_index_factor.", + "citation": "German-speaking Community family-benefits decree article 38 and program decree of 22 December 2025 article 17 (german_speaking_community_family_benefits_indexed_amount_factor); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_disability_category", + "class": "defaulted", + "value": 0, + "reason": "fact:person.has_disability reports a functional limitation, which its definition separates from a benefit program's legal disability status, so no concept supplies the Article 21 category. Category 0 matches none of the seven paid categories, and the rule pays no disability supplement.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 21, 22 and 38 (german_speaking_community_family_benefits_disability_monthly_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_disappeared_child_found", + "class": "defaulted", + "value": false, + "reason": "The rule reads this flag only when child_disappeared holds, which defaults to false, so the value decides nothing. No concept observes the finding of a disappeared child.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_employment_suspends_training_or_extension_entitlement", + "class": "defaulted", + "value": false, + "reason": "The module leaves the delegated employment limits as a supplied input, and no concept carries them. The default treats no child's work as suspending entitlement, so every enrolled 18-to-24-year-old keeps the base amount whatever they earn. That leans spending up for working students.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_foreign_stay_or_settlement_authorized_more_than_three_months", + "class": "defaulted", + "value": true, + "reason": "Article 6 requires a foreign child to hold a stay or settlement right of more than three months. No concept observes the title, so the default treats it as held for the children the selector admits. The rule reads it only for a foreign child, and child_has_foreign_nationality defaults to false.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, article 6 (german_speaking_community_family_benefits_article_6_residence_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_government_residence_condition_deemed_met", + "class": "defaulted", + "value": false, + "reason": "The rule lets this flag stand in for domicile (line 70 joins the two with 'or'), and the module leaves the delegated residence rules as a supplied input. The domicile default (true) already meets Article 6, so the default grants no derogation.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, article 6 (german_speaking_community_family_benefits_article_6_residence_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_has_increased_health_insurance_reimbursement", + "class": "defaulted", + "value": false, + "reason": "The rule pays the social supplement of 75 EUR a month when this health-insurance status holds and the child is no orphan. No concept carries the status, so the default pays the supplement to no child, a lower bound.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 19, 20 and 38 (german_speaking_community_family_benefits_social_monthly_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_has_july_base_entitlement", + "class": "defaulted", + "value": false, + "reason": "The rule pays the annual supplement of 52 EUR when this flag holds, and no rule ties the flag to the eligibility module. The default pays the supplement to no child, a lower bound; true would pay it to every Child row whatever its age.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 15, 16 and 38, and 22 December 2025 program decree article 18 (german_speaking_community_family_benefits_annual_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_impairment_can_open_disability_supplement", + "class": "defaulted", + "value": false, + "reason": "fact:person.has_disability reports a functional limitation, not a legal disability status, so no concept shows that an impairment opens the disability supplement. The default opens the disability route for no child, so entitlement does not run on from 18 to 21 on this ground; that matches disability_category 0 in the amounts module.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the age limit in the same test, german_speaking_community_family_benefits_disability_extension_age_years (21), is sourced to 'German-speaking Community family-benefits decree article 9 section 2'", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_impairment_started_while_entitled", + "class": "defaulted", + "value": false, + "reason": "The rule reads this flag only together with impairment_can_open_disability_supplement, which defaults to false, so the value decides nothing. False keeps the age-18-to-21 disability route shut.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the age limit in the same test, german_speaking_community_family_benefits_disability_extension_age_years (21), is sourced to 'German-speaking Community family-benefits decree article 9 section 2'", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_is_full_orphan", + "class": "defaulted", + "value": false, + "reason": "No concept observes that a child has lost both parents. The default pays the full-orphan supplement of 239 EUR a month to no child.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 23, 24 and 38 (german_speaking_community_family_benefits_full_orphan_monthly_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_is_half_orphan", + "class": "defaulted", + "value": false, + "reason": "No concept observes that a child has lost one parent. The default pays the half-orphan supplement of 120 EUR a month to no child.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 25, 26 and 38 (german_speaking_community_family_benefits_half_orphan_monthly_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_months_since_disappearance", + "class": "defaulted", + "value": 0, + "reason": "The rule reads this count only when child_disappeared holds, which defaults to false, so the value decides nothing. No concept dates a disappearance.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit it is compared with, german_speaking_community_family_benefits_disappeared_child_max_months (60), is sourced to 'German-speaking Community family-benefits decree article 12'", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_no_current_article_9_entitlement", + "class": "defaulted", + "value": false, + "reason": "This flag opens the 12-month Article 10 extension for a young adult whose Article 9 entitlement has lapsed. No concept dates the lapse, so the default keeps the extension shut: a child of 18 to 24 who is not in training gets nothing, a lower bound.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit in the same test, german_speaking_community_family_benefits_article_10_extension_months (12), is sourced to 'German-speaking Community family-benefits decree article 10'", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_pre_2025_index_factor", + "class": "defaulted", + "value": 1.0, + "reason": "A factor of 1 keeps amounts at their 2019 statutory level (157 EUR base); METHOD-CARD-BE line 26 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit years 2025 to 2027 the freeze makes this the factor every amount multiplies by, except the 2025 annual supplement of 62.55 EUR, which takes no factor. An official value with a source would lift that caveat for this scheme.", + "citation": "German-speaking Community family-benefits decree article 38 and program decree of 22 December 2025 article 17 (german_speaking_community_family_benefits_indexed_amount_factor); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_same_recipient_entitled_child_count", + "class": "defaulted", + "value": 1, + "reason": "The count of entitled children paid to the same recipient needs household composition, which the W3 household-composition node will derive. Until then the default counts the child alone, which pays the base amount and no large-family supplement (135 EUR a month from a count of 3).", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 17, 18 and 38 (german_speaking_community_family_benefits_large_family_monthly_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "flanders_family_benefits_age_on_december_31_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "flanders_family_benefits_disability_tier", + "class": "defaulted", + "value": 0, + "reason": "No concept in the mapping carries the article 16 severity of a child's support need, which an assessor named by the Flemish Government sets. Tier 0 matches none of the codes 1 to 7, so the care supplement pays nothing: a lower bound on spending.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 16 (flanders_family_benefits_disability_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/16, recorded on the seven tier-amount parameters the rule reads, not on the rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "flanders_family_benefits_equal_shared_housing", + "class": "defaulted", + "value": false, + "reason": "The mapping carries no fact on how separated parents share a child's housing. False pays the article 18 supplement whole in the child's family, and it changes nothing while the income default keeps that supplement at zero. A W3 household-composition node should replace it.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the halving parameter the rule reads (flanders_family_benefits_social_supplement_monthly_amount_scalar_limit), not on the rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "flanders_family_benefits_family_annual_income", + "class": "defaulted", + "value": 70000.0, + "reason": "No income exists for the beneficiaries' family until W3's income node builds it over the legal unit PR 3 defines. 70000 exceeds the article 18 middle threshold (flanders_family_benefits_social_middle_income_threshold is 60000 at rulespec-be 632e1da1), so the social supplement pays nothing for any family size: a lower bound that leaves out every low-income supplement. The module's own base-amount test supplies the same value.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_before_shared_housing_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the threshold and amount parameters the rule reads, not on the rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "flanders_family_benefits_in_qualifying_foster_care", + "class": "defaulted", + "value": false, + "reason": "The mapping carries no fact on a public authority placing a child in a foster family. False pays no foster-care supplement: a lower bound on spending.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 17 (flanders_family_benefits_foster_care_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/17, recorded on the amount parameter the rule reads, not on the rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "flanders_family_benefits_orphan_status_code", + "class": "defaulted", + "value": 0, + "reason": "The mapping carries no fact on a parent's death or declared absence. Code 0 matches neither article 15 case (1 pays 50 percent of the base amount, 2 pays 100 percent), so the orphan supplement pays nothing: a lower bound on spending.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 15 (flanders_family_benefits_orphan_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/15, recorded on the two rate parameters the rule reads, not on the rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "flanders_family_benefits_qualifying_children_in_family_count", + "class": "defaulted", + "value": 1, + "reason": "No count of a family's entitled children exists until W3's household-composition node builds it. 1 counts the child alone and keeps the family in the small-family branch: 50 and never 80 at low income, 0 and never 60 at middle income. It changes nothing while the income default keeps the supplement at zero.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_before_shared_housing_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the threshold and amount parameters the rule reads, not on the rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_age_on_december_31_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_book_5_transition_no_age_limit_applies", + "class": "defaulted", + "value": false, + "reason": "Article 8 section 2 item 4 lifts the age limit only for a person aged 21 or more on 1 July 1987 who belongs to a category of article 63 of the 1939 child-benefit laws. The mapping can't identify that group, and false keeps the age limits for everyone: a lower bound on spending.", + "citation": "Flemish Groeipakket decree article 8 section 2 age and status windows (flanders_family_benefits_age_or_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_disappeared_or_abducted", + "class": "defaulted", + "value": false, + "reason": "Disappearance and abduction are rare, and the mapping carries no fact on either. False sends every child through the ordinary domicile and nationality test of article 8 section 1 item 1.", + "citation": "Flemish Groeipakket decree article 8 section 1 domicile, residence, disappearance, and abduction conditions (flanders_family_benefits_residence_and_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_domiciled_in_dutch_language_region", + "class": "defaulted", + "value": true, + "reason": "Article 8 section 1 item 1 requires domicile in the Dutch-language region for any benefit. The scheme's selector column will admit only children domiciled there, so true describes every child the module evaluates. PR 4b's selector producer, fed by W3's region derivation from NIS geography, should replace it.", + "citation": "Flemish Groeipakket decree article 8 section 1 domicile, residence, disappearance, and abduction conditions (flanders_family_benefits_residence_and_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_has_authorized_residence", + "class": "defaulted", + "value": true, + "reason": "Article 8 section 1 item 1 asks a child without proof of Belgian nationality to hold leave to stay or settle under the Act of 15 December 1980. The mapping carries no residence-permit fact, so true treats every admitted child as holding that leave. It changes nothing while the nationality default is true, and it keeps non-Belgian children entitled if a later node supplies nationality.", + "citation": "Flemish Groeipakket decree article 8 section 1 domicile, residence, disappearance, and abduction conditions (flanders_family_benefits_residence_and_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_has_belgian_nationality_proof", + "class": "defaulted", + "value": true, + "reason": "The mapping carries no nationality fact. Article 8 section 1 item 1 needs proof of Belgian nationality or leave to stay under the Act of 15 December 1980, a condition for any benefit, so true treats every child the selector admits as meeting it.", + "citation": "Flemish Groeipakket decree article 8 section 1 domicile, residence, disappearance, and abduction conditions (flanders_family_benefits_residence_and_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_has_excluded_study_training_volunteer_or_au_pair_residence_right", + "class": "defaulted", + "value": false, + "reason": "Article 8 section 1 denies benefits to a person whose right to stay rests on study, vocational training, volunteering or au-pair work. The mapping carries no fact on the purpose of a stay, so false applies the exclusion to nobody.", + "citation": "Flemish Groeipakket decree article 8 section 1 temporary residence-purpose exclusion (flanders_family_benefits_temporary_residence_exclusion_applies); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_has_specific_support_need", + "class": "defaulted", + "value": false, + "reason": "Article 8 section 2 item 2 extends entitlement to the month a child turns 21 when it has a specific support need under article 16. The mapping binds no fact to that assessed need, so false grants no extension: a lower bound, in step with the tier-0 default for flanders_family_benefits_disability_tier.", + "citation": "Flemish Groeipakket decree article 8 section 2 age and status windows (flanders_family_benefits_age_or_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_in_month_turning_18", + "class": "defaulted", + "value": false, + "reason": "The flag marks the calendar month of the 18th birthday, and the mapping holds no birth month. False ends the unconditional window at the age the frame reports. W3's query-period node should replace it.", + "citation": "Flemish Groeipakket decree article 8 section 2 age and status windows (flanders_family_benefits_age_or_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_in_month_turning_21", + "class": "defaulted", + "value": false, + "reason": "The flag marks the calendar month of the 21st birthday, and the mapping holds no birth month. It changes nothing while flanders_family_benefits_child_has_specific_support_need stays false. W3's query-period node should replace it.", + "citation": "Flemish Groeipakket decree article 8 section 2 age and status windows (flanders_family_benefits_age_or_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_in_month_turning_25", + "class": "defaulted", + "value": false, + "reason": "The flag marks the calendar month of the 25th birthday, and the mapping holds no birth month. It changes nothing while flanders_family_benefits_child_is_pupil_student_intern_or_school_leaver stays false. W3's query-period node should replace it.", + "citation": "Flemish Groeipakket decree article 8 section 2 age and status windows (flanders_family_benefits_age_or_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_is_child_of_excluded_residence_holder", + "class": "defaulted", + "value": false, + "reason": "Article 8 section 1 lets the children of a study, training, volunteer or au-pair permit holder keep their entitlement. The flag only lifts the residence-purpose exclusion, and it changes nothing while that exclusion's own default stays false.", + "citation": "Flemish Groeipakket decree article 8 section 1 temporary residence-purpose exclusion (flanders_family_benefits_temporary_residence_exclusion_applies); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_is_pupil_student_intern_or_school_leaver", + "class": "defaulted", + "value": false, + "reason": "Article 8 section 2 item 3 extends entitlement to the month a child turns 25 for a pupil, student, intern or school leaver, under conditions the Flemish Government sets. The mapping binds no fact to this input, so false grants no extension: a lower bound that pays nothing to anyone aged 18 or older.", + "citation": "Flemish Groeipakket decree article 8 section 2 age and status windows (flanders_family_benefits_age_or_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_raised_or_studies_outside_belgium", + "class": "defaulted", + "value": false, + "reason": "Article 8 section 3 withholds benefits from children raised or taught outside Belgium. The selector admits children domiciled in the region, and the mapping carries no fact on upbringing or schooling abroad, so false applies the exclusion to nobody.", + "citation": "Flemish Groeipakket decree article 8 section 3 outside-Belgium exclusion (flanders_family_benefits_outside_belgium_exclusion_applies); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_disability_tier", + "class": "defaulted", + "value": 0, + "reason": "No concept in the mapping carries the article 16 severity of a child's support need, which an assessor named by the Flemish Government sets. Tier 0 matches none of the codes 1 to 7, so the care supplement pays nothing: a lower bound on spending.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 16 (flanders_family_benefits_disability_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/16, recorded on the seven tier-amount parameters the rule reads, not on the rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_equal_shared_housing", + "class": "defaulted", + "value": false, + "reason": "The mapping carries no fact on how separated parents share a child's housing. False pays the article 18 supplement whole in the child's family, and it changes nothing while the income default keeps that supplement at zero. A W3 household-composition node should replace it.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the halving parameter the rule reads (flanders_family_benefits_social_supplement_monthly_amount_scalar_limit), not on the rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_family_annual_income", + "class": "defaulted", + "value": 70000.0, + "reason": "No income exists for the beneficiaries' family until W3's income node builds it over the legal unit PR 3 defines. 70000 exceeds the article 18 middle threshold (flanders_family_benefits_social_middle_income_threshold is 60000 at rulespec-be 632e1da1), so the social supplement pays nothing for any family size: a lower bound that leaves out every low-income supplement. The module's own base-amount test supplies the same value.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_before_shared_housing_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the threshold and amount parameters the rule reads, not on the rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_in_qualifying_foster_care", + "class": "defaulted", + "value": false, + "reason": "The mapping carries no fact on a public authority placing a child in a foster family. False pays no foster-care supplement: a lower bound on spending.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 17 (flanders_family_benefits_foster_care_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/17, recorded on the amount parameter the rule reads, not on the rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_orphan_status_code", + "class": "defaulted", + "value": 0, + "reason": "The mapping carries no fact on a parent's death or declared absence. Code 0 matches neither article 15 case (1 pays 50 percent of the base amount, 2 pays 100 percent), so the orphan supplement pays nothing: a lower bound on spending.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 15 (flanders_family_benefits_orphan_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/15, recorded on the two rate parameters the rule reads, not on the rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_outside_belgium_government_exemption_applies", + "class": "defaulted", + "value": false, + "reason": "The Flemish Government can exempt children raised or taught abroad from the article 8 section 3 exclusion. The flag only lifts that exclusion, and it changes nothing while flanders_family_benefits_child_raised_or_studies_outside_belgium stays false.", + "citation": "Flemish Groeipakket decree article 8 section 3 outside-Belgium exclusion (flanders_family_benefits_outside_belgium_exclusion_applies); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_qualifying_children_in_family_count", + "class": "defaulted", + "value": 1, + "reason": "No count of a family's entitled children exists until W3's household-composition node builds it. 1 counts the child alone and keeps the family in the small-family branch: 50 and never 80 at low income, 0 and never 60 at middle income. It changes nothing while the income default keeps the supplement at zero.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_before_shared_housing_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the threshold and amount parameters the rule reads, not on the rule", + "new_default": true + }, + { + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "flanders_family_benefits_residence_and_status_condition_met_at_disappearance_or_abduction", + "class": "defaulted", + "value": true, + "reason": "Article 8 section 1 item 2 asks a disappeared or abducted child to have met the domicile and nationality conditions at that moment. True mirrors the domicile and nationality defaults, and it changes nothing while flanders_family_benefits_child_disappeared_or_abducted stays false. With true, a later change to that flag can't zero the scheme.", + "citation": "Flemish Groeipakket decree article 8 section 1 domicile, residence, disappearance, and abduction conditions (flanders_family_benefits_residence_and_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_age_on_december_31_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_disability_tier", + "class": "defaulted", + "value": 0, + "reason": "No concept binding supplies the article 16 disability tier. Tier 0 matches none of the seven tiers, so the disability supplement pays 0: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 16 (wallonia_family_benefits_disability_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/16 (recorded on the rule's tier parameters)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_disabled_household_member_supplement_applies", + "class": "defaulted", + "value": false, + "reason": "No concept binding identifies a household member who meets the article 14 disability test. Off, so the 65 EUR supplement doesn't pay and the article 13 income test decides the social supplement: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, articles 13 and 14 (wallonia_family_benefits_social_or_disabled_household_member_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/14 (recorded on the parameter wallonia_family_benefits_disabled_household_member_monthly_amount)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_double_orphan_or_only_parent_orphan", + "class": "defaulted", + "value": false, + "reason": "No concept binding records that a child has lost both parents or the only parent with established filiation. Off, so the child gets the ordinary base amount by age (155 or 165 EUR) in place of the 350 EUR orphan base: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 9 (wallonia_family_benefits_base_monthly_amount); the 350 EUR parameter cites article 9 section 2; corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/9 (recorded on the rule's parameters)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_household_annual_income", + "class": "defaulted", + "value": 70000.0, + "reason": "No income node exists yet. 70,000 exceeds the 50,000 upper ceiling (wallonia_family_benefits_income_middle_threshold at rulespec-be 632e1da1), so the large-family, single-parent and social supplements all pay 0 and the child gets the base amount alone, as in the module's own base-only test case. W3's income node, built over the legal unit around the allocataire, will replace it; until then the default understates spending on households under the ceilings.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, articles 11, 12, 13 and 14 (wallonia_family_benefits_large_family_supplement_monthly_amount, wallonia_family_benefits_single_parent_supplement_monthly_amount, wallonia_family_benefits_social_or_disabled_household_member_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/13 (recorded on the two income-threshold parameters)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_household_member_has_loss_capacity", + "class": "defaulted", + "value": false, + "reason": "No concept binding records the household-member status that article 13 section 2 rewards with an extra 10 EUR. Off, so the extra doesn't pay: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, articles 13 and 14 (wallonia_family_benefits_social_or_disabled_household_member_supplement_monthly_amount); the 10 EUR parameter cites article 13 section 2; corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/13 (recorded on the parameter wallonia_family_benefits_loss_capacity_extra_monthly_amount)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_in_qualifying_foster_care", + "class": "defaulted", + "value": false, + "reason": "No concept binding records a child placed with a private person through, or at the charge of, a public authority. Off, so the 61 EUR foster-care allowance doesn't pay: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 10 (wallonia_family_benefits_foster_care_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/10 (recorded on the parameter wallonia_family_benefits_foster_care_monthly_amount)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_one_parent_or_only_filiation_orphan", + "class": "defaulted", + "value": false, + "reason": "No concept binding records the orphan status that article 15 rewards. Off, so the 50% supplement on the base amount doesn't pay: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 15 (wallonia_family_benefits_one_parent_orphan_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/15 (recorded on the parameter wallonia_family_benefits_one_parent_orphan_supplement_rate)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_qualifying_children_in_household_count", + "class": "defaulted", + "value": 1, + "reason": "No node counts the household's children with a family-benefit right yet. A count of 1, the child alone, stays under article 11's three-child floor, so the large-family supplement pays 0 and the child gets the base amount. W3's household-composition node will replace it.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 11 (wallonia_family_benefits_large_family_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/11 (recorded on the rule's amount parameters)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/amounts.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_single_parent", + "class": "defaulted", + "value": false, + "reason": "No node identifies single-parent households yet. Off, so the article 12 supplement pays 0 and the child gets the base amount; W3's household-composition node will replace it.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 12 (wallonia_family_benefits_single_parent_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/12 (recorded on the rule's amount parameters)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_age_on_december_31_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_age_on_august_31_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_disappeared", + "class": "defaulted", + "value": false, + "reason": "No concept binding records a disappeared child. Off, so the article 6 maintenance rule stays closed and entitlement runs through articles 4 and 5.", + "citation": "Walloon family-benefits decree article 6 disappeared-child maintenance rule (wallonia_family_benefits_article_6_disappeared_child_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/6", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_has_belgian_nationality", + "class": "defaulted", + "value": true, + "reason": "Article 4 asks a domiciled child for Belgian nationality, a valid residence title or stateless parents. No concept binding supplies nationality, so the default treats every child the selector admits as Belgian; this overstates entitlement for a child with neither nationality nor a title.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_has_disability_supplement_condition", + "class": "defaulted", + "value": false, + "reason": "No concept binding records a child who meets the disability-supplement condition, and disability_tier defaults to 0. Off; the status keeps the right up to 21 without the obstacle test, and the no-obstacle default already admits every child under 21.", + "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_has_registration_attestation_only", + "class": "defaulted", + "value": false, + "reason": "The article 4 rule discounts a residence title when the child holds only a registration attestation, and no concept binding records that status. Off, so the residence-title default keeps its effect; with nationality defaulted to true the value changes no result today.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_has_residence_title", + "class": "defaulted", + "value": true, + "reason": "Article 4 accepts a valid residence title in place of Belgian nationality. The default treats every child the selector admits as holding one, so a foreign child stays eligible if a nationality fact later replaces the Belgian default; with nationality defaulted to true the value changes no result today.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_in_month_turning_21", + "class": "defaulted", + "value": false, + "reason": "No concept binding supplies a birth month, so nothing can place the month of the 21st birthday. Off; only the disability branch of article 5 reads it, and that branch stays closed while child_has_disability_supplement_condition is false. A birth-month or monthly-period node will replace it.", + "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_in_qualifying_courses_or_stage", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_in_qualifying_diploma_training", + "class": "defaulted", + "value": false, + "reason": "The enrolment concept feeds child_in_qualifying_courses_or_stage, and no concept binding separately records diploma training. Off, so this route into the 21-to-24 window stays closed: a lower bound on spending.", + "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_is_apprentice", + "class": "defaulted", + "value": false, + "reason": "No concept binding records an apprenticeship. Off, so this route into the 21-to-24 window stays closed: a lower bound on spending that misses any apprentice of 21 to 24 whom the enrolment fact doesn't count.", + "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_is_third_country_student_authorized_to_stay_for_studies", + "class": "defaulted", + "value": false, + "reason": "No concept binding records a stay authorised for studies. Off, so the article 4 exclusion of third-country students removes nobody; a true default would exclude every child.", + "citation": "Walloon family-benefits decree article 4 third-country student exclusion (wallonia_family_benefits_article_4_temporary_student_exclusion_applies); the rule records no corpus_citation_path (the module's source_verification records be-wal/statute/decret/2018/02/08/2018201006/article/4)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_legal_domicile_in_french_language_region", + "class": "defaulted", + "value": true, + "reason": "Article 4 asks for a legal domicile in the French-language region. The selector column admits to the Walloon scheme only children domiciled there, so the default describes those children; the selector must follow the language region, which leaves out the German-language municipalities of the Walloon Region. W3's region node, from NIS geography, will replace the default.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_parents_are_stateless", + "class": "defaulted", + "value": false, + "reason": "No concept binding records stateless parents. Off; the route matters only for a child with neither Belgian nationality nor a residence title, and both of those defaults hold.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_registered_jobseeker_after_studies_or_apprenticeship", + "class": "defaulted", + "value": false, + "reason": "No concept binding records registration as a jobseeker after studies or an apprenticeship. Off, so this route into the 21-to-24 window stays closed: a lower bound on spending.", + "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_was_beneficiary_at_disappearance", + "class": "defaulted", + "value": false, + "reason": "Only the article 6 disappeared-child rule reads it, and that rule stays closed while child_disappeared is false. Off, since the closure treats no child as disappeared.", + "citation": "Walloon family-benefits decree article 6 disappeared-child maintenance rule (wallonia_family_benefits_article_6_disappeared_child_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/6", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_without_legal_domicile_effectively_resides_in_french_language_region", + "class": "defaulted", + "value": false, + "reason": "This is article 4's fallback for a child with no legal domicile. The legal-domicile default already holds for every child the selector admits, so the fallback stays off and changes no result.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_disability_tier", + "class": "defaulted", + "value": 0, + "reason": "No concept binding supplies the article 16 disability tier. Tier 0 matches none of the seven tiers, so the disability supplement pays 0: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 16 (wallonia_family_benefits_disability_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/16 (recorded on the rule's tier parameters)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_disabled_household_member_supplement_applies", + "class": "defaulted", + "value": false, + "reason": "No concept binding identifies a household member who meets the article 14 disability test. Off, so the 65 EUR supplement doesn't pay and the article 13 income test decides the social supplement: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, articles 13 and 14 (wallonia_family_benefits_social_or_disabled_household_member_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/14 (recorded on the parameter wallonia_family_benefits_disabled_household_member_monthly_amount)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_disappeared_child_found", + "class": "defaulted", + "value": false, + "reason": "Only the article 6 disappeared-child rule reads it, and that rule stays closed while child_disappeared is false. Off, since the closure treats no child as disappeared.", + "citation": "Walloon family-benefits decree article 6 disappeared-child maintenance rule (wallonia_family_benefits_article_6_disappeared_child_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/6", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_double_orphan_or_only_parent_orphan", + "class": "defaulted", + "value": false, + "reason": "No concept binding records that a child has lost both parents or the only parent with established filiation. Off, so the child gets the ordinary base amount by age (155 or 165 EUR) in place of the 350 EUR orphan base: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 9 (wallonia_family_benefits_base_monthly_amount); the 350 EUR parameter cites article 9 section 2; corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/9 (recorded on the rule's parameters)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_government_derogation_applies", + "class": "defaulted", + "value": false, + "reason": "The module leaves individual derogations as a supplied input, and no concept binding records one. Off, so this route into the 21-to-24 window stays closed: a lower bound on spending.", + "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_household_annual_income", + "class": "defaulted", + "value": 70000.0, + "reason": "No income node exists yet. 70,000 exceeds the 50,000 upper ceiling (wallonia_family_benefits_income_middle_threshold at rulespec-be 632e1da1), so the large-family, single-parent and social supplements all pay 0 and the child gets the base amount alone, as in the module's own base-only test case. W3's income node, built over the legal unit around the allocataire, will replace it; until then the default understates spending on households under the ceilings.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, articles 11, 12, 13 and 14 (wallonia_family_benefits_large_family_supplement_monthly_amount, wallonia_family_benefits_single_parent_supplement_monthly_amount, wallonia_family_benefits_social_or_disabled_household_member_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/13 (recorded on the two income-threshold parameters)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_household_member_has_loss_capacity", + "class": "defaulted", + "value": false, + "reason": "No concept binding records the household-member status that article 13 section 2 rewards with an extra 10 EUR. Off, so the extra doesn't pay: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, articles 13 and 14 (wallonia_family_benefits_social_or_disabled_household_member_supplement_monthly_amount); the 10 EUR parameter cites article 13 section 2; corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/13 (recorded on the parameter wallonia_family_benefits_loss_capacity_extra_monthly_amount)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_in_qualifying_foster_care", + "class": "defaulted", + "value": false, + "reason": "No concept binding records a child placed with a private person through, or at the charge of, a public authority. Off, so the 61 EUR foster-care allowance doesn't pay: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 10 (wallonia_family_benefits_foster_care_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/10 (recorded on the parameter wallonia_family_benefits_foster_care_monthly_amount)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_no_government_obstacle_applies", + "class": "defaulted", + "value": true, + "reason": "The article 5 rule keeps the right up to 21 unless an obstacle applies, and the module leaves those delegated obstacles as a supplied input. The default treats no obstacle as applying, so every child under 21 keeps the base amount, enrolled or not; this overstates entitlement for any 18-to-20-year-old whom an obstacle would exclude.", + "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_no_other_belgian_foreign_or_international_family_benefit_right", + "class": "defaulted", + "value": true, + "reason": "The default describes the ordinary child, who has no competing right under another Belgian, foreign or international scheme. Only the article 6 disappeared-child rule reads it, and that rule stays closed while child_disappeared is false, so the value changes no result.", + "citation": "Walloon family-benefits decree article 6 disappeared-child maintenance rule (wallonia_family_benefits_article_6_disappeared_child_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/6", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_one_parent_or_only_filiation_orphan", + "class": "defaulted", + "value": false, + "reason": "No concept binding records the orphan status that article 15 rewards. Off, so the 50% supplement on the base amount doesn't pay: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 15 (wallonia_family_benefits_one_parent_orphan_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/15 (recorded on the parameter wallonia_family_benefits_one_parent_orphan_supplement_rate)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_parents_eu_or_reg883_and_economic_activity_in_french_region", + "class": "defaulted", + "value": false, + "reason": "The article 4 rule exempts from its domicile and nationality tests a child whose parents are EU nationals, or third-country nationals under Regulation 883/2004, with economic activity in the French-language region. No concept binding records that; off, since the domicile and nationality defaults already meet article 4 for every child the selector admits, so the exemption could only add children domiciled elsewhere.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_qualifying_children_in_household_count", + "class": "defaulted", + "value": 1, + "reason": "No node counts the household's children with a family-benefit right yet. A count of 1, the child alone, stays under article 11's three-child floor, so the large-family supplement pays 0 and the child gets the base amount. W3's household-composition node will replace it.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 11 (wallonia_family_benefits_large_family_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/11 (recorded on the rule's amount parameters)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_single_parent", + "class": "defaulted", + "value": false, + "reason": "No node identifies single-parent households yet. Off, so the article 12 supplement pays 0 and the child gets the base amount; W3's household-composition node will replace it.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 12 (wallonia_family_benefits_single_parent_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/12 (recorded on the rule's amount parameters)", + "new_default": true + }, + { + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_supranational_family_member_right_applies", + "class": "defaulted", + "value": false, + "reason": "No concept binding records a right that a supranational rule gives a family member. Off, since the domicile and nationality defaults already meet article 4 for every child the selector admits.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_allocataires_qualifying_relationship_or_de_facto_household", + "class": "defaulted", + "value": false, + "reason": "The article 42 grouping rule reads this flag only when a rank group has more than one allocataire, a branch the single-allocataire default closes. No concept binding supplies the links between allocataires, and no amount rule in the module reads the grouping result, so this default moves no amount.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 42 section 1 (belgium_lgaf_article_42_multiple_allocataire_grouping_condition_met); the rule records no corpus_citation_path (module-level path: be/statute/loi/1939/12/19/1939121901/article/40)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_allocataires_same_principal_residence", + "class": "defaulted", + "value": false, + "reason": "The article 42 grouping rule reads this flag only when a rank group has more than one allocataire, a branch the single-allocataire default closes. No concept binding says whether two allocataires share a principal residence, and no amount rule in the module reads the grouping result, so this default moves no amount.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 42 section 1 (belgium_lgaf_article_42_multiple_allocataire_grouping_condition_met); the rule records no corpus_citation_path (module-level path: be/statute/loi/1939/12/19/1939121901/article/40)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_article_41_single_parent_supplement_conditions_met", + "class": "defaulted", + "value": false, + "reason": "Article 41 adds a single-parent supplement (34.83, 21.59 or 17.41 euros by rank) when its cumulative conditions hold. No concept binding supplies those conditions, so the default withholds the supplement, which gives a lower bound on spending.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 41 (belgium_lgaf_article_41_single_parent_supplement_base_monthly_amount); corpus_citation_path be/statute/loi/1939/12/19/1939121901/article/41, which the module's article 41 parameters record (the reading rule records none)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_article_42bis_social_supplement_conditions_met", + "class": "defaulted", + "value": false, + "reason": "Article 42bis adds a social supplement (34.83, 21.59, or 3.79 or 17.41 euros by rank) for the children its section 1 names. No concept binding supplies that status, so the default withholds the supplement, which gives a lower bound on spending.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 42bis section 2 (belgium_lgaf_article_42bis_social_supplement_base_monthly_amount); corpus_citation_path be/statute/loi/1939/12/19/1939121901/article/42bis, which the module's article 42bis parameters record (the reading rule records none)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_article_42bis_third_or_later_allocataire_meets_article_41_first_two_conditions", + "class": "defaulted", + "value": false, + "reason": "This flag raises the article 42bis supplement for a third or later child from 3.79 to 17.41 euros. The rule reads it only when the social supplement conditions hold, a branch that default closes; false also keeps the lower amount.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 42bis section 2 (belgium_lgaf_article_42bis_social_supplement_base_monthly_amount); corpus_citation_path be/statute/loi/1939/12/19/1939121901/article/42bis, which the module's article 42bis parameters record (the reading rule records none)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_birth_order_rank", + "class": "defaulted", + "value": 1, + "reason": "The birth allowance rule pays 926.95 euros at rank 1, 697.42 at rank 2 and the supplied amount from rank 3. Rank 1 keeps birth order in line with the rank default for monthly amounts, which treats every child as a first child, until a W3 household-composition node derives both. Rank 1 picks the higher stated amount, so it gives no lower bound; no binding requests the birth allowance, whose rule reads no birth event.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 73bis section 1 (belgium_lgaf_article_73bis_birth_allowance_base_amount); corpus_citation_path be/statute/loi/1939/12/19/1939121901/article/73bis, which the module's article 73bis parameters record (the reading rule records none)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_child_age_on_december_31_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_child_has_article_41_42bis_47_or_50ter_supplement", + "class": "defaulted", + "value": false, + "reason": "For a first-ranked child, this flag switches the monthly age supplement from the lower schedule (11.92, 18.51 or 20.92 euros) to the higher one (23.77, 36.32 or 46.18). False agrees with the article 41 and 42bis defaults, which grant no supplement, and pays the lower schedule.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 44 (belgium_lgaf_article_44_monthly_age_supplement_base_amount); corpus_citation_path be/statute/loi/1939/12/19/1939121901/article/44, which the module's article 44 parameters record (the reading rule records none)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_child_is_article_50bis_orphan", + "class": "defaulted", + "value": false, + "reason": "Orphan status replaces the rank amount with the article 50bis rate of 262.84 euros, which exceeds every article 40 amount. No concept binding identifies orphans, so the default pays the rank amount, a lower bound on spending.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 50bis (belgium_lgaf_article_50bis_orphan_monthly_amount; also read by belgium_lgaf_article_42_effective_child_rank, source 'LGAF article 42', and belgium_lgaf_monthly_base_before_supplements, source 'LGAF articles 40, 42, and 50bis'); corpus_citation_path be/statute/loi/1939/12/19/1939121901/article/50bis, which the module's article 50bis parameter records (the reading rules record none)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_child_is_article_62_or_63_beneficiary", + "class": "defaulted", + "value": false, + "reason": "From age 17 on the reference date, the annual age supplement goes only to a child who benefits under article 62 or 63. No concept binding supplies that status, so the default pays no annual supplement from 17, a lower bound on spending; the monthly amount does not read this flag.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 44ter (belgium_lgaf_article_44ter_annual_age_supplement_base_amount); corpus_citation_path be/statute/loi/1939/12/19/1939121901/article/44ter, which the module's article 44ter parameters record (the reading rule records none)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_current_index_multiplier", + "class": "defaulted", + "value": 1.0, + "reason": "The multiplier scales the monthly amount, the annual age supplement, the birth allowance and the adoption premium. The module encodes no current index value, so 1 keeps every amount at its statutory base; METHOD-CARD-BE reports child benefits as not modelled at level until indexed amounts are encoded.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 76bis (belgium_lgaf_selected_monthly_indexed_amount, belgium_lgaf_article_44ter_annual_age_supplement_indexed_amount, belgium_lgaf_article_73bis_birth_allowance_indexed_amount; belgium_lgaf_article_73quater_adoption_premium_indexed_amount cites articles 73quater and 76bis); corpus_citation_path be/statute/loi/1939/12/19/1939121901/article/76bis, which the parameter belgium_lgaf_index_pivot_1996_base_100 records (the reading rules record none)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_current_revaluation_coefficient", + "class": "defaulted", + "value": 1.0, + "reason": "The coefficient multiplies the same four amounts as the index multiplier. The module encodes no current revaluation value, so 1 leaves the amounts unrevalued, in line with METHOD-CARD-BE's caveat that child benefits are not modelled at level.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 76bis (belgium_lgaf_selected_monthly_indexed_amount, belgium_lgaf_article_44ter_annual_age_supplement_indexed_amount, belgium_lgaf_article_73bis_birth_allowance_indexed_amount; belgium_lgaf_article_73quater_adoption_premium_indexed_amount cites articles 73quater and 76bis); corpus_citation_path be/statute/loi/1939/12/19/1939121901/article/76bis, which the parameter belgium_lgaf_index_pivot_1996_base_100 records (the reading rules record none)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_multiple_birth", + "class": "defaulted", + "value": false, + "reason": "A multiple birth earns the first-birth allowance of 926.95 euros whatever the child's birth order. No concept binding identifies multiple births, so the default leaves the amount to birth order.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 73bis section 1 (belgium_lgaf_article_73bis_birth_allowance_base_amount); corpus_citation_path be/statute/loi/1939/12/19/1939121901/article/73bis, which the module's article 73bis parameters record (the reading rule records none)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_receives_article_41_42bis_47_50ter_or_50bis_for_july", + "class": "defaulted", + "value": false, + "reason": "A child who gets one of the listed supplements or the orphan rate for July takes the higher annual age supplement (20.92 to 83.68 euros); every other child takes the reduced one (15.16 to 60.63). False agrees with the supplement and orphan defaults and pays the reduced amounts, a lower bound on spending.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 44ter (belgium_lgaf_article_44ter_annual_age_supplement_base_amount); corpus_citation_path be/statute/loi/1939/12/19/1939121901/article/44ter, which the module's article 44ter parameters record (the reading rule records none)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_single_allocataire_for_rank_group", + "class": "defaulted", + "value": true, + "reason": "With one allocataire for the rank group, the article 42 grouping condition holds outright. The default assumes one allocataire per family until a W3 household-composition node derives it; no amount rule in the module reads the result, so the default moves no amount.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 42 section 1 (belgium_lgaf_article_42_multiple_allocataire_grouping_condition_met); the rule records no corpus_citation_path (module-level path: be/statute/loi/1939/12/19/1939121901/article/40)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_supplied_child_rank_for_amounts", + "class": "defaulted", + "value": 1, + "reason": "Rank selects the article 40 amount: 68.42 euros at rank 1, 126.60 at rank 2 and 189.02 from rank 3, and a rank of 0 or less pays no article 40 amount. Rank 1 pays every child the lowest base amount and the lower age-supplement schedule, a lower bound on spending, until a W3 household-composition node derives each child's rank.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 42 (belgium_lgaf_article_42_effective_child_rank), applied through articles 40 and 42 (belgium_lgaf_article_40_base_monthly_amount); corpus_citation_path be/statute/loi/1939/12/19/1939121901/article/40, which the module's article 40 parameters record (the reading rule records none)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "entity": "Child", + "input": "belgium_lgaf_supplied_third_and_later_birth_allowance_base_amount", + "class": "defaulted", + "value": 0.0, + "reason": "The birth allowance rule reads this amount only from birth order rank 3, a branch the rank default of 1 closes. The module leaves the euro amount supplied until a conversion source for the franc figure exists, so 0 claims no amount.", + "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 73bis section 1 (belgium_lgaf_article_73bis_birth_allowance_base_amount); corpus_citation_path be/statute/loi/1939/12/19/1939121901/article/73bis, which the module's article 73bis parameters record (the reading rule records none)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "belgium_family_benefits_region", + "class": "defaulted", + "value": 0, + "reason": "The code picks the regional scheme whose amount the bridge returns: 0 Flanders, 1 Brussels, 2 Wallonia, 3 the German-speaking Community, and any other value returns 0. One constant can describe one region's children only, so 0 holds only while the bridge's selector admits children domiciled in the Dutch language region; a W3 region node from NIS geography will replace it with each child's own code.", + "citation": "No legal article: the reading rules give their source as 'Regional and community bridge over encoded Belgian family-benefit amount rules' (belgium_family_benefits_selected_monthly_amount) and 'Regional and community bridge over encoded Belgian family-benefit eligibility-gated amount rules' (belgium_family_benefits_eligibility_gated_monthly_amount), and the four code parameters are 'Structural selector' rules. Module-level corpus_citation_path: be-bru/statute/ordonnance/2019/04/25/2019012118/article/4 (the reading rules record none)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_article_26_condition_met", + "class": "defaulted", + "value": false, + "reason": "Article 26 also grants benefits up to age 21 for a child with a condition whose consequences a multidisciplinary team assesses; the module takes the whole test as one supplied input. The default grants nobody this extension, a lower bound: a child who meets article 25 keeps entitlement through the `or`.", + "citation": "Brussels family-benefits ordinance article 4, with Article 25 age/status gate (brussels_family_benefits_child_entitlement, eligibility.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/4; article 26 of the ordinance holds the condition itself", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_age_on_august_31_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_domiciled_in_brussels_capital_region", + "class": "defaulted", + "value": true, + "reason": "Article 4, 1\u00b0 requires the child's domicile in the bilingual Brussels-Capital Region. A selector column will admit to this scheme only children domiciled there, so the default describes every child the scheme evaluates. W3's region derivation from NIS geography will supply that selector and replace the default.", + "citation": "Brussels family-benefits ordinance article 4, with Article 25 age/status gate (brussels_family_benefits_child_entitlement, eligibility.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/4", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_enrolled_in_higher_education", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_has_belgian_nationality", + "class": "defaulted", + "value": true, + "reason": "Article 4, 2\u00b0 requires a Belgian child or a foreign child who holds a residence title. No concept binding supplies nationality, and a selector column will admit only children domiciled in Brussels, so the default treats each of them as meeting the condition through this leg.", + "citation": "Brussels family-benefits ordinance article 4, with Article 25 age/status gate (brussels_family_benefits_child_entitlement, eligibility.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/4", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_has_foreign_residence_title", + "class": "defaulted", + "value": true, + "reason": "Article 4, 2\u00b0 accepts a residence title in place of Belgian nationality, and the rule joins the two with `or`. The default holds, so a foreign child the selector admits stays entitled if a later node supplies nationality and leaves the title unobserved. It changes nothing while the nationality default is true.", + "citation": "Brussels family-benefits ordinance article 4, with Article 25 age/status gate (brussels_family_benefits_child_entitlement, eligibility.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/4", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_has_foreign_study_training_volunteer_or_au_pair_stay_authorization", + "class": "defaulted", + "value": false, + "reason": "From 1 September 2025 article 4 excludes a child from a third country, the EEA or Switzerland whom Belgium authorises to stay to study, train, volunteer or work as an au pair. No concept binding supplies stay authorisations, so the default treats no child as holding one and the exclusion never applies.", + "citation": "Brussels family-benefits ordinance article 4 temporary stay exclusion from 1 September 2025 (brussels_family_benefits_article_4_temporary_stay_exclusion_applies, eligibility.yaml); corpus_citation_path be-bru/statute/ordonnance/2019/04/25/2019012118/article/4", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_in_qualifying_education_training_or_stage", + "class": "defaulted", + "value": false, + "reason": "Article 25 \u00a72(b) pays to age 25 for a child who follows courses, does a qualifying traineeship or takes credit-bearing training, among programmes the Coll\u00e8ge r\u00e9uni selects. The default grants nobody this extension, the lower bound; under it no child aged 18 or over meets article 25, students included. A binding to fact:person.education_enrollment, like the ones be.json gives Wallonia's and the German-speaking Community's counterparts, should replace it.", + "citation": "Brussels family-benefits ordinance article 25 age and post-18 status conditions (brussels_family_benefits_article_25_age_or_status_condition_met, eligibility.yaml); corpus_citation_path be-bru/statute/ordonnance/2019/04/25/2019012118/article/25", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_is_apprentice", + "class": "defaulted", + "value": false, + "reason": "Article 25 \u00a72(a) pays past 31 August of the year a child turns 18, up to age 25, for an apprentice. No concept binding supplies apprenticeship status, so the default grants nobody this extension: a lower bound for children aged 18 to 24.", + "citation": "Brussels family-benefits ordinance article 25 age and post-18 status conditions (brussels_family_benefits_article_25_age_or_status_condition_met, eligibility.yaml); corpus_citation_path be-bru/statute/ordonnance/2019/04/25/2019012118/article/25", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_prepares_higher_education_thesis", + "class": "defaulted", + "value": false, + "reason": "Article 25 \u00a72(c) pays for a child under 25 who regularly prepares a higher-education thesis. No concept binding observes thesis preparation, so the default grants nobody this extension: a lower bound.", + "citation": "Brussels family-benefits ordinance article 25 age and post-18 status conditions (brussels_family_benefits_article_25_age_or_status_condition_met, eligibility.yaml); corpus_citation_path be-bru/statute/ordonnance/2019/04/25/2019012118/article/25", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_child_registered_jobseeker_after_studies_or_apprenticeship", + "class": "defaulted", + "value": false, + "reason": "Article 25 \u00a72(d) pays for a child past compulsory schooling who registers as a jobseeker after finishing studies or an apprenticeship, on conditions the Coll\u00e8ge r\u00e9uni sets. No concept binding observes jobseeker registration, so the default grants nobody this extension: a lower bound.", + "citation": "Brussels family-benefits ordinance article 25 age and post-18 status conditions (brussels_family_benefits_article_25_age_or_status_condition_met, eligibility.yaml); corpus_citation_path be-bru/statute/ordonnance/2019/04/25/2019012118/article/25", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_right_open_on_2025_08_31", + "class": "defaulted", + "value": false, + "reason": "Article 4's third paragraph keeps the right of a child on a study, training, volunteer or au pair stay when that right was open on 31 August 2025. The rule reads this flag only for a child who holds such a stay authorisation, and the default gives no child one, so the flag changes nothing today. 'Not open' lets the exclusion apply, as a lower bound, once a node supplies stay authorisations.", + "citation": "Brussels family-benefits ordinance article 4 temporary stay exclusion from 1 September 2025 (brussels_family_benefits_article_4_temporary_stay_exclusion_applies, eligibility.yaml); corpus_citation_path be-bru/statute/ordonnance/2019/04/25/2019012118/article/4", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_single_child_without_article_8_9_or_12_supplement", + "class": "defaulted", + "value": true, + "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150. That is a lower bound at ages 0 to 24, where article 7(b) pays 150, 160 or 170, but the rule tests the flag before its over-24 test, so this ungated amount pays 150 above 24 as well and only eligibility.yaml's gated amount drops those children. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 7 (brussels_family_benefits_article_7_base_monthly_amount, basic_amounts.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/7", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_beneficiary_child_count", + "class": "defaulted", + "value": 1, + "reason": "No concept binding counts the beneficiary children an allocataire raises (article 11), so the default is 1: the count that pays the smallest supplement below 31,000 euros and none from 31,000 up. Never default it to 0, because the low-income branch sends every count other than 1 or 2 to the three-or-more amounts. W3's household-composition node will replace it.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_cadastral_income_cap_exceeded", + "class": "defaulted", + "value": false, + "reason": "Article 9's last paragraph withholds the supplement when the cadastral income of the allocataire and partner exceeds a cap that the Coll\u00e8ge r\u00e9uni sets; no concept binding supplies cadastral income, and the module takes the comparison as an input. The default treats no household as exceeding the cap, so the income test alone decides the supplement. It moves no amount while the income default stands at 45000.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_child_in_single_parent_family", + "class": "defaulted", + "value": false, + "reason": "Single-parent status raises the low-income supplement by 10 or 20 euros for families with two or more beneficiary children. No household-composition fact reaches the module yet, so the default pays the lower rate; W3's household-composition node will replace it.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "brussels_family_benefits_social_supplement_household_annual_income", + "class": "defaulted", + "value": 45000.0, + "reason": "No income reaches the Child entity until W3 derives household income over the allocataire's unit (PR 3). Set at the article 9, 2\u00b0 upper bound (brussels_family_benefits_social_supplement_middle_income_upper_bound is 45000 at rulespec-be 632e1da), so both `income < bound` tests fail and no child receives a social supplement: a lower bound on spending.", + "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 9 (brussels_family_benefits_article_9_social_supplement_monthly_amount, social_supplements.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/9", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_age_on_december_31_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_book_5_transition_no_age_limit_applies", + "class": "defaulted", + "value": false, + "reason": "Article 8 section 2 item 4 lifts the age limit only for a person aged 21 or more on 1 July 1987 who belongs to a category of article 63 of the 1939 child-benefit laws. The mapping can't identify that group, and false keeps the age limits for everyone: a lower bound on spending.", + "citation": "Flemish Groeipakket decree article 8 section 2 age and status windows (flanders_family_benefits_age_or_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_disappeared_or_abducted", + "class": "defaulted", + "value": false, + "reason": "Disappearance and abduction are rare, and the mapping carries no fact on either. False sends every child through the ordinary domicile and nationality test of article 8 section 1 item 1.", + "citation": "Flemish Groeipakket decree article 8 section 1 domicile, residence, disappearance, and abduction conditions (flanders_family_benefits_residence_and_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_domiciled_in_dutch_language_region", + "class": "defaulted", + "value": true, + "reason": "Article 8 section 1 item 1 requires domicile in the Dutch-language region for any benefit. The scheme's selector column will admit only children domiciled there, so true describes every child the module evaluates. PR 4b's selector producer, fed by W3's region derivation from NIS geography, should replace it.", + "citation": "Flemish Groeipakket decree article 8 section 1 domicile, residence, disappearance, and abduction conditions (flanders_family_benefits_residence_and_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_has_authorized_residence", + "class": "defaulted", + "value": true, + "reason": "Article 8 section 1 item 1 asks a child without proof of Belgian nationality to hold leave to stay or settle under the Act of 15 December 1980. The mapping carries no residence-permit fact, so true treats every admitted child as holding that leave. It changes nothing while the nationality default is true, and it keeps non-Belgian children entitled if a later node supplies nationality.", + "citation": "Flemish Groeipakket decree article 8 section 1 domicile, residence, disappearance, and abduction conditions (flanders_family_benefits_residence_and_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_has_belgian_nationality_proof", + "class": "defaulted", + "value": true, + "reason": "The mapping carries no nationality fact. Article 8 section 1 item 1 needs proof of Belgian nationality or leave to stay under the Act of 15 December 1980, a condition for any benefit, so true treats every child the selector admits as meeting it.", + "citation": "Flemish Groeipakket decree article 8 section 1 domicile, residence, disappearance, and abduction conditions (flanders_family_benefits_residence_and_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_has_excluded_study_training_volunteer_or_au_pair_residence_right", + "class": "defaulted", + "value": false, + "reason": "Article 8 section 1 denies benefits to a person whose right to stay rests on study, vocational training, volunteering or au-pair work. The mapping carries no fact on the purpose of a stay, so false applies the exclusion to nobody.", + "citation": "Flemish Groeipakket decree article 8 section 1 temporary residence-purpose exclusion (flanders_family_benefits_temporary_residence_exclusion_applies); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_has_specific_support_need", + "class": "defaulted", + "value": false, + "reason": "Article 8 section 2 item 2 extends entitlement to the month a child turns 21 when it has a specific support need under article 16. The mapping binds no fact to that assessed need, so false grants no extension: a lower bound, in step with the tier-0 default for flanders_family_benefits_disability_tier.", + "citation": "Flemish Groeipakket decree article 8 section 2 age and status windows (flanders_family_benefits_age_or_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_in_month_turning_18", + "class": "defaulted", + "value": false, + "reason": "The flag marks the calendar month of the 18th birthday, and the mapping holds no birth month. False ends the unconditional window at the age the frame reports. W3's query-period node should replace it.", + "citation": "Flemish Groeipakket decree article 8 section 2 age and status windows (flanders_family_benefits_age_or_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_in_month_turning_21", + "class": "defaulted", + "value": false, + "reason": "The flag marks the calendar month of the 21st birthday, and the mapping holds no birth month. It changes nothing while flanders_family_benefits_child_has_specific_support_need stays false. W3's query-period node should replace it.", + "citation": "Flemish Groeipakket decree article 8 section 2 age and status windows (flanders_family_benefits_age_or_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_in_month_turning_25", + "class": "defaulted", + "value": false, + "reason": "The flag marks the calendar month of the 25th birthday, and the mapping holds no birth month. It changes nothing while flanders_family_benefits_child_is_pupil_student_intern_or_school_leaver stays false. W3's query-period node should replace it.", + "citation": "Flemish Groeipakket decree article 8 section 2 age and status windows (flanders_family_benefits_age_or_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_is_child_of_excluded_residence_holder", + "class": "defaulted", + "value": false, + "reason": "Article 8 section 1 lets the children of a study, training, volunteer or au-pair permit holder keep their entitlement. The flag only lifts the residence-purpose exclusion, and it changes nothing while that exclusion's own default stays false.", + "citation": "Flemish Groeipakket decree article 8 section 1 temporary residence-purpose exclusion (flanders_family_benefits_temporary_residence_exclusion_applies); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_is_pupil_student_intern_or_school_leaver", + "class": "defaulted", + "value": false, + "reason": "Article 8 section 2 item 3 extends entitlement to the month a child turns 25 for a pupil, student, intern or school leaver, under conditions the Flemish Government sets. The mapping binds no fact to this input, so false grants no extension: a lower bound that pays nothing to anyone aged 18 or older.", + "citation": "Flemish Groeipakket decree article 8 section 2 age and status windows (flanders_family_benefits_age_or_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_child_raised_or_studies_outside_belgium", + "class": "defaulted", + "value": false, + "reason": "Article 8 section 3 withholds benefits from children raised or taught outside Belgium. The selector admits children domiciled in the region, and the mapping carries no fact on upbringing or schooling abroad, so false applies the exclusion to nobody.", + "citation": "Flemish Groeipakket decree article 8 section 3 outside-Belgium exclusion (flanders_family_benefits_outside_belgium_exclusion_applies); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_disability_tier", + "class": "defaulted", + "value": 0, + "reason": "No concept in the mapping carries the article 16 severity of a child's support need, which an assessor named by the Flemish Government sets. Tier 0 matches none of the codes 1 to 7, so the care supplement pays nothing: a lower bound on spending.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 16 (flanders_family_benefits_disability_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/16, recorded on the seven tier-amount parameters the rule reads, not on the rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_equal_shared_housing", + "class": "defaulted", + "value": false, + "reason": "The mapping carries no fact on how separated parents share a child's housing. False pays the article 18 supplement whole in the child's family, and it changes nothing while the income default keeps that supplement at zero. A W3 household-composition node should replace it.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the halving parameter the rule reads (flanders_family_benefits_social_supplement_monthly_amount_scalar_limit), not on the rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_family_annual_income", + "class": "defaulted", + "value": 70000.0, + "reason": "No income exists for the beneficiaries' family until W3's income node builds it over the legal unit PR 3 defines. 70000 exceeds the article 18 middle threshold (flanders_family_benefits_social_middle_income_threshold is 60000 at rulespec-be 632e1da1), so the social supplement pays nothing for any family size: a lower bound that leaves out every low-income supplement. The module's own base-amount test supplies the same value.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_before_shared_housing_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the threshold and amount parameters the rule reads, not on the rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_in_qualifying_foster_care", + "class": "defaulted", + "value": false, + "reason": "The mapping carries no fact on a public authority placing a child in a foster family. False pays no foster-care supplement: a lower bound on spending.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 17 (flanders_family_benefits_foster_care_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/17, recorded on the amount parameter the rule reads, not on the rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_orphan_status_code", + "class": "defaulted", + "value": 0, + "reason": "The mapping carries no fact on a parent's death or declared absence. Code 0 matches neither article 15 case (1 pays 50 percent of the base amount, 2 pays 100 percent), so the orphan supplement pays nothing: a lower bound on spending.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 15 (flanders_family_benefits_orphan_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/15, recorded on the two rate parameters the rule reads, not on the rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_outside_belgium_government_exemption_applies", + "class": "defaulted", + "value": false, + "reason": "The Flemish Government can exempt children raised or taught abroad from the article 8 section 3 exclusion. The flag only lifts that exclusion, and it changes nothing while flanders_family_benefits_child_raised_or_studies_outside_belgium stays false.", + "citation": "Flemish Groeipakket decree article 8 section 3 outside-Belgium exclusion (flanders_family_benefits_outside_belgium_exclusion_applies); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_qualifying_children_in_family_count", + "class": "defaulted", + "value": 1, + "reason": "No count of a family's entitled children exists until W3's household-composition node builds it. 1 counts the child alone and keeps the family in the small-family branch: 50 and never 80 at low income, 0 and never 60 at middle income. It changes nothing while the income default keeps the supplement at zero.", + "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_before_shared_housing_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the threshold and amount parameters the rule reads, not on the rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "flanders_family_benefits_residence_and_status_condition_met_at_disappearance_or_abduction", + "class": "defaulted", + "value": true, + "reason": "Article 8 section 1 item 2 asks a disappeared or abducted child to have met the domicile and nationality conditions at that moment. True mirrors the domicile and nationality defaults, and it changes nothing while flanders_family_benefits_child_disappeared_or_abducted stays false. With true, a later change to that flag can't zero the scheme.", + "citation": "Flemish Groeipakket decree article 8 section 1 domicile, residence, disappearance, and abduction conditions (flanders_family_benefits_residence_and_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_abduction_ended", + "class": "defaulted", + "value": false, + "reason": "No concept observes an abduction or its end. The rule reads this flag only inside the conjunction that child_abducted opens, and child_abducted defaults to false, so the value decides nothing.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_abduction_reported_to_authority", + "class": "defaulted", + "value": false, + "reason": "No concept observes a report of abduction to an authority. The rule reads this flag only together with child_abducted, which defaults to false; false also keeps the abducted-child path shut if a later change sets child_abducted alone.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_adoption_premium_conditions_met", + "class": "defaulted", + "value": false, + "reason": "The adoption premium is a one-off 1,144 EUR, and no concept observes an adoption. The default pays it to no child. True would pay it to every child in every month, because the amount rule has a Month period and no other test.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 34, 35 and 38 (german_speaking_community_family_benefits_adoption_premium_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_article_10_extension_months_used", + "class": "defaulted", + "value": 0, + "reason": "No concept counts the months a young adult has drawn under the Article 10 extension, so the default sets none used. The extension path stays shut through no_current_article_9_entitlement, which defaults to false; this value alone would leave it open (0 < 12).", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit it is compared with, german_speaking_community_family_benefits_article_10_extension_months (12), is sourced to 'German-speaking Community family-benefits decree article 10'", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_benefit_year", + "class": "defaulted", + "value": 2026, + "reason": "The benefit year is the query year, which METHOD-CARD-BE BE-MC0 sets at 2026. With 2026 the 2025-2027 indexation freeze applies and the annual supplement takes the Article 15 amount, not the 2025 override of 62.55 EUR. The query-period node will replace the constant, which must move with the policy year.", + "citation": "German-speaking Community program decree of 22 December 2025, article 17 amending article 117.3 (german_speaking_community_family_benefits_indexation_freeze_applies), corpus_citation_path be-dg/statute/moniteur/decret-2025-12-22/2026001207/program-decree-2025-ii-family-benefits/block-1 (recorded by the parameter rules german_speaking_community_family_benefits_indexation_freeze_start_year and _end_year); German-speaking Community decree of 23 April 2018 on family benefits, articles 15, 16 and 38, and 22 December 2025 program decree article 18 (german_speaking_community_family_benefits_annual_supplement_amount)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_birth_premium_conditions_met", + "class": "defaulted", + "value": false, + "reason": "The birth premium is a one-off 1,144 EUR whose conditions the module takes as a supplied input. The default pays it to no child. True would pay it to every child in every month, because the amount rule has a Month period and no age test.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 30, 31 and 38 (german_speaking_community_family_benefits_birth_premium_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_abducted", + "class": "defaulted", + "value": false, + "reason": "No concept observes abduction, a rare status. The abducted-child path needs age under 18 (line 117), where the age test at line 89 already holds, and line 130 joins the two with 'or', so the flag cannot change statutory_base_entitlement.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_disappeared", + "class": "defaulted", + "value": false, + "reason": "No concept observes a disappeared child, a rare status. The rule uses it only to keep entitlement open for up to 60 months as an alternative to the age test (line 130 joins the two with 'or'), so false removes no child's benefit.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_domiciled_in_german_language_region", + "class": "defaulted", + "value": true, + "reason": "Article 6 requires domicile in the German-language region for any benefit. The selector column will admit to this scheme only children domiciled there, so the default describes every child the scheme sees. The W3 region node (NIS geography) will replace it.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, article 6 (german_speaking_community_family_benefits_article_6_residence_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_has_base_entitlement", + "class": "defaulted", + "value": true, + "reason": "The base amount and the five monthly supplements in the amounts module pay only when this flag holds, and no rule ties it to the eligibility module, which decides entitlement and gates the selected amount itself. The default holds the flag so the eligibility gate alone decides which child the scheme pays; false would pay no monthly amount to any child.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 8 and 38 (german_speaking_community_family_benefits_base_monthly_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_has_foreign_nationality", + "class": "defaulted", + "value": false, + "reason": "No concept feeds nationality to this module. The default treats the child as not foreign, so Article 6 asks for no stay title; the stay-title default (true) gives a foreign child the same result.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, article 6 (german_speaking_community_family_benefits_article_6_residence_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_in_training", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_was_article_9_1_entitled_at_abduction", + "class": "defaulted", + "value": false, + "reason": "The rule reads this flag only together with child_abducted, which defaults to false, so the value decides nothing. False keeps the abducted-child path shut.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_child_was_entitled_at_disappearance", + "class": "defaulted", + "value": false, + "reason": "The rule reads this flag only when child_disappeared holds, which defaults to false, so the value decides nothing. False keeps the disappeared-child path shut.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_current_index_factor", + "class": "defaulted", + "value": 1.0, + "reason": "A factor of 1 keeps amounts at their 2019 statutory level; METHOD-CARD-BE line 26 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit year 2026 the rule does not use this factor, because the 2025-2027 freeze selects pre_2025_index_factor.", + "citation": "German-speaking Community family-benefits decree article 38 and program decree of 22 December 2025 article 17 (german_speaking_community_family_benefits_indexed_amount_factor); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_disability_category", + "class": "defaulted", + "value": 0, + "reason": "fact:person.has_disability reports a functional limitation, which its definition separates from a benefit program's legal disability status, so no concept supplies the Article 21 category. Category 0 matches none of the seven paid categories, and the rule pays no disability supplement.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 21, 22 and 38 (german_speaking_community_family_benefits_disability_monthly_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_disappeared_child_found", + "class": "defaulted", + "value": false, + "reason": "The rule reads this flag only when child_disappeared holds, which defaults to false, so the value decides nothing. No concept observes the finding of a disappeared child.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_employment_suspends_training_or_extension_entitlement", + "class": "defaulted", + "value": false, + "reason": "The module leaves the delegated employment limits as a supplied input, and no concept carries them. The default treats no child's work as suspending entitlement, so every enrolled 18-to-24-year-old keeps the base amount whatever they earn. That leans spending up for working students.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_foreign_stay_or_settlement_authorized_more_than_three_months", + "class": "defaulted", + "value": true, + "reason": "Article 6 requires a foreign child to hold a stay or settlement right of more than three months. No concept observes the title, so the default treats it as held for the children the selector admits. The rule reads it only for a foreign child, and child_has_foreign_nationality defaults to false.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, article 6 (german_speaking_community_family_benefits_article_6_residence_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_government_residence_condition_deemed_met", + "class": "defaulted", + "value": false, + "reason": "The rule lets this flag stand in for domicile (line 70 joins the two with 'or'), and the module leaves the delegated residence rules as a supplied input. The domicile default (true) already meets Article 6, so the default grants no derogation.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, article 6 (german_speaking_community_family_benefits_article_6_residence_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_has_increased_health_insurance_reimbursement", + "class": "defaulted", + "value": false, + "reason": "The rule pays the social supplement of 75 EUR a month when this health-insurance status holds and the child is no orphan. No concept carries the status, so the default pays the supplement to no child, a lower bound.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 19, 20 and 38 (german_speaking_community_family_benefits_social_monthly_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_has_july_base_entitlement", + "class": "defaulted", + "value": false, + "reason": "The rule pays the annual supplement of 52 EUR when this flag holds, and no rule ties the flag to the eligibility module. The default pays the supplement to no child, a lower bound; true would pay it to every Child row whatever its age.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 15, 16 and 38, and 22 December 2025 program decree article 18 (german_speaking_community_family_benefits_annual_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_impairment_can_open_disability_supplement", + "class": "defaulted", + "value": false, + "reason": "fact:person.has_disability reports a functional limitation, not a legal disability status, so no concept shows that an impairment opens the disability supplement. The default opens the disability route for no child, so entitlement does not run on from 18 to 21 on this ground; that matches disability_category 0 in the amounts module.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the age limit in the same test, german_speaking_community_family_benefits_disability_extension_age_years (21), is sourced to 'German-speaking Community family-benefits decree article 9 section 2'", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_impairment_started_while_entitled", + "class": "defaulted", + "value": false, + "reason": "The rule reads this flag only together with impairment_can_open_disability_supplement, which defaults to false, so the value decides nothing. False keeps the age-18-to-21 disability route shut.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the age limit in the same test, german_speaking_community_family_benefits_disability_extension_age_years (21), is sourced to 'German-speaking Community family-benefits decree article 9 section 2'", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_is_full_orphan", + "class": "defaulted", + "value": false, + "reason": "No concept observes that a child has lost both parents. The default pays the full-orphan supplement of 239 EUR a month to no child.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 23, 24 and 38 (german_speaking_community_family_benefits_full_orphan_monthly_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_is_half_orphan", + "class": "defaulted", + "value": false, + "reason": "No concept observes that a child has lost one parent. The default pays the half-orphan supplement of 120 EUR a month to no child.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 25, 26 and 38 (german_speaking_community_family_benefits_half_orphan_monthly_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_months_since_disappearance", + "class": "defaulted", + "value": 0, + "reason": "The rule reads this count only when child_disappeared holds, which defaults to false, so the value decides nothing. No concept dates a disappearance.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit it is compared with, german_speaking_community_family_benefits_disappeared_child_max_months (60), is sourced to 'German-speaking Community family-benefits decree article 12'", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_no_current_article_9_entitlement", + "class": "defaulted", + "value": false, + "reason": "This flag opens the 12-month Article 10 extension for a young adult whose Article 9 entitlement has lapsed. No concept dates the lapse, so the default keeps the extension shut: a child of 18 to 24 who is not in training gets nothing, a lower bound.", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit in the same test, german_speaking_community_family_benefits_article_10_extension_months (12), is sourced to 'German-speaking Community family-benefits decree article 10'", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_pre_2025_index_factor", + "class": "defaulted", + "value": 1.0, + "reason": "A factor of 1 keeps amounts at their 2019 statutory level (157 EUR base); METHOD-CARD-BE line 26 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit years 2025 to 2027 the freeze makes this the factor every amount multiplies by, except the 2025 annual supplement of 62.55 EUR, which takes no factor. An official value with a source would lift that caveat for this scheme.", + "citation": "German-speaking Community family-benefits decree article 38 and program decree of 22 December 2025 article 17 (german_speaking_community_family_benefits_indexed_amount_factor); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "german_speaking_community_family_benefits_same_recipient_entitled_child_count", + "class": "defaulted", + "value": 1, + "reason": "The count of entitled children paid to the same recipient needs household composition, which the W3 household-composition node will derive. Until then the default counts the child alone, which pays the base amount and no large-family supplement (135 EUR a month from a count of 3).", + "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 17, 18 and 38 (german_speaking_community_family_benefits_large_family_monthly_supplement_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_age_on_december_31_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_age_on_august_31_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_age_years", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_disappeared", + "class": "defaulted", + "value": false, + "reason": "No concept binding records a disappeared child. Off, so the article 6 maintenance rule stays closed and entitlement runs through articles 4 and 5.", + "citation": "Walloon family-benefits decree article 6 disappeared-child maintenance rule (wallonia_family_benefits_article_6_disappeared_child_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/6", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_has_belgian_nationality", + "class": "defaulted", + "value": true, + "reason": "Article 4 asks a domiciled child for Belgian nationality, a valid residence title or stateless parents. No concept binding supplies nationality, so the default treats every child the selector admits as Belgian; this overstates entitlement for a child with neither nationality nor a title.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_has_disability_supplement_condition", + "class": "defaulted", + "value": false, + "reason": "No concept binding records a child who meets the disability-supplement condition, and disability_tier defaults to 0. Off; the status keeps the right up to 21 without the obstacle test, and the no-obstacle default already admits every child under 21.", + "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_has_registration_attestation_only", + "class": "defaulted", + "value": false, + "reason": "The article 4 rule discounts a residence title when the child holds only a registration attestation, and no concept binding records that status. Off, so the residence-title default keeps its effect; with nationality defaulted to true the value changes no result today.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_has_residence_title", + "class": "defaulted", + "value": true, + "reason": "Article 4 accepts a valid residence title in place of Belgian nationality. The default treats every child the selector admits as holding one, so a foreign child stays eligible if a nationality fact later replaces the Belgian default; with nationality defaulted to true the value changes no result today.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_in_month_turning_21", + "class": "defaulted", + "value": false, + "reason": "No concept binding supplies a birth month, so nothing can place the month of the 21st birthday. Off; only the disability branch of article 5 reads it, and that branch stays closed while child_has_disability_supplement_condition is false. A birth-month or monthly-period node will replace it.", + "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_in_qualifying_courses_or_stage", + "class": "encoded", + "encoded_by": "concept_binding" + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_in_qualifying_diploma_training", + "class": "defaulted", + "value": false, + "reason": "The enrolment concept feeds child_in_qualifying_courses_or_stage, and no concept binding separately records diploma training. Off, so this route into the 21-to-24 window stays closed: a lower bound on spending.", + "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_is_apprentice", + "class": "defaulted", + "value": false, + "reason": "No concept binding records an apprenticeship. Off, so this route into the 21-to-24 window stays closed: a lower bound on spending that misses any apprentice of 21 to 24 whom the enrolment fact doesn't count.", + "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_is_third_country_student_authorized_to_stay_for_studies", + "class": "defaulted", + "value": false, + "reason": "No concept binding records a stay authorised for studies. Off, so the article 4 exclusion of third-country students removes nobody; a true default would exclude every child.", + "citation": "Walloon family-benefits decree article 4 third-country student exclusion (wallonia_family_benefits_article_4_temporary_student_exclusion_applies); the rule records no corpus_citation_path (the module's source_verification records be-wal/statute/decret/2018/02/08/2018201006/article/4)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_legal_domicile_in_french_language_region", + "class": "defaulted", + "value": true, + "reason": "Article 4 asks for a legal domicile in the French-language region. The selector column admits to the Walloon scheme only children domiciled there, so the default describes those children; the selector must follow the language region, which leaves out the German-language municipalities of the Walloon Region. W3's region node, from NIS geography, will replace the default.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_parents_are_stateless", + "class": "defaulted", + "value": false, + "reason": "No concept binding records stateless parents. Off; the route matters only for a child with neither Belgian nationality nor a residence title, and both of those defaults hold.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_registered_jobseeker_after_studies_or_apprenticeship", + "class": "defaulted", + "value": false, + "reason": "No concept binding records registration as a jobseeker after studies or an apprenticeship. Off, so this route into the 21-to-24 window stays closed: a lower bound on spending.", + "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_was_beneficiary_at_disappearance", + "class": "defaulted", + "value": false, + "reason": "Only the article 6 disappeared-child rule reads it, and that rule stays closed while child_disappeared is false. Off, since the closure treats no child as disappeared.", + "citation": "Walloon family-benefits decree article 6 disappeared-child maintenance rule (wallonia_family_benefits_article_6_disappeared_child_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/6", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_child_without_legal_domicile_effectively_resides_in_french_language_region", + "class": "defaulted", + "value": false, + "reason": "This is article 4's fallback for a child with no legal domicile. The legal-domicile default already holds for every child the selector admits, so the fallback stays off and changes no result.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_disability_tier", + "class": "defaulted", + "value": 0, + "reason": "No concept binding supplies the article 16 disability tier. Tier 0 matches none of the seven tiers, so the disability supplement pays 0: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 16 (wallonia_family_benefits_disability_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/16 (recorded on the rule's tier parameters)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_disabled_household_member_supplement_applies", + "class": "defaulted", + "value": false, + "reason": "No concept binding identifies a household member who meets the article 14 disability test. Off, so the 65 EUR supplement doesn't pay and the article 13 income test decides the social supplement: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, articles 13 and 14 (wallonia_family_benefits_social_or_disabled_household_member_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/14 (recorded on the parameter wallonia_family_benefits_disabled_household_member_monthly_amount)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_disappeared_child_found", + "class": "defaulted", + "value": false, + "reason": "Only the article 6 disappeared-child rule reads it, and that rule stays closed while child_disappeared is false. Off, since the closure treats no child as disappeared.", + "citation": "Walloon family-benefits decree article 6 disappeared-child maintenance rule (wallonia_family_benefits_article_6_disappeared_child_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/6", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_double_orphan_or_only_parent_orphan", + "class": "defaulted", + "value": false, + "reason": "No concept binding records that a child has lost both parents or the only parent with established filiation. Off, so the child gets the ordinary base amount by age (155 or 165 EUR) in place of the 350 EUR orphan base: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 9 (wallonia_family_benefits_base_monthly_amount); the 350 EUR parameter cites article 9 section 2; corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/9 (recorded on the rule's parameters)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_government_derogation_applies", + "class": "defaulted", + "value": false, + "reason": "The module leaves individual derogations as a supplied input, and no concept binding records one. Off, so this route into the 21-to-24 window stays closed: a lower bound on spending.", + "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_household_annual_income", + "class": "defaulted", + "value": 70000.0, + "reason": "No income node exists yet. 70,000 exceeds the 50,000 upper ceiling (wallonia_family_benefits_income_middle_threshold at rulespec-be 632e1da1), so the large-family, single-parent and social supplements all pay 0 and the child gets the base amount alone, as in the module's own base-only test case. W3's income node, built over the legal unit around the allocataire, will replace it; until then the default understates spending on households under the ceilings.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, articles 11, 12, 13 and 14 (wallonia_family_benefits_large_family_supplement_monthly_amount, wallonia_family_benefits_single_parent_supplement_monthly_amount, wallonia_family_benefits_social_or_disabled_household_member_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/13 (recorded on the two income-threshold parameters)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_household_member_has_loss_capacity", + "class": "defaulted", + "value": false, + "reason": "No concept binding records the household-member status that article 13 section 2 rewards with an extra 10 EUR. Off, so the extra doesn't pay: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, articles 13 and 14 (wallonia_family_benefits_social_or_disabled_household_member_supplement_monthly_amount); the 10 EUR parameter cites article 13 section 2; corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/13 (recorded on the parameter wallonia_family_benefits_loss_capacity_extra_monthly_amount)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_in_qualifying_foster_care", + "class": "defaulted", + "value": false, + "reason": "No concept binding records a child placed with a private person through, or at the charge of, a public authority. Off, so the 61 EUR foster-care allowance doesn't pay: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 10 (wallonia_family_benefits_foster_care_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/10 (recorded on the parameter wallonia_family_benefits_foster_care_monthly_amount)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_no_government_obstacle_applies", + "class": "defaulted", + "value": true, + "reason": "The article 5 rule keeps the right up to 21 unless an obstacle applies, and the module leaves those delegated obstacles as a supplied input. The default treats no obstacle as applying, so every child under 21 keeps the base amount, enrolled or not; this overstates entitlement for any 18-to-20-year-old whom an obstacle would exclude.", + "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_no_other_belgian_foreign_or_international_family_benefit_right", + "class": "defaulted", + "value": true, + "reason": "The default describes the ordinary child, who has no competing right under another Belgian, foreign or international scheme. Only the article 6 disappeared-child rule reads it, and that rule stays closed while child_disappeared is false, so the value changes no result.", + "citation": "Walloon family-benefits decree article 6 disappeared-child maintenance rule (wallonia_family_benefits_article_6_disappeared_child_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/6", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_one_parent_or_only_filiation_orphan", + "class": "defaulted", + "value": false, + "reason": "No concept binding records the orphan status that article 15 rewards. Off, so the 50% supplement on the base amount doesn't pay: a lower bound on spending.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 15 (wallonia_family_benefits_one_parent_orphan_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/15 (recorded on the parameter wallonia_family_benefits_one_parent_orphan_supplement_rate)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_parents_eu_or_reg883_and_economic_activity_in_french_region", + "class": "defaulted", + "value": false, + "reason": "The article 4 rule exempts from its domicile and nationality tests a child whose parents are EU nationals, or third-country nationals under Regulation 883/2004, with economic activity in the French-language region. No concept binding records that; off, since the domicile and nationality defaults already meet article 4 for every child the selector admits, so the exemption could only add children domiciled elsewhere.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_qualifying_children_in_household_count", + "class": "defaulted", + "value": 1, + "reason": "No node counts the household's children with a family-benefit right yet. A count of 1, the child alone, stays under article 11's three-child floor, so the large-family supplement pays 0 and the child gets the base amount. W3's household-composition node will replace it.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 11 (wallonia_family_benefits_large_family_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/11 (recorded on the rule's amount parameters)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_single_parent", + "class": "defaulted", + "value": false, + "reason": "No node identifies single-parent households yet. Off, so the article 12 supplement pays 0 and the child gets the base amount; W3's household-composition node will replace it.", + "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, article 12 (wallonia_family_benefits_single_parent_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/12 (recorded on the rule's amount parameters)", + "new_default": true + }, + { + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "entity": "Child", + "input": "wallonia_family_benefits_supranational_family_member_right_applies", + "class": "defaulted", + "value": false, + "reason": "No concept binding records a right that a supranational rule gives a family member. Off, since the domicile and nationality defaults already meet article 4 for every child the selector admits.", + "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", + "new_default": true + } + ] +} diff --git a/packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json b/packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json new file mode 100644 index 0000000000..434938034f --- /dev/null +++ b/packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json @@ -0,0 +1,379 @@ +{ + "version": 1, + "country": "be", + "description": "Axiom rules bindings for Belgium's family-benefit content. Each binding names one rulespec-be module by repository-relative rulespec_path and SHA-256 at the pinned commit, the frame entity it sits on, the period label it runs for, and the variables a graph may request. The twelve modules are the ones whose programs the committed input surface compiles on the engine entity Child. No frame entity maps to Child, so each binding sits on the person entity and declares one binding-local view (views_note). Belgium has no composed transport graph yet: no node selects a binding, and nothing here runs until the graph change adds the selector producers, the closure node and the rules nodes. axiom_input_closure.json closes every Child root of these modules.", + "rulespec": { + "repository": "TheAxiomFoundation/rulespec-be", + "commit": "632e1da1110ba881c68165e0cd3c2287b5b8ab08", + "branch": "main", + "verified_on": "2026-11-13", + "verification": "The commit is on origin/main of rulespec-be (git branch -r --contains). The committed input surface was generated at b105e2b3a3086ddd2de447d58a9b951346870dd1, an ancestor of the pin (git merge-base --is-ancestor). Each of the twelve bound modules has the same bytes at both commits, and its SHA-256 at the pin equals the surface's.", + "method_card_row": "BE-MC0" + }, + "engine": { + "repository": "TheAxiomFoundation/axiom-rules-engine", + "commit": null, + "wheel_sha256": null, + "status": "Not pinned. Belgium's committed input surface records axiom-rules-engine 04315d94d04efd61e27665ab3aa300d64fdf3a66. A follow-up refreshes the surface at the engine commit New Zealand pins and then sets commit and wheel_sha256 here, as nz/axiom_rules_bindings.json does. build_transport_registry refuses a bindings document that lacks either pin, so no registry builds from this file before then." + }, + "entity_names": { + "person": "Person", + "household": "Household" + }, + "periods": { + "2026-01": { + "kind": "calendar_month", + "start": "2026-01-01", + "end": "2026-01-31" + } + }, + "period_note": "Every variable these bindings request runs by Month, so the one period label names a month: January 2026, with explicit bounds, because the registry takes no period without them. The kind is calendar_month, the name rulespec-be's own tests give the custom monthly period they run these modules over (for example be-bru/statutes/family_benefits/eligibility.test.yaml). At the surface's engine commit 04315d94d04efd61e27665ab3aa300d64fdf3a66, the Python extension reads any kind other than month, benefit_week and tax_year as a custom period of that name (python-ext/src/lib.rs:583-590). No rule version in the twelve modules starts after 2026-01-01, so each month of 2026 reads the same versions. A graph that needs an annual amount multiplies the monthly output by twelve in a declared transform. No binding requests the modules' Year rules (the annual age supplements and the Flemish participation supplement) or any birth or adoption premium.", + "input_surface": { + "fixture": "packages/microcosm-frame/tests/fixtures/axiom_input_surfaces/be.json", + "notes": "The committed input surface was generated at rulespec-be b105e2b3a3086ddd2de447d58a9b951346870dd1. root_input_count is the size of each module's canonical input surface, all of it on Child." + }, + "views_note": "Each view's selector is a bool person column that no node produces yet. The selectors block gives each column's meaning; the graph change that follows adds the producers and sets each cut-off, birth cohort included: the Flemish and Walloon modules bound here read no birth date, and rulespec-be sources other rules to a Flemish threshold for children born from 2019 onward and to Walloon pre-2020 and article 19 transition amounts (be/statutes/family_benefits/child_benefit_base_2025.yaml, which these bindings don't cover). A view's root inputs read the person columns of the same names (docs/transport-declared-units.md, Binding-local views), so the closure gives a name one default in every module that reads it. Each outside value is the output's value for a person outside the view: 0.0 for a Money output and 0 for a Count output. At the surface's engine commit 04315d94d04efd61e27665ab3aa300d64fdf3a66, formula lowering reads a rule's dtype through a match that has no Count arm and falls through to Decimal (src/formula.rs:1352-1362). An integer 0 casts without loss to a decimal output and to an integer one, so it holds whichever dtype the pinned engine gives a Count.", + "selectors": { + "brussels_family_benefits_child_candidate": "True for a person the Brussels scheme's modules run on as Child: a person domiciled in the Brussels-Capital Region whom the scheme's age and status rules could reach. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that.", + "german_speaking_community_family_benefits_child_candidate": "True for a person the German-speaking Community scheme's modules run on as Child: a person domiciled in the German language region whom the scheme's age and status rules could reach. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that.", + "flanders_family_benefits_child_candidate": "True for a person the Flemish scheme's modules run on as Child: a person domiciled in the Dutch language region whom the scheme's age and status rules could reach. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that.", + "wallonia_family_benefits_child_candidate": "True for a person the Walloon scheme's modules run on as Child: a person domiciled in the French language region whom the scheme's age and status rules could reach. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that.", + "belgium_lgaf_child_candidate": "True for a person the federal LGAF amount schedule runs on as Child. No rule at the pin sends a 2026 child to this module, and the module holds no entitlement test, so a 2026 graph selects no one: its producer writes false for every person, or no node requests the binding.", + "belgium_family_benefits_child_candidate": "True for a person the regional routing bridge runs on as Child. The bridge picks a scheme from belgium_family_benefits_region, which the closure defaults to one code for every child, so no node should request this binding until a graph node supplies that code for each child. Until then the four regional eligibility bindings give the national amount under their own selectors." + }, + "bindings": [ + { + "id": "brussels_family_benefits_basic_amounts", + "rulespec_path": "be-bru/statutes/family_benefits/basic_amounts.yaml", + "sha256": "6dab96b7260c8a38d06eee900a8e2192d1ec8654a9f11011ba901f7f76cc27fa", + "entity": "person", + "engine_entity": "Person", + "period": "2026-01", + "role": "amount_component", + "variables": [ + "brussels_family_benefits_article_7_base_monthly_amount" + ], + "relations_declared": false, + "imports_declared": false, + "root_input_count": 3, + "views": [ + { + "logical_entity": "Child", + "selector": { + "column": "brussels_family_benefits_child_candidate" + }, + "outside": { + "brussels_family_benefits_article_7_base_monthly_amount": 0.0 + } + } + ], + "notes": "The article 7 base amount, with no entitlement gate. Request it only to split the eligible amount into base and supplement; never sum it as spending. brussels_family_benefits_eligibility reaches it through its imports." + }, + { + "id": "brussels_family_benefits_eligibility", + "rulespec_path": "be-bru/statutes/family_benefits/eligibility.yaml", + "sha256": "71ce6d5c5f2a638b0ddc52c766ec8ffd1482725e82e45ba9f67048955bbc5649", + "entity": "person", + "engine_entity": "Person", + "period": "2026-01", + "role": "entitlement_and_payable_amount", + "variables": [ + "brussels_family_benefits_eligible_monthly_amount", + "brussels_family_benefits_child_entitlement" + ], + "relations_declared": false, + "imports_declared": true, + "root_input_count": 19, + "views": [ + { + "logical_entity": "Child", + "selector": { + "column": "brussels_family_benefits_child_candidate" + }, + "outside": { + "brussels_family_benefits_eligible_monthly_amount": 0.0, + "brussels_family_benefits_child_entitlement": 0 + } + } + ], + "notes": "The scheme's payable monthly amount (the article 4, 25 and 26 gate on the article 7 base plus the article 9 supplement) and the 0/1 entitlement it rests on. Both rules hold one version, from 2025-09-01." + }, + { + "id": "brussels_family_benefits_selected_amount", + "rulespec_path": "be-bru/statutes/family_benefits/selected_amount.yaml", + "sha256": "1614c71f0a59f27ae5e9b354d9fed4905dc83dde4176647c63061d8909d10bb1", + "entity": "person", + "engine_entity": "Person", + "period": "2026-01", + "role": "amount_component", + "variables": [ + "brussels_family_benefits_selected_monthly_amount" + ], + "relations_declared": false, + "imports_declared": true, + "root_input_count": 8, + "views": [ + { + "logical_entity": "Child", + "selector": { + "column": "brussels_family_benefits_child_candidate" + }, + "outside": { + "brussels_family_benefits_selected_monthly_amount": 0.0 + } + } + ], + "notes": "The ungated sum of the article 7 base and the article 9 supplement. A graph that wants spending requests brussels_family_benefits_eligibility's eligible amount, which imports this output." + }, + { + "id": "brussels_family_benefits_social_supplements", + "rulespec_path": "be-bru/statutes/family_benefits/social_supplements.yaml", + "sha256": "c77209b28ce08c572ec14645edb174ca99beab4fdff08c49be0814da0666f14f", + "entity": "person", + "engine_entity": "Person", + "period": "2026-01", + "role": "amount_component", + "variables": [ + "brussels_family_benefits_article_9_social_supplement_monthly_amount" + ], + "relations_declared": false, + "imports_declared": false, + "root_input_count": 5, + "views": [ + { + "logical_entity": "Child", + "selector": { + "column": "brussels_family_benefits_child_candidate" + }, + "outside": { + "brussels_family_benefits_article_9_social_supplement_monthly_amount": 0.0 + } + } + ], + "notes": "The article 9 social supplement, with no entitlement gate. Under the closure's income default it is 0 for every child, until a graph node supplies household income." + }, + { + "id": "german_speaking_community_family_benefits_amounts", + "rulespec_path": "be-dg/statutes/family_benefits/amounts.yaml", + "sha256": "d121b02c1a0f4e2b871d1aa70b1b0d252a067b1b972629743bd61dab710385f5", + "entity": "person", + "engine_entity": "Person", + "period": "2026-01", + "role": "amount_component", + "variables": [ + "german_speaking_community_family_benefits_selected_monthly_amount" + ], + "relations_declared": false, + "imports_declared": false, + "root_input_count": 12, + "views": [ + { + "logical_entity": "Child", + "selector": { + "column": "german_speaking_community_family_benefits_child_candidate" + }, + "outside": { + "german_speaking_community_family_benefits_selected_monthly_amount": 0.0 + } + } + ], + "notes": "The ungated monthly total (the base amount plus the monthly supplements). A graph that wants spending requests german_speaking_community_family_benefits_eligibility's eligible amount, which imports this output. The module's Year rules and its birth and adoption premiums are not requested." + }, + { + "id": "german_speaking_community_family_benefits_eligibility", + "rulespec_path": "be-dg/statutes/family_benefits/eligibility.yaml", + "sha256": "b19ec68c3c94d5c869512e12cd2e620a9bcdd3034ddaf12d2bce04858083d3b5", + "entity": "person", + "engine_entity": "Person", + "period": "2026-01", + "role": "entitlement_and_payable_amount", + "variables": [ + "german_speaking_community_family_benefits_eligible_monthly_amount", + "german_speaking_community_family_benefits_statutory_base_entitlement" + ], + "relations_declared": false, + "imports_declared": true, + "root_input_count": 31, + "views": [ + { + "logical_entity": "Child", + "selector": { + "column": "german_speaking_community_family_benefits_child_candidate" + }, + "outside": { + "german_speaking_community_family_benefits_eligible_monthly_amount": 0.0, + "german_speaking_community_family_benefits_statutory_base_entitlement": 0 + } + } + ], + "notes": "The scheme's payable monthly amount behind the articles 6 and 9 to 14 gate, and the 0/1 statutory base entitlement it rests on." + }, + { + "id": "flanders_family_benefits_amounts", + "rulespec_path": "be-vlg/statutes/family_benefits/amounts.yaml", + "sha256": "bd8cd97a540cdf83ac71592f86e0c1dcd6edc3d01a169d000cf823a836496f32", + "entity": "person", + "engine_entity": "Person", + "period": "2026-01", + "role": "amount_component", + "variables": [ + "flanders_family_benefits_selected_monthly_amount" + ], + "relations_declared": false, + "imports_declared": false, + "root_input_count": 7, + "views": [ + { + "logical_entity": "Child", + "selector": { + "column": "flanders_family_benefits_child_candidate" + }, + "outside": { + "flanders_family_benefits_selected_monthly_amount": 0.0 + } + } + ], + "notes": "The ungated monthly total (the base amount plus the orphan, disability, foster-care and social supplements). A graph that wants spending requests flanders_family_benefits_eligibility's eligible amount, which imports this output. The annual participation supplement, a Year rule with no entitlement gate, is not requested." + }, + { + "id": "flanders_family_benefits_eligibility", + "rulespec_path": "be-vlg/statutes/family_benefits/eligibility.yaml", + "sha256": "818ae27ec259e3f0bc7ba10119a356d62341ea6e09fd221dd98bcc2351419d09", + "entity": "person", + "engine_entity": "Person", + "period": "2026-01", + "role": "entitlement_and_payable_amount", + "variables": [ + "flanders_family_benefits_eligible_monthly_amount", + "flanders_family_benefits_child_entitlement" + ], + "relations_declared": false, + "imports_declared": true, + "root_input_count": 23, + "views": [ + { + "logical_entity": "Child", + "selector": { + "column": "flanders_family_benefits_child_candidate" + }, + "outside": { + "flanders_family_benefits_eligible_monthly_amount": 0.0, + "flanders_family_benefits_child_entitlement": 0 + } + } + ], + "notes": "The scheme's payable monthly amount behind the article 8 gate, and the 0/1 entitlement it rests on." + }, + { + "id": "wallonia_family_benefits_amounts", + "rulespec_path": "be-wal/statutes/family_benefits/amounts.yaml", + "sha256": "0b1de350ca08f518f79c97b151e0055ba17a186837eeeeb9b38527d1fbfda2fa", + "entity": "person", + "engine_entity": "Person", + "period": "2026-01", + "role": "amount_component", + "variables": [ + "wallonia_family_benefits_selected_monthly_amount" + ], + "relations_declared": false, + "imports_declared": false, + "root_input_count": 11, + "views": [ + { + "logical_entity": "Child", + "selector": { + "column": "wallonia_family_benefits_child_candidate" + }, + "outside": { + "wallonia_family_benefits_selected_monthly_amount": 0.0 + } + } + ], + "notes": "The ungated monthly total (the base amount plus the monthly supplements). A graph that wants spending requests wallonia_family_benefits_eligibility's eligible amount, which imports this output. The article 17 annual age supplement, a Year rule with no entitlement gate, is not requested, so Walloon amounts leave it out." + }, + { + "id": "wallonia_family_benefits_eligibility", + "rulespec_path": "be-wal/statutes/family_benefits/eligibility.yaml", + "sha256": "6bcd10fefa6e0ba3a54fbc51cfc8d4f2ed8d182ad81f3e1241b1aa01b7ce3734", + "entity": "person", + "engine_entity": "Person", + "period": "2026-01", + "role": "entitlement_and_payable_amount", + "variables": [ + "wallonia_family_benefits_eligible_monthly_amount", + "wallonia_family_benefits_child_entitlement" + ], + "relations_declared": false, + "imports_declared": true, + "root_input_count": 33, + "views": [ + { + "logical_entity": "Child", + "selector": { + "column": "wallonia_family_benefits_child_candidate" + }, + "outside": { + "wallonia_family_benefits_eligible_monthly_amount": 0.0, + "wallonia_family_benefits_child_entitlement": 0 + } + } + ], + "notes": "The scheme's payable monthly amount behind the articles 4 to 6 gate, and the 0/1 entitlement it rests on." + }, + { + "id": "belgium_lgaf_amounts", + "rulespec_path": "be/statutes/family_benefits/lgaf_amounts.yaml", + "sha256": "fff8a556a84e6017b7fc878b58e5ed5c007974b849e5cdeed858f57e5020e7ce", + "entity": "person", + "engine_entity": "Person", + "period": "2026-01", + "role": "superseded_federal_schedule", + "variables": [ + "belgium_lgaf_selected_monthly_indexed_amount" + ], + "relations_declared": false, + "imports_declared": false, + "root_input_count": 18, + "views": [ + { + "logical_entity": "Child", + "selector": { + "column": "belgium_lgaf_child_candidate" + }, + "outside": { + "belgium_lgaf_selected_monthly_indexed_amount": 0.0 + } + } + ], + "notes": "The federal amount schedule of the Loi generale relative aux allocations familiales, which holds no entitlement rule, age limit or event test: each output pays every row the view admits. No bound module imports it and the routing bridge returns none of its outputs, so no 2026 node should request it; added to a regional amount it would count a child twice. The binding and its closure entries exist so that the module's 18 Child roots are closed. The one variable is the monthly total; the birth allowance and adoption premium read no birth or adoption event and are never requested." + }, + { + "id": "belgium_family_benefits_regional_routing", + "rulespec_path": "be/statutes/family_benefits/regional_routing.yaml", + "sha256": "408e73587e60d91136f80a71612802cb8c111f7ea5baf5abaeecb772c43c2413", + "entity": "person", + "engine_entity": "Person", + "period": "2026-01", + "role": "regional_bridge", + "variables": [ + "belgium_family_benefits_eligibility_gated_monthly_amount" + ], + "relations_declared": false, + "imports_declared": true, + "root_input_count": 107, + "views": [ + { + "logical_entity": "Child", + "selector": { + "column": "belgium_family_benefits_child_candidate" + }, + "outside": { + "belgium_family_benefits_eligibility_gated_monthly_amount": 0.0 + } + } + ], + "notes": "The bridge over the four regional schemes: it returns the chosen scheme's eligible monthly amount by belgium_family_benefits_region (0 Flanders, 1 Brussels, 2 Wallonia, 3 German-speaking Community; any other code returns 0). Its ungated output skips the schemes' entitlement gates and is not requested. No graph may add the bridge's output to the four regional amounts." + } + ], + "keying_note": "Each Axiom-bound node is to carry its own binding entry, the rulespec and engine pin blocks, the entity names and its period, plus a digest of exactly those values, never this file's SHA-256. Otherwise an edit to one scheme's binding would re-key every other scheme's nodes. Which graph nodes consume which binding is the composer's business, not this resource's." +} diff --git a/packages/microcosm-build/src/microcosm/build/be/country_package.json b/packages/microcosm-build/src/microcosm/build/be/country_package.json index 25de1ae91e..5b2076839b 100644 --- a/packages/microcosm-build/src/microcosm/build/be/country_package.json +++ b/packages/microcosm-build/src/microcosm/build/be/country_package.json @@ -32,6 +32,16 @@ "kind": "vintages", "schema_id": "vintages.schema.json" }, + { + "path": "axiom_input_closure.json", + "kind": "legacy_json", + "schema_id": "legacy_json" + }, + { + "path": "axiom_rules_bindings.json", + "kind": "legacy_json", + "schema_id": "legacy_json" + }, { "path": "chronicle_feed.json", "kind": "legacy_json", diff --git a/packages/microcosm-build/src/microcosm/build/be/gates.json b/packages/microcosm-build/src/microcosm/build/be/gates.json index 024a626d1e..cfc5db5118 100644 --- a/packages/microcosm-build/src/microcosm/build/be/gates.json +++ b/packages/microcosm-build/src/microcosm/build/be/gates.json @@ -60,6 +60,17 @@ }, "notes": "The eventual active target profile must cover every named family; the schema declarations and placeholders in this change do not themselves activate that surface." }, + { + "id": "release_input_coverage", + "gate": "release_input_coverage", + "phase": "terminal", + "criticality": "release_blocking", + "parameters": { + "allow_engine_optional": false + }, + "evidence_absent_blocks": true, + "notes": "Authenticate the exact Build P donor artifact and close every declared Frame/Axiom input. A missing substantive root input of any module bound in axiom_rules_bindings.json is a build failure, never an engine default. allow_engine_optional is false: an engine default never closes an input here, and the gate names every engine-optional input it finds. The gate has no evidence before PR 4b: it reads the artifacts of a graph's closure node and donor receipt node, and Belgium has no transport graph yet. evidence_absent_blocks makes that absence block in every posture (docs/gate-battery-contract.md). Until then tests/engine_free/shared/test_be_axiom_input_closure.py runs the closure's partition on the committed surface." + }, { "id": "demographics_vs_statbel", "gate": "aggregate_admin", diff --git a/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py b/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py new file mode 100644 index 0000000000..b8187586f1 --- /dev/null +++ b/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py @@ -0,0 +1,370 @@ +"""Belgium's input closure, against the committed engine surface. + +``build/be/axiom_rules_bindings.json`` binds the twelve rulespec-be +family-benefit modules whose programs run on the engine entity ``Child``, and +``build/be/axiom_input_closure.json`` decides how each of their 277 ``Child`` +root inputs is fed: a ``person_role`` binding of the ``axiom:be`` concept +mapping encodes 35, and the other 242 take a default with a reason and a +citation. No frame entity maps to ``Child``, so each binding declares a +binding-local view on it (``docs/transport-declared-units.md``). + +Belgium has no composed transport graph yet, so no closure node runs. These +tests call +:func:`~microcosm.build.transport.evidence_contract.closure_partition`, the +closure kernel's own partition code, on the committed surface, the mapping, +the bindings and the closure. They take ``mapped_entities`` from the +bindings' ``entity_names`` as the kernel does, so ``Child`` counts as live +only through each binding's view. ``frame_columns`` stays ``None``: the +frame-slice checks need a producer's slice, which the graph change brings. +""" + +import copy +import json +from collections import Counter + +import pytest + +from microcosm.build.transport.evidence_contract import ( + binding_view_entities, + closure_partition, + partition_counts, +) +from microcosm.frame.adapters.axiom import axiom_concept_mapping +from microcosm.frame.adapters.axiom_input_surface import load_axiom_input_surface +from microcosm.frame.concepts import ContentBasis +from microcosm.frame.input_closure import ClosureClass, EncodedBy, InputClosure +from test_support.paths import paths_for + +_BUILD = paths_for("microcosm-build") +_FRAME = paths_for("microcosm-frame") +_BE = _BUILD.package / "src/microcosm/build/be" +CLOSURE_PATH = _BE / "axiom_input_closure.json" +BINDINGS_PATH = _BE / "axiom_rules_bindings.json" +GATES_PATH = _BE / "gates.json" +SURFACE_PATH = _FRAME.tests / "fixtures/axiom_input_surfaces/be.json" + +LOGICAL_ENTITY = "Child" +MODULES = 12 +ROOTS = 277 +ENCODED = 35 +DEFAULTED = 242 +#: Roots, encoded and defaulted per module, in rulespec_path order. +PER_MODULE = { + "be-bru/statutes/family_benefits/basic_amounts.yaml": (3, 2, 1), + "be-bru/statutes/family_benefits/eligibility.yaml": (19, 4, 15), + "be-bru/statutes/family_benefits/selected_amount.yaml": (8, 3, 5), + "be-bru/statutes/family_benefits/social_supplements.yaml": (5, 1, 4), + "be-dg/statutes/family_benefits/amounts.yaml": (12, 0, 12), + "be-dg/statutes/family_benefits/eligibility.yaml": (31, 2, 29), + "be-vlg/statutes/family_benefits/amounts.yaml": (7, 1, 6), + "be-vlg/statutes/family_benefits/eligibility.yaml": (23, 2, 21), + "be-wal/statutes/family_benefits/amounts.yaml": (11, 2, 9), + "be-wal/statutes/family_benefits/eligibility.yaml": (33, 4, 29), + "be/statutes/family_benefits/lgaf_amounts.yaml": (18, 2, 16), + "be/statutes/family_benefits/regional_routing.yaml": (107, 12, 95), +} + +SURFACE = load_axiom_input_surface(SURFACE_PATH) +MAPPING = axiom_concept_mapping("be") + + +def _closure_payload() -> dict: + return json.loads(CLOSURE_PATH.read_text(encoding="utf-8")) + + +def _bindings_payload() -> dict: + return json.loads(BINDINGS_PATH.read_text(encoding="utf-8")) + + +def _partition(closure_payload: dict, bindings_payload: dict) -> dict: + """The closure kernel's partition, fed from the surface and the bindings. + + ``roots`` and ``module_sha256`` come from the committed surface, and + ``module_imports`` from each binding's ``imports_declared``; the kernel + reads the same three from its prepared engines. ``mapped_entities`` is + the bindings' ``entity_names`` values, as the kernel passes them. + """ + + rows = bindings_payload["bindings"] + modules = {row["id"]: SURFACE.modules[row["rulespec_path"]] for row in rows} + return closure_partition( + InputClosure.from_dict(closure_payload), + MAPPING, + rows, + {binding: dict(module.inputs) for binding, module in modules.items()}, + module_sha256={binding: module.sha256 for binding, module in modules.items()}, + module_imports={row["id"]: row["imports_declared"] for row in rows}, + mapped_entities=bindings_payload["entity_names"].values(), + ) + + +@pytest.fixture(scope="module") +def partition() -> dict: + return _partition(_closure_payload(), _bindings_payload()) + + +class TestPartition: + def test_the_bindings_cover_the_twelve_child_modules(self) -> None: + rows = _bindings_payload()["bindings"] + assert len(rows) == MODULES + assert len({row["id"] for row in rows}) == MODULES + assert {row["rulespec_path"] for row in rows} == set(PER_MODULE) + # The surface holds no other module with a root on Child. + assert { + path + for path, module in SURFACE.modules.items() + if LOGICAL_ENTITY in module.inputs + } == set(PER_MODULE) + + def test_every_root_is_encoded_or_defaulted(self, partition: dict) -> None: + rows = partition["modules"] + assert len(rows) == MODULES + totals: Counter[str] = Counter() + for row in rows: + counts = partition_counts(row) + assert sum(counts.values()) == len(row["roots"]) + assert ( + len(row["roots"]), + counts["encoded"], + counts["defaulted"], + ) == PER_MODULE[row["rulespec_path"]] + assert row["roots"] == sorted( + f"{LOGICAL_ENTITY}.{name}" + for name in SURFACE.modules[row["rulespec_path"]].inputs[LOGICAL_ENTITY] + ) + assert row["encoded"][EncodedBy.CONCEPT_BINDING.value] == sorted( + name for names in row["encoded"].values() for name in names + ) + assert row["sha256"] == row["reviewed_sha256"] + for name in ("gap", "unexpected", "unmapped_entity"): + assert row[name] == [], (row["binding"], name) + for name in ("engine_optional", "knob_targeted", "relation", "unreached"): + assert row[name] == [], (row["binding"], name) + totals.update(counts) + totals["roots"] += len(row["roots"]) + assert totals["roots"] == ROOTS + assert totals["encoded"] == ENCODED + assert totals["defaulted"] == DEFAULTED + + def test_the_closure_check_is_empty(self, partition: dict) -> None: + assert partition["check"] == [] + + def test_child_is_live_only_through_each_view(self) -> None: + # Without the views, Child sits outside mapped_entities, and the + # partition reports every root unmapped instead of checking it. + bindings = _bindings_payload() + assert LOGICAL_ENTITY not in bindings["entity_names"].values() + for row in bindings["bindings"]: + del row["views"] + rows = _partition(_closure_payload(), bindings)["modules"] + assert sum(len(row["unmapped_entity"]) for row in rows) == ROOTS + assert all(row["roots"] == [] for row in rows) + + def test_dropping_any_default_leaves_a_gap_that_names_it(self) -> None: + payload = _closure_payload() + bindings = _bindings_payload() + by_path = {row["rulespec_path"]: row["id"] for row in bindings["bindings"]} + defaults = [ + index + for index, entry in enumerate(payload["entries"]) + if entry["class"] == ClosureClass.DEFAULTED.value + ] + assert len(defaults) == DEFAULTED + for index in defaults: + mutant = copy.deepcopy(payload) + dropped = mutant["entries"].pop(index) + label = f"{dropped['entity']}.{dropped['input']}" + result = _partition(mutant, bindings) + gaps = { + row["binding"]: row["gap"] for row in result["modules"] if row["gap"] + } + assert gaps == {by_path[dropped["rulespec_path"]]: [label]} + assert any( + dropped["input"] in problem and "not closed" in problem + for problem in result["check"] + ) + + def test_an_entry_for_no_root_is_unexpected(self) -> None: + payload = _closure_payload() + extra = copy.deepcopy( + next( + entry + for entry in payload["entries"] + if entry["class"] == ClosureClass.DEFAULTED.value + ) + ) + extra["input"] = "belgium_family_benefits_no_such_root" + payload["entries"].append(extra) + result = _partition(payload, _bindings_payload()) + unexpected = [ + row["unexpected"] for row in result["modules"] if row["unexpected"] + ] + assert unexpected == [[f"{LOGICAL_ENTITY}.{extra['input']}"]] + + def test_defaulting_an_encoded_root_fails_the_check(self) -> None: + payload = _closure_payload() + entry = next( + entry + for entry in payload["entries"] + if entry["class"] == ClosureClass.ENCODED.value + ) + del entry["encoded_by"] + entry.update( + { + "class": ClosureClass.DEFAULTED.value, + "value": 0, + "reason": "A mutant.", + "citation": "None.", + } + ) + result = _partition(payload, _bindings_payload()) + assert any( + entry["input"] in problem and "bound by the mapping" in problem + for problem in result["check"] + ) + + +class TestClosure: + def test_it_closes_child_roots_only_and_each_once(self) -> None: + closure = InputClosure.from_dict(_closure_payload()) + assert closure.country == "be" + assert closure.content_basis is ContentBasis.TRANSPORT + assert {entry.entity for entry in closure.entries} == {LOGICAL_ENTITY} + assert len(closure.entries) == ROOTS + assert set(closure.modules) == set(PER_MODULE) + assert closure.modules == { + path: SURFACE.modules[path].sha256 for path in PER_MODULE + } + assert closure.knobs == () + + def test_it_was_reviewed_with_the_committed_mapping_and_surface(self) -> None: + closure = InputClosure.from_dict(_closure_payload()) + assert closure.mapping_engine == MAPPING.engine + assert closure.mapping_engine_version == MAPPING.engine_version + assert closure.surface_rulespec_commit == SURFACE.rulespec_commit + assert closure.surface_engine_commit == SURFACE.engine_commit + + def test_every_default_is_a_cited_proposal(self) -> None: + payload = _closure_payload() + closure = InputClosure.from_dict(payload) + defaults = [ + entry + for entry in closure.entries + if entry.closure_class is ClosureClass.DEFAULTED + ] + assert len(defaults) == DEFAULTED + assert closure.new_defaults() == tuple(defaults) + assert all(entry.reason and entry.citation for entry in defaults) + assert "proposal" in payload["status"] + assert "new_default" in payload["status"] + + def test_the_mapping_encodes_the_rest_by_person_role(self) -> None: + closure = InputClosure.from_dict(_closure_payload()) + encoded = { + entry.ref + for entry in closure.entries + if entry.closure_class is ClosureClass.ENCODED + } + assert all( + entry.encoded_by is EncodedBy.CONCEPT_BINDING + for entry in closure.entries + if entry.closure_class is ClosureClass.ENCODED + ) + bound = { + binding.ref + for binding in MAPPING.bindings + if binding.ref.entity == LOGICAL_ENTITY + } + assert encoded == bound + assert len(encoded) == ENCODED + + def test_a_name_keeps_one_default_across_modules(self) -> None: + # The routing module reads the four regional schemes' roots through + # its imports, so one name must not take two values. + closure = InputClosure.from_dict(_closure_payload()) + values: dict[str, set] = {} + for entry in closure.entries: + if entry.closure_class is ClosureClass.DEFAULTED: + values.setdefault(entry.input, set()).add( + (type(entry.value).__name__, entry.value) + ) + assert {name: found for name, found in values.items() if len(found) > 1} == {} + + def test_engine_line_citations_are_pinned_at_the_surface_engine(self) -> None: + payload = _closure_payload() + engine = payload["input_surface"]["engine"] + assert engine["commit"] == SURFACE.engine_commit + pins = payload["engine_source_pins"]["pins"] + assert all( + pin["repository"] == engine["repository"] + and pin["commit"] == engine["commit"] + for pin in pins + ) + evidence = payload["engine_optional_evidence"] + assert {pin["path"] for pin in pins} == { + path for path in (pin["path"] for pin in pins) if f"{path}:" in evidence + } + + +class TestBindings: + def test_each_binding_pins_its_module_as_the_surface_does(self) -> None: + payload = _bindings_payload() + assert payload["country"] == "be" + assert payload["entity_names"] == MAPPING.entity_correspondence + for row in payload["bindings"]: + module = SURFACE.modules[row["rulespec_path"]] + assert module.status == "compiled" + assert row["sha256"] == module.sha256 + assert row["root_input_count"] == sum( + len(names) for names in module.inputs.values() + ) + assert row["entity"] == "person" + assert row["engine_entity"] == payload["entity_names"]["person"] + assert row["period"] in payload["periods"] + assert row["relations_declared"] is False + assert isinstance(row["imports_declared"], bool) + assert "relations" not in row + + def test_each_binding_has_one_child_view_over_its_variables(self) -> None: + payload = _bindings_payload() + structural = {"person_id", "household_id"} + for row in payload["bindings"]: + assert binding_view_entities(row) == {LOGICAL_ENTITY} + (view,) = row["views"] + assert set(view) == {"logical_entity", "selector", "outside"} + assert set(view["selector"]) == {"column"} + selector = view["selector"]["column"] + variables = row["variables"] + assert variables and len(variables) == len(set(variables)) + assert set(view["outside"]) == set(variables) + assert selector not in variables + assert selector not in structural + # A view input reads the person column of the same name, so a + # selector must not shadow a root input either. + module = SURFACE.modules[row["rulespec_path"]] + assert selector not in module.inputs[LOGICAL_ENTITY] + + def test_the_engine_pins_await_the_surface_refresh(self) -> None: + engine = _bindings_payload()["engine"] + assert engine["commit"] is None + assert engine["wheel_sha256"] is None + assert engine["status"] + + def test_the_rulespec_pin_holds_the_surface_bytes(self) -> None: + # The surface was generated at an ancestor of the pin; the bindings + # record that every bound module has the same bytes at both. + payload = _bindings_payload() + assert payload["rulespec"]["commit"] != SURFACE.rulespec_commit + assert SURFACE.rulespec_commit in payload["rulespec"]["verification"] + closure = _closure_payload() + assert closure["rulespec_pin"]["commit"] == payload["rulespec"]["commit"] + + +class TestGate: + def test_release_input_coverage_never_lets_an_engine_default_close(self) -> None: + gates = json.loads(GATES_PATH.read_text(encoding="utf-8"))["gates"] + (gate,) = (gate for gate in gates if gate["gate"] == "release_input_coverage") + assert gate["id"] == "release_input_coverage" + assert gate["criticality"] == "release_blocking" + assert gate["parameters"] == {"allow_engine_optional": False} + assert gate["evidence_absent_blocks"] is True diff --git a/packages/microcosm-build/tests/engine_free/shared/test_country_spec.py b/packages/microcosm-build/tests/engine_free/shared/test_country_spec.py index 2b7a4471ec..fe5be81f05 100644 --- a/packages/microcosm-build/tests/engine_free/shared/test_country_spec.py +++ b/packages/microcosm-build/tests/engine_free/shared/test_country_spec.py @@ -523,6 +523,8 @@ def test_loads_with_every_declared_resource(self, spec) -> None: "spec/vintages.yaml", "source_stages.json", "geography_spine.json", + "axiom_input_closure.json", + "axiom_rules_bindings.json", "chronicle_feed.json", "target_references.json", "precal_references.json", diff --git a/packages/microcosm-build/tests/engine_free/shared/test_spec_engine_country_bundles.py b/packages/microcosm-build/tests/engine_free/shared/test_spec_engine_country_bundles.py index 5e63af53ea..060b0ff133 100644 --- a/packages/microcosm-build/tests/engine_free/shared/test_spec_engine_country_bundles.py +++ b/packages/microcosm-build/tests/engine_free/shared/test_spec_engine_country_bundles.py @@ -219,6 +219,8 @@ def test_be_generation_zero_views_still_come_from_the_country_spec_seam() -> Non assert not spec.release_contract.licence_restricted assert spec.release_contract.public_artifacts == () assert {row.path for row in spec.resource_rows if row.kind == "legacy_json"} == { + "axiom_input_closure.json", + "axiom_rules_bindings.json", "chronicle_feed.json", "gates.json", "geography_spine.json", diff --git a/packages/microcosm-build/tests/golden/be_country_spec.json b/packages/microcosm-build/tests/golden/be_country_spec.json index 5d9d71e55e..fad427625c 100644 --- a/packages/microcosm-build/tests/golden/be_country_spec.json +++ b/packages/microcosm-build/tests/golden/be_country_spec.json @@ -1,11 +1,12 @@ { "country": "be", - "fingerprint": "2a8d7b012245e62d3e906ebf70eb7952bb1f581185b0ef073c39a7bf139f4030", + "fingerprint": "bcb3b9d084d61861181b22beac93ed5dc208b2051fe8f232239139f092f80c75", "gate_ids": [ "calibration_per_family_fit", "national_and_nuts1_admin_aggregates", "commune_fiscal_income_fit", "target_profile_coverage", + "release_input_coverage", "demographics_vs_statbel", "exported_nonzero", "formula_owned_export", @@ -28,9 +29,11 @@ "staging_repo": "policyengine/populace-be-staging" }, "resource_hashes": { + "axiom_input_closure.json": "f69bed4ef31bbd22ad006da6b1cfd94c6f5f5ba9eae819478c65999ca573dbda", + "axiom_rules_bindings.json": "79e7469534d2df704dbbad1e20ecec1cf87c6ffd8b3371330d9097ff67fa3987", "chronicle_feed.json": "71f3967cefa12d8ad6c4b955547bfc37e33183ee839b3edf3a43e0cb72559030", - "country_package.json": "b698d0a0cb99deb9071451f790915f054d02970aa8a544cac6865860cf60f386", - "gates.json": "85c07f713168058a081b40cf94da6a33035108ba7807e04818486032fb2ad580", + "country_package.json": "204c8c06934160c856d86a9d6c5305d40e9b3a85713c11c3ab031bebb27fbe89", + "gates.json": "6f5e7a633e965ce44ed074224003fa3a2197460089b774f7b6f0c43e04d5e5aa", "geography_spine.json": "090b83a4fa511e691b8f1486bc4188e4170cf9d4a1239e7418d33d5020ceca50", "holdout_references.json": "c9d32204b4c6364a95fcab066cbbc8b1b99dd49ef608e72c99009f01c7d1c942", "precal_references.json": "321bd4bd675b80c2e3241e19346fb191b72c8a0c101080dca27bae061c3edd89", @@ -56,6 +59,8 @@ "spec/sources.yaml", "spec/spine.yaml", "spec/vintages.yaml", + "axiom_input_closure.json", + "axiom_rules_bindings.json", "chronicle_feed.json", "gates.json", "geography_spine.json", From 0ffd634ba6be5974c618441e84edc6859b5b5539 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Fri, 13 Nov 2026 09:35:39 -0500 Subject: [PATCH 2/6] Fix what the review of PR 4a found, and two tests the new files broke Bindings and closure: - entity_names_note says the registry also needs the unit entity that a benefit unit rule declares, and engine.status no longer names the pins as the only gap. - The LGAF selector no longer claims that no rule at the pin sends a child to the schedule: guaranteed_family_benefits.yaml imports it. - views_note names the Brussels article 35 cohort beside the Flemish and Walloon ones. - The undetermined-judgment reason says nothing reads the policy yet. - Two reasons say a selector will admit, since no node produces one. Tests: - test_be_axiom_input_closure.py pins each binding id to its module and selector column, the selectors block, and zero outside values. It takes the structural columns from BE_SCHEMA, checks engine line citations both ways, and asks for sentence-length reasons. - test_belgium_still_refuses_to_activate names today's gaps: the bindings file exists, so its null engine pins block activation. - resolve_json_pointer in test_nz_spec_package.py picks NZ's own file when another country's package holds a resource of the same name. Belgium's axiom_input_closure.json made four NZ citation tests find two files. Co-Authored-By: Claude Fable 5.2 --- .../build/be/axiom_input_closure.json | 10 +- .../build/be/axiom_rules_bindings.json | 7 +- .../shared/test_be_axiom_input_closure.py | 132 +++++++++++++++--- .../shared/test_be_target_references.py | 9 +- .../shared/test_nz_spec_package.py | 7 + .../tests/golden/be_country_spec.json | 6 +- 6 files changed, 141 insertions(+), 30 deletions(-) diff --git a/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json b/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json index ee34d01602..458b78f485 100644 --- a/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json +++ b/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json @@ -76,7 +76,7 @@ "eligible" ], "new_default": true, - "reason": "No binding requests a judgment output: each requested variable is a Money amount or a 0/1 Count. The policy refuses an undetermined judgment, so a later binding that requests one stops the run until a reviewer chooses how such a judgment reaches take-up." + "reason": "No binding requests a judgment output: each requested variable is a Money amount or a 0/1 Count. The policy records refuse as the reviewed choice for a later binding that requests one. Nothing reads it yet: the take-up and receipt kernels refuse an undetermined code themselves (transport/column_kernels.py and transport/receipt_contract.py call resolve_judgments with UndeterminedAction.REFUSE)." }, "knobs": [], "entries": [ @@ -1031,7 +1031,7 @@ "input": "flanders_family_benefits_child_raised_or_studies_outside_belgium", "class": "defaulted", "value": false, - "reason": "Article 8 section 3 withholds benefits from children raised or taught outside Belgium. The selector admits children domiciled in the region, and the mapping carries no fact on upbringing or schooling abroad, so false applies the exclusion to nobody.", + "reason": "Article 8 section 3 withholds benefits from children raised or taught outside Belgium. The selector will admit children domiciled in the region, and the mapping carries no fact on upbringing or schooling abroad, so false applies the exclusion to nobody.", "citation": "Flemish Groeipakket decree article 8 section 3 outside-Belgium exclusion (flanders_family_benefits_outside_belgium_exclusion_applies); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", "new_default": true }, @@ -1343,7 +1343,7 @@ "input": "wallonia_family_benefits_child_legal_domicile_in_french_language_region", "class": "defaulted", "value": true, - "reason": "Article 4 asks for a legal domicile in the French-language region. The selector column admits to the Walloon scheme only children domiciled there, so the default describes those children; the selector must follow the language region, which leaves out the German-language municipalities of the Walloon Region. W3's region node, from NIS geography, will replace the default.", + "reason": "Article 4 asks for a legal domicile in the French-language region. A selector column will admit to the Walloon scheme only children domiciled there, so the default describes those children; the selector must follow the language region, which leaves out the German-language municipalities of the Walloon Region. W3's region node, from NIS geography, will replace the default.", "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", "new_default": true }, @@ -2039,7 +2039,7 @@ "input": "flanders_family_benefits_child_raised_or_studies_outside_belgium", "class": "defaulted", "value": false, - "reason": "Article 8 section 3 withholds benefits from children raised or taught outside Belgium. The selector admits children domiciled in the region, and the mapping carries no fact on upbringing or schooling abroad, so false applies the exclusion to nobody.", + "reason": "Article 8 section 3 withholds benefits from children raised or taught outside Belgium. The selector will admit children domiciled in the region, and the mapping carries no fact on upbringing or schooling abroad, so false applies the exclusion to nobody.", "citation": "Flemish Groeipakket decree article 8 section 3 outside-Belgium exclusion (flanders_family_benefits_outside_belgium_exclusion_applies); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", "new_default": true }, @@ -2551,7 +2551,7 @@ "input": "wallonia_family_benefits_child_legal_domicile_in_french_language_region", "class": "defaulted", "value": true, - "reason": "Article 4 asks for a legal domicile in the French-language region. The selector column admits to the Walloon scheme only children domiciled there, so the default describes those children; the selector must follow the language region, which leaves out the German-language municipalities of the Walloon Region. W3's region node, from NIS geography, will replace the default.", + "reason": "Article 4 asks for a legal domicile in the French-language region. A selector column will admit to the Walloon scheme only children domiciled there, so the default describes those children; the selector must follow the language region, which leaves out the German-language municipalities of the Walloon Region. W3's region node, from NIS geography, will replace the default.", "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", "new_default": true }, diff --git a/packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json b/packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json index 434938034f..32c2bb2b58 100644 --- a/packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json +++ b/packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json @@ -14,12 +14,13 @@ "repository": "TheAxiomFoundation/axiom-rules-engine", "commit": null, "wheel_sha256": null, - "status": "Not pinned. Belgium's committed input surface records axiom-rules-engine 04315d94d04efd61e27665ab3aa300d64fdf3a66. A follow-up refreshes the surface at the engine commit New Zealand pins and then sets commit and wheel_sha256 here, as nz/axiom_rules_bindings.json does. build_transport_registry refuses a bindings document that lacks either pin, so no registry builds from this file before then." + "status": "Not pinned. Belgium's committed input surface records axiom-rules-engine 04315d94d04efd61e27665ab3aa300d64fdf3a66. A follow-up refreshes the surface at the engine commit New Zealand pins and then sets commit and wheel_sha256 here, as nz/axiom_rules_bindings.json does. build_transport_registry refuses a bindings document that lacks either pin, and it also needs the unit entity that entity_names_note describes, so no registry builds from this file before both land." }, "entity_names": { "person": "Person", "household": "Household" }, + "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.", "periods": { "2026-01": { "kind": "calendar_month", @@ -32,13 +33,13 @@ "fixture": "packages/microcosm-frame/tests/fixtures/axiom_input_surfaces/be.json", "notes": "The committed input surface was generated at rulespec-be b105e2b3a3086ddd2de447d58a9b951346870dd1. root_input_count is the size of each module's canonical input surface, all of it on Child." }, - "views_note": "Each view's selector is a bool person column that no node produces yet. The selectors block gives each column's meaning; the graph change that follows adds the producers and sets each cut-off, birth cohort included: the Flemish and Walloon modules bound here read no birth date, and rulespec-be sources other rules to a Flemish threshold for children born from 2019 onward and to Walloon pre-2020 and article 19 transition amounts (be/statutes/family_benefits/child_benefit_base_2025.yaml, which these bindings don't cover). A view's root inputs read the person columns of the same names (docs/transport-declared-units.md, Binding-local views), so the closure gives a name one default in every module that reads it. Each outside value is the output's value for a person outside the view: 0.0 for a Money output and 0 for a Count output. At the surface's engine commit 04315d94d04efd61e27665ab3aa300d64fdf3a66, formula lowering reads a rule's dtype through a match that has no Count arm and falls through to Decimal (src/formula.rs:1352-1362). An integer 0 casts without loss to a decimal output and to an integer one, so it holds whichever dtype the pinned engine gives a Count.", + "views_note": "Each view's selector is a bool person column that no node produces yet. The selectors block gives each column's meaning; the graph change that follows adds the producers and sets each cut-off, birth cohort included: none of the regional modules bound here reads a birth date, and rulespec-be sources other rules to a Flemish threshold for children born from 2019 onward, to a Brussels article 35 transition deduction and to Walloon pre-2020 and article 19 transition amounts (be/statutes/family_benefits/child_benefit_base_2025.yaml, which these bindings don't cover). A view's root inputs read the person columns of the same names (docs/transport-declared-units.md, Binding-local views), so the closure gives a name one default in every module that reads it. Each outside value is the output's value for a person outside the view: 0.0 for a Money output and 0 for a Count output. At the surface's engine commit 04315d94d04efd61e27665ab3aa300d64fdf3a66, formula lowering reads a rule's dtype through a match that has no Count arm and falls through to Decimal (src/formula.rs:1352-1362). An integer 0 casts without loss to a decimal output and to an integer one, so it holds whichever dtype the pinned engine gives a Count.", "selectors": { "brussels_family_benefits_child_candidate": "True for a person the Brussels scheme's modules run on as Child: a person domiciled in the Brussels-Capital Region whom the scheme's age and status rules could reach. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that.", "german_speaking_community_family_benefits_child_candidate": "True for a person the German-speaking Community scheme's modules run on as Child: a person domiciled in the German language region whom the scheme's age and status rules could reach. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that.", "flanders_family_benefits_child_candidate": "True for a person the Flemish scheme's modules run on as Child: a person domiciled in the Dutch language region whom the scheme's age and status rules could reach. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that.", "wallonia_family_benefits_child_candidate": "True for a person the Walloon scheme's modules run on as Child: a person domiciled in the French language region whom the scheme's age and status rules could reach. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that.", - "belgium_lgaf_child_candidate": "True for a person the federal LGAF amount schedule runs on as Child. No rule at the pin sends a 2026 child to this module, and the module holds no entitlement test, so a 2026 graph selects no one: its producer writes false for every person, or no node requests the binding.", + "belgium_lgaf_child_candidate": "True for a person the federal LGAF amount schedule runs on as Child. No bound module imports this schedule, and the routing bridge returns none of its outputs. Its one importer at the pin, be/statutes/family_benefits/guaranteed_family_benefits.yaml, describes a pre-2019 guarantee layer, and the committed surface marks that module dense_unsupported. The schedule holds no entitlement test, so a 2026 graph selects no one: its producer writes false for every person, or no node requests the binding.", "belgium_family_benefits_child_candidate": "True for a person the regional routing bridge runs on as Child. The bridge picks a scheme from belgium_family_benefits_region, which the closure defaults to one code for every child, so no node should request this binding until a graph node supplies that code for each child. Until then the four regional eligibility bindings give the national amount under their own selectors." }, "bindings": [ diff --git a/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py b/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py index b8187586f1..821c3a3752 100644 --- a/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py +++ b/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py @@ -20,6 +20,7 @@ import copy import json +import re from collections import Counter import pytest @@ -29,8 +30,9 @@ closure_partition, partition_counts, ) -from microcosm.frame.adapters.axiom import axiom_concept_mapping +from microcosm.frame.adapters.axiom import BE_SCHEMA, axiom_concept_mapping from microcosm.frame.adapters.axiom_input_surface import load_axiom_input_surface +from microcosm.frame.concept_mapping import GroupRule from microcosm.frame.concepts import ContentBasis from microcosm.frame.input_closure import ClosureClass, EncodedBy, InputClosure from test_support.paths import paths_for @@ -64,6 +66,61 @@ "be/statutes/family_benefits/regional_routing.yaml": (107, 12, 95), } +#: Each binding's module and the selector column of its Child view. A +#: selector keeps other regions' residents out of a scheme, and the closure's +#: domicile defaults rely on that, so the pairing is pinned here: neither the +#: registry nor the adapter refuses a scheme that runs behind another's column. +BINDINGS = { + "brussels_family_benefits_basic_amounts": ( + "be-bru/statutes/family_benefits/basic_amounts.yaml", + "brussels_family_benefits_child_candidate", + ), + "brussels_family_benefits_eligibility": ( + "be-bru/statutes/family_benefits/eligibility.yaml", + "brussels_family_benefits_child_candidate", + ), + "brussels_family_benefits_selected_amount": ( + "be-bru/statutes/family_benefits/selected_amount.yaml", + "brussels_family_benefits_child_candidate", + ), + "brussels_family_benefits_social_supplements": ( + "be-bru/statutes/family_benefits/social_supplements.yaml", + "brussels_family_benefits_child_candidate", + ), + "german_speaking_community_family_benefits_amounts": ( + "be-dg/statutes/family_benefits/amounts.yaml", + "german_speaking_community_family_benefits_child_candidate", + ), + "german_speaking_community_family_benefits_eligibility": ( + "be-dg/statutes/family_benefits/eligibility.yaml", + "german_speaking_community_family_benefits_child_candidate", + ), + "flanders_family_benefits_amounts": ( + "be-vlg/statutes/family_benefits/amounts.yaml", + "flanders_family_benefits_child_candidate", + ), + "flanders_family_benefits_eligibility": ( + "be-vlg/statutes/family_benefits/eligibility.yaml", + "flanders_family_benefits_child_candidate", + ), + "wallonia_family_benefits_amounts": ( + "be-wal/statutes/family_benefits/amounts.yaml", + "wallonia_family_benefits_child_candidate", + ), + "wallonia_family_benefits_eligibility": ( + "be-wal/statutes/family_benefits/eligibility.yaml", + "wallonia_family_benefits_child_candidate", + ), + "belgium_lgaf_amounts": ( + "be/statutes/family_benefits/lgaf_amounts.yaml", + "belgium_lgaf_child_candidate", + ), + "belgium_family_benefits_regional_routing": ( + "be/statutes/family_benefits/regional_routing.yaml", + "belgium_family_benefits_child_candidate", + ), +} + SURFACE = load_axiom_input_surface(SURFACE_PATH) MAPPING = axiom_concept_mapping("be") @@ -79,10 +136,14 @@ def _bindings_payload() -> dict: def _partition(closure_payload: dict, bindings_payload: dict) -> dict: """The closure kernel's partition, fed from the surface and the bindings. - ``roots`` and ``module_sha256`` come from the committed surface, and - ``module_imports`` from each binding's ``imports_declared``; the kernel - reads the same three from its prepared engines. ``mapped_entities`` is - the bindings' ``entity_names`` values, as the kernel passes them. + The closure, the mapping, the binding rows and ``mapped_entities`` (the + bindings' ``entity_names`` values) reach ``closure_partition`` as the + kernel passes them. Three arguments stand in for values the kernel takes + from its prepared engines and the module bytes: ``roots`` and + ``module_sha256`` come from the committed surface, and ``module_imports`` + from each binding's ``imports_declared``. The kernel also passes + ``entity_names`` and ``person_entity``; they matter only to relations and + to the frame-slice checks, and these bindings declare no relation. """ rows = bindings_payload["bindings"] @@ -108,6 +169,9 @@ def test_the_bindings_cover_the_twelve_child_modules(self) -> None: rows = _bindings_payload()["bindings"] assert len(rows) == MODULES assert len({row["id"] for row in rows}) == MODULES + assert {row["id"]: row["rulespec_path"] for row in rows} == { + binding: path for binding, (path, _) in BINDINGS.items() + } assert {row["rulespec_path"] for row in rows} == set(PER_MODULE) # The surface holds no other module with a root on Child. assert { @@ -254,12 +318,19 @@ def test_every_default_is_a_cited_proposal(self) -> None: ] assert len(defaults) == DEFAULTED assert closure.new_defaults() == tuple(defaults) - assert all(entry.reason and entry.citation for entry in defaults) + # ClosureEntry refuses an empty reason or citation; a stub is no better. + assert all(len(entry.reason) > 40 for entry in defaults) + assert all(len(entry.citation) > 20 for entry in defaults) assert "proposal" in payload["status"] assert "new_default" in payload["status"] def test_the_mapping_encodes_the_rest_by_person_role(self) -> None: closure = InputClosure.from_dict(_closure_payload()) + assert all( + binding.group_rule is GroupRule.PERSON_ROLE + for binding in MAPPING.bindings + if binding.ref.entity == LOGICAL_ENTITY + ) encoded = { entry.ref for entry in closure.entries @@ -290,27 +361,33 @@ def test_a_name_keeps_one_default_across_modules(self) -> None: ) assert {name: found for name, found in values.items() if len(found) > 1} == {} - def test_engine_line_citations_are_pinned_at_the_surface_engine(self) -> None: + def test_every_engine_line_citation_is_pinned_at_the_surface_engine(self) -> None: + # A line citation into axiom-rules-engine names one file version only + # when a pin records that file at input_surface.engine's commit. payload = _closure_payload() engine = payload["input_surface"]["engine"] assert engine["commit"] == SURFACE.engine_commit pins = payload["engine_source_pins"]["pins"] + pinned = {pin["path"] for pin in pins} assert all( pin["repository"] == engine["repository"] and pin["commit"] == engine["commit"] for pin in pins ) - evidence = payload["engine_optional_evidence"] - assert {pin["path"] for pin in pins} == { - path for path in (pin["path"] for pin in pins) if f"{path}:" in evidence - } + cited = set(re.findall(r"((?:[\w-]+/)*[\w-]+\.rs):\d", json.dumps(payload))) + assert cited, "the closure cites engine source lines" + assert cited <= pinned + assert pinned <= cited, "every pin is cited" class TestBindings: def test_each_binding_pins_its_module_as_the_surface_does(self) -> None: payload = _bindings_payload() assert payload["country"] == "be" - assert payload["entity_names"] == MAPPING.entity_correspondence + # The registry needs the unit entity too, once a benefit unit rule + # declares one (entity_names_note), so the mapping's two are a floor. + assert MAPPING.entity_correspondence.items() <= payload["entity_names"].items() + assert payload["entity_names_note"] for row in payload["bindings"]: module = SURFACE.modules[row["rulespec_path"]] assert module.status == "compiled" @@ -327,7 +404,11 @@ def test_each_binding_pins_its_module_as_the_surface_does(self) -> None: def test_each_binding_has_one_child_view_over_its_variables(self) -> None: payload = _bindings_payload() - structural = {"person_id", "household_id"} + # The columns the registry and the adapter refuse as a selector. + structural = {BE_SCHEMA.person_id_column} | { + BE_SCHEMA.membership_column(group) for group in BE_SCHEMA.group_entities + } + assert structural == {"person_id", "person_household_id"} for row in payload["bindings"]: assert binding_view_entities(row) == {LOGICAL_ENTITY} (view,) = row["views"] @@ -337,12 +418,23 @@ def test_each_binding_has_one_child_view_over_its_variables(self) -> None: variables = row["variables"] assert variables and len(variables) == len(set(variables)) assert set(view["outside"]) == set(variables) + # Outside the view a person gets no amount and no entitlement. + assert all( + value == 0 and not isinstance(value, bool) + for value in view["outside"].values() + ) + assert selector == BINDINGS[row["id"]][1] assert selector not in variables assert selector not in structural # A view input reads the person column of the same name, so a # selector must not shadow a root input either. module = SURFACE.modules[row["rulespec_path"]] assert selector not in module.inputs[LOGICAL_ENTITY] + # The selectors block describes each column in use and no other. + assert set(payload["selectors"]) == { + selector for _, selector in BINDINGS.values() + } + assert all(payload["selectors"].values()) def test_the_engine_pins_await_the_surface_refresh(self) -> None: engine = _bindings_payload()["engine"] @@ -350,12 +442,16 @@ def test_the_engine_pins_await_the_surface_refresh(self) -> None: assert engine["wheel_sha256"] is None assert engine["status"] - def test_the_rulespec_pin_holds_the_surface_bytes(self) -> None: - # The surface was generated at an ancestor of the pin; the bindings - # record that every bound module has the same bytes at both. + def test_the_rulespec_pin_names_the_surface_commit_it_was_checked_against( + self, + ) -> None: + # The surface was generated at an ancestor of the pin. While the two + # commits differ, the verification note must name the surface's, since + # the sha256 values above were compared at both. The byte check itself + # needs a rulespec-be tree, which this test doesn't have. payload = _bindings_payload() - assert payload["rulespec"]["commit"] != SURFACE.rulespec_commit - assert SURFACE.rulespec_commit in payload["rulespec"]["verification"] + if payload["rulespec"]["commit"] != SURFACE.rulespec_commit: + assert SURFACE.rulespec_commit in payload["rulespec"]["verification"] closure = _closure_payload() assert closure["rulespec_pin"]["commit"] == payload["rulespec"]["commit"] diff --git a/packages/microcosm-build/tests/engine_free/shared/test_be_target_references.py b/packages/microcosm-build/tests/engine_free/shared/test_be_target_references.py index fe8f5e5f13..f6114d96d8 100644 --- a/packages/microcosm-build/tests/engine_free/shared/test_be_target_references.py +++ b/packages/microcosm-build/tests/engine_free/shared/test_be_target_references.py @@ -2186,8 +2186,15 @@ def test_belgium_still_refuses_to_activate(): spec = load_transport_spec(_SPEC) with pytest.raises(ValueError, match="not activated") as error: validate_transport_activation(spec) - for missing in ("benefit_unit_rule.json", "axiom_rules_bindings.json"): + # The bindings resource exists now, so its null engine pins are the gaps. + for missing in ( + "benefit_unit_rule.json", + "axiom_rules_bindings.engine.commit", + "axiom_rules_bindings.engine.wheel_sha256", + "transport_graph.json", + ): assert missing in str(error.value) + assert "axiom_rules_bindings.json" not in str(error.value) # The pension surface rows are parked, so each is a named gap. for row in _rows("precal"): parked = row["metadata"]["activation_status"] != "active" diff --git a/packages/microcosm-build/tests/engine_free/shared/test_nz_spec_package.py b/packages/microcosm-build/tests/engine_free/shared/test_nz_spec_package.py index de8d9d59bf..acdb544243 100644 --- a/packages/microcosm-build/tests/engine_free/shared/test_nz_spec_package.py +++ b/packages/microcosm-build/tests/engine_free/shared/test_nz_spec_package.py @@ -1071,6 +1071,13 @@ def resolve_json_pointer(file: str, pointer: str) -> object: for candidate in _repository_files() if candidate == relative or candidate.endswith("/" + relative) } + if len(candidates) > 1: + # Another country's package may hold a resource of the same name + # (Belgium's axiom_input_closure.json). A name in an NZ document + # cites NZ's own file when NZ's package has one at that path. + own = (NZ_ROOT / relative).resolve() + if own in candidates: + candidates = {own} if len(candidates) != 1: raise ValueError(f"JSON citation needs one checkout file: {file}: {candidates}") (path,) = candidates diff --git a/packages/microcosm-build/tests/golden/be_country_spec.json b/packages/microcosm-build/tests/golden/be_country_spec.json index fad427625c..52765b815c 100644 --- a/packages/microcosm-build/tests/golden/be_country_spec.json +++ b/packages/microcosm-build/tests/golden/be_country_spec.json @@ -1,6 +1,6 @@ { "country": "be", - "fingerprint": "bcb3b9d084d61861181b22beac93ed5dc208b2051fe8f232239139f092f80c75", + "fingerprint": "5efaf47f2225b4cfa6d785f5f183088a39bf0169d6ba613e2b4328eb0ac55194", "gate_ids": [ "calibration_per_family_fit", "national_and_nuts1_admin_aggregates", @@ -29,8 +29,8 @@ "staging_repo": "policyengine/populace-be-staging" }, "resource_hashes": { - "axiom_input_closure.json": "f69bed4ef31bbd22ad006da6b1cfd94c6f5f5ba9eae819478c65999ca573dbda", - "axiom_rules_bindings.json": "79e7469534d2df704dbbad1e20ecec1cf87c6ffd8b3371330d9097ff67fa3987", + "axiom_input_closure.json": "a495dbbeebd6ee9aaf9b518a1d712871330631ee25c785b7be3dee370c7a3577", + "axiom_rules_bindings.json": "21f133ce2875d6454c96eb00fb8560b9ad590e1614c481c72fae2405608ac916", "chronicle_feed.json": "71f3967cefa12d8ad6c4b955547bfc37e33183ee839b3edf3a43e0cb72559030", "country_package.json": "204c8c06934160c856d86a9d6c5305d40e9b3a85713c11c3ab031bebb27fbe89", "gates.json": "6f5e7a633e965ce44ed074224003fa3a2197460089b774f7b6f0c43e04d5e5aa", From b81ac72c6a32921fb4376f11c2d745d205a69a8e Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Fri, 13 Nov 2026 11:03:44 -0500 Subject: [PATCH 3/6] Pin each binding's variables, and cite the method card by row From the second review of PR 4a: - test_be_axiom_input_closure.py pins each binding's requested variables in order and their outside values with their types: 0.0 for Money and 0 for a Count. The pinned engine gives a Count a decimal dtype, which takes either, and an integer 0 stays valid if a Count becomes an integer output, for which _outside_values refuses a float. The checks that hold without the table (non-empty, distinct variables; non-bool zero outside values) stay beside the pins. - A selector must not match any person__id name, since the registry's transport schema adds each unit's membership column to the adapter's structural set. The comment now says which set is which. - entity_names_note and the selector descriptions must be sentences, not stubs. - Eight reasons and the closure description cite METHOD-CARD-BE's row BE-MC0, not a line number, and the description says the method card sits outside this repository. No value or citation changes. Co-Authored-By: Claude Opus 5.5 --- .../build/be/axiom_input_closure.json | 18 ++--- .../shared/test_be_axiom_input_closure.py | 80 ++++++++++++++++--- .../tests/golden/be_country_spec.json | 4 +- 3 files changed, 80 insertions(+), 22 deletions(-) diff --git a/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json b/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json index 458b78f485..fd570445b0 100644 --- a/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json +++ b/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json @@ -2,7 +2,7 @@ "format": "microcosm.axiom_input_closure.v1", "country": "be", "content_basis": "transport", - "description": "The input closure covers the twelve rulespec-be family-benefit modules that axiom_rules_bindings.json binds. Each runs on the engine entity Child through a binding-local view. A person_role concept binding of the axiom:be mapping encodes 35 of their 277 Child root inputs (a child's age and enrolment facts), and the other 242 take explicit defaults, each with a reason and a citation. The axiom adapter omits an input the frame lacks, and the engine fails a request that reaches an absent input (engine_optional_evidence), so a run feeds every entry here. The routing bridge reads the four regional schemes' roots through its imports, and a view reads each root from the person column of the same name, so a name takes one default in every module that reads it. Nothing executes these modules yet: Belgium has no composed transport graph, and METHOD-CARD-BE reports child benefits as not modelled at level until indexed amounts are encoded.", + "description": "The input closure covers the twelve rulespec-be family-benefit modules that axiom_rules_bindings.json binds. Each runs on the engine entity Child through a binding-local view. A person_role concept binding of the axiom:be mapping encodes 35 of their 277 Child root inputs (a child's age and enrolment facts), and the other 242 take explicit defaults, each with a reason and a citation. The axiom adapter omits an input the frame lacks, and the engine fails a request that reaches an absent input (engine_optional_evidence), so a run feeds every entry here. The routing bridge reads the four regional schemes' roots through its imports, and a view reads each root from the person column of the same name, so a name takes one default in every module that reads it. Nothing executes these modules yet: Belgium has no composed transport graph, and METHOD-CARD-BE's row BE-MC0 reports child benefits as not modelled at level until indexed amounts are encoded. METHOD-CARD-BE is the Belgium port's method card, the document Max rules on; it is kept with the port's notes, outside this repository.", "status": "awaiting Max's METHOD-CARD-BE ruling: every default is a proposal (new_default true)", "work_package": "PR 4a (Child bindings and input closure); PR 4b adds the graph that runs them", "mapping": { @@ -446,7 +446,7 @@ "input": "german_speaking_community_family_benefits_current_index_factor", "class": "defaulted", "value": 1.0, - "reason": "A factor of 1 keeps amounts at their 2019 statutory level; METHOD-CARD-BE line 26 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit year 2026 the rule does not use this factor, because the 2025-2027 freeze selects pre_2025_index_factor.", + "reason": "A factor of 1 keeps amounts at their 2019 statutory level; METHOD-CARD-BE's row BE-MC0 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit year 2026 the rule does not use this factor, because the 2025-2027 freeze selects pre_2025_index_factor.", "citation": "German-speaking Community family-benefits decree article 38 and program decree of 22 December 2025 article 17 (german_speaking_community_family_benefits_indexed_amount_factor); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -506,7 +506,7 @@ "input": "german_speaking_community_family_benefits_pre_2025_index_factor", "class": "defaulted", "value": 1.0, - "reason": "A factor of 1 keeps amounts at their 2019 statutory level (157 EUR base); METHOD-CARD-BE line 26 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit years 2025 to 2027 the freeze makes this the factor every amount multiplies by, except the 2025 annual supplement of 62.55 EUR, which takes no factor. An official value with a source would lift that caveat for this scheme.", + "reason": "A factor of 1 keeps amounts at their 2019 statutory level (157 EUR base); METHOD-CARD-BE's row BE-MC0 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit years 2025 to 2027 the freeze makes this the factor every amount multiplies by, except the 2025 annual supplement of 62.55 EUR, which takes no factor. An official value with a source would lift that caveat for this scheme.", "citation": "German-speaking Community family-benefits decree article 38 and program decree of 22 December 2025 article 17 (german_speaking_community_family_benefits_indexed_amount_factor); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -670,7 +670,7 @@ "input": "german_speaking_community_family_benefits_current_index_factor", "class": "defaulted", "value": 1.0, - "reason": "A factor of 1 keeps amounts at their 2019 statutory level; METHOD-CARD-BE line 26 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit year 2026 the rule does not use this factor, because the 2025-2027 freeze selects pre_2025_index_factor.", + "reason": "A factor of 1 keeps amounts at their 2019 statutory level; METHOD-CARD-BE's row BE-MC0 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit year 2026 the rule does not use this factor, because the 2025-2027 freeze selects pre_2025_index_factor.", "citation": "German-speaking Community family-benefits decree article 38 and program decree of 22 December 2025 article 17 (german_speaking_community_family_benefits_indexed_amount_factor); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -810,7 +810,7 @@ "input": "german_speaking_community_family_benefits_pre_2025_index_factor", "class": "defaulted", "value": 1.0, - "reason": "A factor of 1 keeps amounts at their 2019 statutory level (157 EUR base); METHOD-CARD-BE line 26 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit years 2025 to 2027 the freeze makes this the factor every amount multiplies by, except the 2025 annual supplement of 62.55 EUR, which takes no factor. An official value with a source would lift that caveat for this scheme.", + "reason": "A factor of 1 keeps amounts at their 2019 statutory level (157 EUR base); METHOD-CARD-BE's row BE-MC0 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit years 2025 to 2027 the freeze makes this the factor every amount multiplies by, except the 2025 annual supplement of 62.55 EUR, which takes no factor. An official value with a source would lift that caveat for this scheme.", "citation": "German-speaking Community family-benefits decree article 38 and program decree of 22 December 2025 article 17 (german_speaking_community_family_benefits_indexed_amount_factor); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -1647,7 +1647,7 @@ "input": "belgium_lgaf_current_index_multiplier", "class": "defaulted", "value": 1.0, - "reason": "The multiplier scales the monthly amount, the annual age supplement, the birth allowance and the adoption premium. The module encodes no current index value, so 1 keeps every amount at its statutory base; METHOD-CARD-BE reports child benefits as not modelled at level until indexed amounts are encoded.", + "reason": "The multiplier scales the monthly amount, the annual age supplement, the birth allowance and the adoption premium. The module encodes no current index value, so 1 keeps every amount at its statutory base; METHOD-CARD-BE's row BE-MC0 reports child benefits as not modelled at level until indexed amounts are encoded.", "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 76bis (belgium_lgaf_selected_monthly_indexed_amount, belgium_lgaf_article_44ter_annual_age_supplement_indexed_amount, belgium_lgaf_article_73bis_birth_allowance_indexed_amount; belgium_lgaf_article_73quater_adoption_premium_indexed_amount cites articles 73quater and 76bis); corpus_citation_path be/statute/loi/1939/12/19/1939121901/article/76bis, which the parameter belgium_lgaf_index_pivot_1996_base_100 records (the reading rules record none)", "new_default": true }, @@ -1657,7 +1657,7 @@ "input": "belgium_lgaf_current_revaluation_coefficient", "class": "defaulted", "value": 1.0, - "reason": "The coefficient multiplies the same four amounts as the index multiplier. The module encodes no current revaluation value, so 1 leaves the amounts unrevalued, in line with METHOD-CARD-BE's caveat that child benefits are not modelled at level.", + "reason": "The coefficient multiplies the same four amounts as the index multiplier. The module encodes no current revaluation value, so 1 leaves the amounts unrevalued, in line with the caveat in METHOD-CARD-BE's row BE-MC0 that child benefits are not modelled at level.", "citation": "LGAF (Loi g\u00e9n\u00e9rale relative aux allocations familiales, 19 December 1939) article 76bis (belgium_lgaf_selected_monthly_indexed_amount, belgium_lgaf_article_44ter_annual_age_supplement_indexed_amount, belgium_lgaf_article_73bis_birth_allowance_indexed_amount; belgium_lgaf_article_73quater_adoption_premium_indexed_amount cites articles 73quater and 76bis); corpus_citation_path be/statute/loi/1939/12/19/1939121901/article/76bis, which the parameter belgium_lgaf_index_pivot_1996_base_100 records (the reading rules record none)", "new_default": true }, @@ -2273,7 +2273,7 @@ "input": "german_speaking_community_family_benefits_current_index_factor", "class": "defaulted", "value": 1.0, - "reason": "A factor of 1 keeps amounts at their 2019 statutory level; METHOD-CARD-BE line 26 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit year 2026 the rule does not use this factor, because the 2025-2027 freeze selects pre_2025_index_factor.", + "reason": "A factor of 1 keeps amounts at their 2019 statutory level; METHOD-CARD-BE's row BE-MC0 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit year 2026 the rule does not use this factor, because the 2025-2027 freeze selects pre_2025_index_factor.", "citation": "German-speaking Community family-benefits decree article 38 and program decree of 22 December 2025 article 17 (german_speaking_community_family_benefits_indexed_amount_factor); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -2413,7 +2413,7 @@ "input": "german_speaking_community_family_benefits_pre_2025_index_factor", "class": "defaulted", "value": 1.0, - "reason": "A factor of 1 keeps amounts at their 2019 statutory level (157 EUR base); METHOD-CARD-BE line 26 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit years 2025 to 2027 the freeze makes this the factor every amount multiplies by, except the 2025 annual supplement of 62.55 EUR, which takes no factor. An official value with a source would lift that caveat for this scheme.", + "reason": "A factor of 1 keeps amounts at their 2019 statutory level (157 EUR base); METHOD-CARD-BE's row BE-MC0 reports child benefits as not modelled at level until RuleSpec encodes indexed amounts. For benefit years 2025 to 2027 the freeze makes this the factor every amount multiplies by, except the 2025 annual supplement of 62.55 EUR, which takes no factor. An official value with a source would lift that caveat for this scheme.", "citation": "German-speaking Community family-benefits decree article 38 and program decree of 22 December 2025 article 17 (german_speaking_community_family_benefits_indexed_amount_factor); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, diff --git a/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py b/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py index 821c3a3752..680aff8017 100644 --- a/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py +++ b/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py @@ -66,58 +66,103 @@ "be/statutes/family_benefits/regional_routing.yaml": (107, 12, 95), } -#: Each binding's module and the selector column of its Child view. A -#: selector keeps other regions' residents out of a scheme, and the closure's -#: domicile defaults rely on that, so the pairing is pinned here: neither the -#: registry nor the adapter refuses a scheme that runs behind another's column. +#: Each binding's module, the selector column of its Child view, and the +#: variables it requests with their outside values. A selector keeps other +#: regions' residents out of a scheme, and the closure's domicile defaults +#: rely on that: neither the registry nor the adapter refuses a scheme that +#: runs behind another's column. The variables are the choice each binding's +#: notes state, and an outside value keeps its output's type: 0.0 for Money and +#: 0 for a Count. The pinned engine gives a Count a decimal dtype, which takes +#: either, but ``_outside_values`` refuses a float for an integer output, so an +#: integer 0 stays valid if a Count becomes one (the bindings' views_note). BINDINGS = { "brussels_family_benefits_basic_amounts": ( "be-bru/statutes/family_benefits/basic_amounts.yaml", "brussels_family_benefits_child_candidate", + { + "brussels_family_benefits_article_7_base_monthly_amount": 0.0, + }, ), "brussels_family_benefits_eligibility": ( "be-bru/statutes/family_benefits/eligibility.yaml", "brussels_family_benefits_child_candidate", + { + "brussels_family_benefits_eligible_monthly_amount": 0.0, + "brussels_family_benefits_child_entitlement": 0, + }, ), "brussels_family_benefits_selected_amount": ( "be-bru/statutes/family_benefits/selected_amount.yaml", "brussels_family_benefits_child_candidate", + { + "brussels_family_benefits_selected_monthly_amount": 0.0, + }, ), "brussels_family_benefits_social_supplements": ( "be-bru/statutes/family_benefits/social_supplements.yaml", "brussels_family_benefits_child_candidate", + { + "brussels_family_benefits_article_9_social_supplement_monthly_amount": 0.0, + }, ), "german_speaking_community_family_benefits_amounts": ( "be-dg/statutes/family_benefits/amounts.yaml", "german_speaking_community_family_benefits_child_candidate", + { + "german_speaking_community_family_benefits_selected_monthly_amount": 0.0, + }, ), "german_speaking_community_family_benefits_eligibility": ( "be-dg/statutes/family_benefits/eligibility.yaml", "german_speaking_community_family_benefits_child_candidate", + { + "german_speaking_community_family_benefits_eligible_monthly_amount": 0.0, + "german_speaking_community_family_benefits_statutory_base_entitlement": 0, + }, ), "flanders_family_benefits_amounts": ( "be-vlg/statutes/family_benefits/amounts.yaml", "flanders_family_benefits_child_candidate", + { + "flanders_family_benefits_selected_monthly_amount": 0.0, + }, ), "flanders_family_benefits_eligibility": ( "be-vlg/statutes/family_benefits/eligibility.yaml", "flanders_family_benefits_child_candidate", + { + "flanders_family_benefits_eligible_monthly_amount": 0.0, + "flanders_family_benefits_child_entitlement": 0, + }, ), "wallonia_family_benefits_amounts": ( "be-wal/statutes/family_benefits/amounts.yaml", "wallonia_family_benefits_child_candidate", + { + "wallonia_family_benefits_selected_monthly_amount": 0.0, + }, ), "wallonia_family_benefits_eligibility": ( "be-wal/statutes/family_benefits/eligibility.yaml", "wallonia_family_benefits_child_candidate", + { + "wallonia_family_benefits_eligible_monthly_amount": 0.0, + "wallonia_family_benefits_child_entitlement": 0, + }, ), "belgium_lgaf_amounts": ( "be/statutes/family_benefits/lgaf_amounts.yaml", "belgium_lgaf_child_candidate", + { + "belgium_lgaf_selected_monthly_indexed_amount": 0.0, + }, ), "belgium_family_benefits_regional_routing": ( "be/statutes/family_benefits/regional_routing.yaml", "belgium_family_benefits_child_candidate", + { + "belgium_family_benefits_eligibility_gated_monthly_amount": 0.0, + }, ), } @@ -170,7 +215,7 @@ def test_the_bindings_cover_the_twelve_child_modules(self) -> None: assert len(rows) == MODULES assert len({row["id"] for row in rows}) == MODULES assert {row["id"]: row["rulespec_path"] for row in rows} == { - binding: path for binding, (path, _) in BINDINGS.items() + binding: path for binding, (path, _, _) in BINDINGS.items() } assert {row["rulespec_path"] for row in rows} == set(PER_MODULE) # The surface holds no other module with a root on Child. @@ -387,7 +432,7 @@ def test_each_binding_pins_its_module_as_the_surface_does(self) -> None: # The registry needs the unit entity too, once a benefit unit rule # declares one (entity_names_note), so the mapping's two are a floor. assert MAPPING.entity_correspondence.items() <= payload["entity_names"].items() - assert payload["entity_names_note"] + assert len(payload["entity_names_note"]) > 40 for row in payload["bindings"]: module = SURFACE.modules[row["rulespec_path"]] assert module.status == "compiled" @@ -404,11 +449,15 @@ def test_each_binding_pins_its_module_as_the_surface_does(self) -> None: def test_each_binding_has_one_child_view_over_its_variables(self) -> None: payload = _bindings_payload() - # The columns the registry and the adapter refuse as a selector. + # The adapter's default schema refuses its structural columns as a + # selector. The registry's transport schema adds the membership column + # of each unit a benefit unit rule declares, so a selector also avoids + # every person__id name, whatever the unit is called. structural = {BE_SCHEMA.person_id_column} | { BE_SCHEMA.membership_column(group) for group in BE_SCHEMA.group_entities } assert structural == {"person_id", "person_household_id"} + membership = re.compile(r"person(?:_\w+)?_id") for row in payload["bindings"]: assert binding_view_entities(row) == {LOGICAL_ENTITY} (view,) = row["views"] @@ -416,25 +465,34 @@ def test_each_binding_has_one_child_view_over_its_variables(self) -> None: assert set(view["selector"]) == {"column"} selector = view["selector"]["column"] variables = row["variables"] + _, expected_selector, expected_outside = BINDINGS[row["id"]] assert variables and len(variables) == len(set(variables)) + assert variables == list(expected_outside) assert set(view["outside"]) == set(variables) - # Outside the view a person gets no amount and no entitlement. + # Outside the view a person gets no amount and no entitlement... assert all( value == 0 and not isinstance(value, bool) for value in view["outside"].values() ) - assert selector == BINDINGS[row["id"]][1] + # ...as a value of the output's own type. + assert { + name: (type(value), value) for name, value in view["outside"].items() + } == { + name: (type(value), value) for name, value in expected_outside.items() + } + assert selector == expected_selector assert selector not in variables assert selector not in structural + assert not membership.fullmatch(selector) # A view input reads the person column of the same name, so a # selector must not shadow a root input either. module = SURFACE.modules[row["rulespec_path"]] assert selector not in module.inputs[LOGICAL_ENTITY] # The selectors block describes each column in use and no other. assert set(payload["selectors"]) == { - selector for _, selector in BINDINGS.values() + selector for _, selector, _ in BINDINGS.values() } - assert all(payload["selectors"].values()) + assert all(len(text) > 40 for text in payload["selectors"].values()) def test_the_engine_pins_await_the_surface_refresh(self) -> None: engine = _bindings_payload()["engine"] diff --git a/packages/microcosm-build/tests/golden/be_country_spec.json b/packages/microcosm-build/tests/golden/be_country_spec.json index 52765b815c..6d27c11a57 100644 --- a/packages/microcosm-build/tests/golden/be_country_spec.json +++ b/packages/microcosm-build/tests/golden/be_country_spec.json @@ -1,6 +1,6 @@ { "country": "be", - "fingerprint": "5efaf47f2225b4cfa6d785f5f183088a39bf0169d6ba613e2b4328eb0ac55194", + "fingerprint": "8c7c8f9416daedc5dc30b532316587d979e96c01df26e7d2dcb051327ec37def", "gate_ids": [ "calibration_per_family_fit", "national_and_nuts1_admin_aggregates", @@ -29,7 +29,7 @@ "staging_repo": "policyengine/populace-be-staging" }, "resource_hashes": { - "axiom_input_closure.json": "a495dbbeebd6ee9aaf9b518a1d712871330631ee25c785b7be3dee370c7a3577", + "axiom_input_closure.json": "53188dfc831f2e607e74b79e60bac9a8f264aaf28d407e56d49972633af8e52b", "axiom_rules_bindings.json": "21f133ce2875d6454c96eb00fb8560b9ad590e1614c481c72fae2405608ac916", "chronicle_feed.json": "71f3967cefa12d8ad6c4b955547bfc37e33183ee839b3edf3a43e0cb72559030", "country_package.json": "204c8c06934160c856d86a9d6c5305d40e9b3a85713c11c3ab031bebb27fbe89", From e06835639084d7c6549b246725d2840bef7ec640 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 19:49:59 -0500 Subject: [PATCH 4/6] Answer PR 4a's first independent review The Subfleet hard-tier review (job 20261113-130631-be-pr4a-review-sf) approved b81ac72c6 with four P2 and seven P3 findings. This takes all of them, plus the points six checking agents raised on the fixes. - The routing bridge's region code defaults to 99, outside 0 to 3, so the bridge routes no child until a node supplies each child's code. The bridge selector text, five routing copies' reasons and a new direction rule say so, and a test pins the code outside 0 to 3. - The German-speaking Article 10 extension is shut through article_10_extension_months_used = 12, with no_current_article_9_entitlement = true, the flag's value wherever it can change the rule. - The LGAF texts speak of the one requested variable, the monthly total. - NZ's test file gains the resolver tie-break test, whose bytes NZ OK'd. - Eight more names' reasons and two direction rules are reworded to claim no more than the rules at rulespec-be 632e1da1 support. - The golden follows the closure and bindings. Co-Authored-By: Claude Opus 5.5 --- .../build/be/axiom_input_closure.json | 78 ++++++++++--------- .../build/be/axiom_rules_bindings.json | 6 +- .../shared/test_be_axiom_input_closure.py | 11 +++ .../shared/test_nz_spec_package.py | 26 +++++++ .../tests/golden/be_country_spec.json | 6 +- 5 files changed, 83 insertions(+), 44 deletions(-) diff --git a/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json b/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json index fd570445b0..5e48b54a87 100644 --- a/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json +++ b/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json @@ -40,8 +40,10 @@ "A status that grants a supplement or an increase defaults to not held, which gives a lower bound on spending.", "A condition the law requires for any benefit (residence, nationality or an equivalent title, domicile in the scheme's region) defaults to held, for the children the scheme's selector admits.", "An index or revaluation factor defaults to 1, which keeps amounts at their unindexed nominal level.", - "A rare status that removes or suspends entitlement (abduction, disappearance, an exclusion) defaults to not held.", - "A count, rank, income or period fact that a later graph node is to derive takes the value that pays the base benefit with no supplement, and its reason names the node that replaces it." + "A rare status that removes entitlement or keeps it open (an exclusion, abduction, disappearance) defaults to not held.", + "A count, rank, income or period fact that a later graph node is to derive takes the value that pays the base benefit with no supplement or extension, and its reason names the node that replaces it.", + "The routing bridge's region code defaults to a code outside the four regions, so the bridge pays nothing until a node supplies each child's code. Until then no routing copy of a regional scheme's default changes the bridge's result; most copies keep the reason of the regional module they repeat.", + "A flag whose value is fixed wherever its one reader can change a result takes that value, and its reason shows why (the German-speaking no_current_article_9_entitlement, true)." ], "engine_optional_evidence": "The axiom-rules-engine commit named in input_surface.engine (the engine that generated the committed input surface) gives these modules no optional inputs. A RuleSpec document holds no inputs section at that commit (RulesDocument, src/rulespec.rs:361-374), and none of the twelve modules carries a top-level inputs key at the pin. The engine rejects a rule-level default (RuleSpecError::UnsupportedDefault, src/rulespec.rs:91-94 and src/rulespec.rs:2411-2418), and the dense batch call collects only the inputs the caller supplies (python-ext/src/lib.rs:458-466). A plain read of an absent input fails every row whose evaluation reaches it with EvalError::MissingInput (src/dense.rs:2790-2803). The internal input_or_else node that would read a default (src/dense.rs:2805-2811) never comes from RuleSpec text: formula lowering turns a name that no parameter or rule defines into a plain input read (src/formula.rs:1400-1413), and src/formula.rs names no input_or_else node. So no root input of these modules can be verified engine-optional, and this closure classes none as such: it defaults, with a reason, every input the mapping doesn't encode.", "engine_source_pins": { @@ -100,7 +102,7 @@ "input": "brussels_family_benefits_single_child_without_article_8_9_or_12_supplement", "class": "defaulted", "value": true, - "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150. That is a lower bound at ages 0 to 24, where article 7(b) pays 150, 160 or 170, but the rule tests the flag before its over-24 test, so this ungated amount pays 150 above 24 as well and only eligibility.yaml's gated amount drops those children. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", + "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150. That is a lower bound at ages 0 to 24, where article 7(b) pays 150, 160 or 170, but the rule tests the flag before its over-24 test, so this ungated amount pays 150 above 24 as well and only eligibility.yaml's gated amount drops those children. While the flag holds, the rule never reaches article 7(b)'s branches, so the encoded brussels_family_benefits_child_enrolled_in_higher_education changes no amount yet. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 7 (brussels_family_benefits_article_7_base_monthly_amount, basic_amounts.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/7", "new_default": true }, @@ -231,7 +233,7 @@ "input": "brussels_family_benefits_single_child_without_article_8_9_or_12_supplement", "class": "defaulted", "value": true, - "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150 at every age. That gives a lower bound, since article 7(b) pays 150, 160 or 170 by age and enrolment. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", + "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150 at every age. That gives a lower bound, since article 7(b) pays 150, 160 or 170 by age and enrolment. While the flag holds, basic_amounts.yaml's article 7 rule never reaches article 7(b)'s branches, so the encoded brussels_family_benefits_child_enrolled_in_higher_education changes no amount yet. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 7 (brussels_family_benefits_article_7_base_monthly_amount, basic_amounts.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/7", "new_default": true }, @@ -302,7 +304,7 @@ "input": "brussels_family_benefits_single_child_without_article_8_9_or_12_supplement", "class": "defaulted", "value": true, - "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150. That is a lower bound at ages 0 to 24, where article 7(b) pays 150, 160 or 170, but the rule tests the flag before its over-24 test, so this ungated amount pays 150 above 24 as well and only eligibility.yaml's gated amount drops those children. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", + "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150. That is a lower bound at ages 0 to 24, where article 7(b) pays 150, 160 or 170, but the rule tests the flag before its over-24 test, so this ungated amount pays 150 above 24 as well and only eligibility.yaml's gated amount drops those children. While the flag holds, the rule never reaches article 7(b)'s branches, so the encoded brussels_family_benefits_child_enrolled_in_higher_education changes no amount yet. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 7 (brussels_family_benefits_article_7_base_monthly_amount, basic_amounts.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/7", "new_default": true }, @@ -416,7 +418,7 @@ "input": "german_speaking_community_family_benefits_benefit_year", "class": "defaulted", "value": 2026, - "reason": "The benefit year is the query year, which METHOD-CARD-BE BE-MC0 sets at 2026. With 2026 the 2025-2027 indexation freeze applies and the annual supplement takes the Article 15 amount, not the 2025 override of 62.55 EUR. The query-period node will replace the constant, which must move with the policy year.", + "reason": "The benefit year is the query year, which METHOD-CARD-BE's row BE-MC0 proposes as 2026, pending a ruling. With 2026 the 2025-2027 indexation freeze applies and the annual supplement takes the Article 15 amount, not the 2025 override of 62.55 EUR. The query-period node will replace the constant, which must move with the policy year.", "citation": "German-speaking Community program decree of 22 December 2025, article 17 amending article 117.3 (german_speaking_community_family_benefits_indexation_freeze_applies), corpus_citation_path be-dg/statute/moniteur/decret-2025-12-22/2026001207/program-decree-2025-ii-family-benefits/block-1 (recorded by the parameter rules german_speaking_community_family_benefits_indexation_freeze_start_year and _end_year); German-speaking Community decree of 23 April 2018 on family benefits, articles 15, 16 and 38, and 22 December 2025 program decree article 18 (german_speaking_community_family_benefits_annual_supplement_amount)", "new_default": true }, @@ -436,7 +438,7 @@ "input": "german_speaking_community_family_benefits_child_has_base_entitlement", "class": "defaulted", "value": true, - "reason": "The base amount and the five monthly supplements in the amounts module pay only when this flag holds, and no rule ties it to the eligibility module, which decides entitlement and gates the selected amount itself. The default holds the flag so the eligibility gate alone decides which child the scheme pays; false would pay no monthly amount to any child.", + "reason": "The base amount and the five monthly supplements in the amounts module pay only when this flag holds, and no rule ties it to the eligibility module, which decides entitlement and gates the selected amount itself. The default holds the flag so the eligibility gate alone decides which child the eligibility-gated amount pays; false would pay no monthly amount to any child. The ungated selected amount, which the amounts binding requests as a component, pays the base to every child its selector admits.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 8 and 38 (german_speaking_community_family_benefits_base_monthly_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -555,8 +557,8 @@ "entity": "Child", "input": "german_speaking_community_family_benefits_article_10_extension_months_used", "class": "defaulted", - "value": 0, - "reason": "No concept counts the months a young adult has drawn under the Article 10 extension, so the default sets none used. The extension path stays shut through no_current_article_9_entitlement, which defaults to false; this value alone would leave it open (0 < 12).", + "value": 12, + "reason": "No concept counts the months a young adult has drawn under the Article 10 extension. The default treats all 12 as drawn, so the extension branch (be-dg eligibility.yaml line 98) stays shut, since 12 < 12 is false, whatever no_current_article_9_entitlement says: a child of 18 to 24 who is not in training gets nothing, a lower bound. A node that counts the months drawn should replace it.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit it is compared with, german_speaking_community_family_benefits_article_10_extension_months (12), is sourced to 'German-speaking Community family-benefits decree article 10'", "new_default": true }, @@ -566,7 +568,7 @@ "input": "german_speaking_community_family_benefits_benefit_year", "class": "defaulted", "value": 2026, - "reason": "The benefit year is the query year, which METHOD-CARD-BE BE-MC0 sets at 2026. With 2026 the 2025-2027 indexation freeze applies and the annual supplement takes the Article 15 amount, not the 2025 override of 62.55 EUR. The query-period node will replace the constant, which must move with the policy year.", + "reason": "The benefit year is the query year, which METHOD-CARD-BE's row BE-MC0 proposes as 2026, pending a ruling. With 2026 the 2025-2027 indexation freeze applies and the annual supplement takes the Article 15 amount, not the 2025 override of 62.55 EUR. The query-period node will replace the constant, which must move with the policy year.", "citation": "German-speaking Community program decree of 22 December 2025, article 17 amending article 117.3 (german_speaking_community_family_benefits_indexation_freeze_applies), corpus_citation_path be-dg/statute/moniteur/decret-2025-12-22/2026001207/program-decree-2025-ii-family-benefits/block-1 (recorded by the parameter rules german_speaking_community_family_benefits_indexation_freeze_start_year and _end_year); German-speaking Community decree of 23 April 2018 on family benefits, articles 15, 16 and 38, and 22 December 2025 program decree article 18 (german_speaking_community_family_benefits_annual_supplement_amount)", "new_default": true }, @@ -586,7 +588,7 @@ "input": "german_speaking_community_family_benefits_child_abducted", "class": "defaulted", "value": false, - "reason": "No concept observes abduction, a rare status. The abducted-child path needs age under 18 (line 117), where the age test at line 89 already holds, and line 130 joins the two with 'or', so the flag cannot change statutory_base_entitlement.", + "reason": "No concept observes abduction, a rare status. The abducted-child path needs age under 18 (be-dg eligibility.yaml line 117), where the age test at line 89 of that file already holds, and its line 130 joins the two with 'or', so the flag cannot change statutory_base_entitlement.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -603,7 +605,7 @@ "input": "german_speaking_community_family_benefits_child_disappeared", "class": "defaulted", "value": false, - "reason": "No concept observes a disappeared child, a rare status. The rule uses it only to keep entitlement open for up to 60 months as an alternative to the age test (line 130 joins the two with 'or'), so false removes no child's benefit.", + "reason": "No concept observes a disappeared child, a rare status. The rule uses it only to keep entitlement open for up to 60 months as an alternative to the age test (be-dg eligibility.yaml line 130 joins the two with 'or'), so false leaves out only a disappeared child of 18 to 24 whom no other branch admits (line 112 keeps such a child entitled up to age 25): a lower bound.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -623,7 +625,7 @@ "input": "german_speaking_community_family_benefits_child_has_base_entitlement", "class": "defaulted", "value": true, - "reason": "The base amount and the five monthly supplements in the amounts module pay only when this flag holds, and no rule ties it to the eligibility module, which decides entitlement and gates the selected amount itself. The default holds the flag so the eligibility gate alone decides which child the scheme pays; false would pay no monthly amount to any child.", + "reason": "The base amount and the five monthly supplements in the amounts module pay only when this flag holds, and no rule ties it to the eligibility module, which decides entitlement and gates the selected amount itself. The default holds the flag so the eligibility gate alone decides which child the eligibility-gated amount pays; false would pay no monthly amount to any child. The ungated selected amount, which the amounts binding requests as a component, pays the base to every child its selector admits.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 8 and 38 (german_speaking_community_family_benefits_base_monthly_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -720,7 +722,7 @@ "input": "german_speaking_community_family_benefits_government_residence_condition_deemed_met", "class": "defaulted", "value": false, - "reason": "The rule lets this flag stand in for domicile (line 70 joins the two with 'or'), and the module leaves the delegated residence rules as a supplied input. The domicile default (true) already meets Article 6, so the default grants no derogation.", + "reason": "The rule lets this flag stand in for domicile (be-dg eligibility.yaml line 70 joins the two with 'or'), and the module leaves the delegated residence rules as a supplied input. The domicile default (true) already meets Article 6, so the default grants no derogation.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, article 6 (german_speaking_community_family_benefits_article_6_residence_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -799,8 +801,8 @@ "entity": "Child", "input": "german_speaking_community_family_benefits_no_current_article_9_entitlement", "class": "defaulted", - "value": false, - "reason": "This flag opens the 12-month Article 10 extension for a young adult whose Article 9 entitlement has lapsed. No concept dates the lapse, so the default keeps the extension shut: a child of 18 to 24 who is not in training gets nothing, a lower bound.", + "value": true, + "reason": "Only the Article 10 extension branch reads this flag (be-dg eligibility.yaml line 98). The flag can change that branch only for a child of 18 to 24 who has failed the age, disability and training tests above it (lines 89, 92 and 95 of that file) and whose work suspends nothing. That child meets none of Article 9's conditions, so true is the flag's value there. A child in training whose work suspends entitlement also reaches line 98, but the line's own employment test shuts it whatever the flag says. The extension stays shut through article_10_extension_months_used, defaulted to 12.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit in the same test, german_speaking_community_family_benefits_article_10_extension_months (12), is sourced to 'German-speaking Community family-benefits decree article 10'", "new_default": true }, @@ -847,7 +849,7 @@ "input": "flanders_family_benefits_equal_shared_housing", "class": "defaulted", "value": false, - "reason": "The mapping carries no fact on how separated parents share a child's housing. False pays the article 18 supplement whole in the child's family, and it changes nothing while the income default keeps that supplement at zero. A W3 household-composition node should replace it.", + "reason": "The mapping carries no fact on how separated parents share a child's housing. False pays the article 18 supplement whole in the child's family, the upper choice, since true halves it (be-vlg amounts.yaml lines 550-552 multiply it by flanders_family_benefits_social_supplement_monthly_amount_scalar_limit, 0.5), and it changes nothing while the income default keeps that supplement at zero. A W3 household-composition node should replace it.", "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the halving parameter the rule reads (flanders_family_benefits_social_supplement_monthly_amount_scalar_limit), not on the rule", "new_default": true }, @@ -1051,7 +1053,7 @@ "input": "flanders_family_benefits_equal_shared_housing", "class": "defaulted", "value": false, - "reason": "The mapping carries no fact on how separated parents share a child's housing. False pays the article 18 supplement whole in the child's family, and it changes nothing while the income default keeps that supplement at zero. A W3 household-composition node should replace it.", + "reason": "The mapping carries no fact on how separated parents share a child's housing. False pays the article 18 supplement whole in the child's family, the upper choice, since true halves it (be-vlg amounts.yaml lines 550-552 multiply it by flanders_family_benefits_social_supplement_monthly_amount_scalar_limit, 0.5), and it changes nothing while the income default keeps that supplement at zero. A W3 household-composition node should replace it.", "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the halving parameter the rule reads (flanders_family_benefits_social_supplement_monthly_amount_scalar_limit), not on the rule", "new_default": true }, @@ -1313,7 +1315,7 @@ "input": "wallonia_family_benefits_child_in_qualifying_diploma_training", "class": "defaulted", "value": false, - "reason": "The enrolment concept feeds child_in_qualifying_courses_or_stage, and no concept binding separately records diploma training. Off, so this route into the 21-to-24 window stays closed: a lower bound on spending.", + "reason": "No concept binding records diploma training separately. False closes this route into the 21-to-24 window only for a child whom the enrolment fact behind wallonia_family_benefits_child_in_qualifying_courses_or_stage doesn't count, since be-wal eligibility.yaml line 110 joins the two with 'or': a lower bound.", "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", "new_default": true }, @@ -1716,8 +1718,8 @@ "entity": "Child", "input": "belgium_family_benefits_region", "class": "defaulted", - "value": 0, - "reason": "The code picks the regional scheme whose amount the bridge returns: 0 Flanders, 1 Brussels, 2 Wallonia, 3 the German-speaking Community, and any other value returns 0. One constant can describe one region's children only, so 0 holds only while the bridge's selector admits children domiciled in the Dutch language region; a W3 region node from NIS geography will replace it with each child's own code.", + "value": 99, + "reason": "The code picks the regional scheme whose amount the bridge returns: 0 Flanders, 1 Brussels, 2 Wallonia, 3 the German-speaking Community, and any other value returns 0. One constant can't give each child its own region, so the default is 99, the out-of-range code the module's tests use: the bridge returns 0 for every child under any selector, a lower bound that also keeps the bridge from paying a child whom a regional binding already pays. A W3 region node from NIS geography will replace it with each child's own code.", "citation": "No legal article: the reading rules give their source as 'Regional and community bridge over encoded Belgian family-benefit amount rules' (belgium_family_benefits_selected_monthly_amount) and 'Regional and community bridge over encoded Belgian family-benefit eligibility-gated amount rules' (belgium_family_benefits_eligibility_gated_monthly_amount), and the four code parameters are 'Structural selector' rules. Module-level corpus_citation_path: be-bru/statute/ordonnance/2019/04/25/2019012118/article/4 (the reading rules record none)", "new_default": true }, @@ -1751,7 +1753,7 @@ "input": "brussels_family_benefits_child_domiciled_in_brussels_capital_region", "class": "defaulted", "value": true, - "reason": "Article 4, 1\u00b0 requires the child's domicile in the bilingual Brussels-Capital Region. A selector column will admit to this scheme only children domiciled there, so the default describes every child the scheme evaluates. W3's region derivation from NIS geography will supply that selector and replace the default.", + "reason": "Article 4, 1\u00b0 requires the child's domicile in the bilingual Brussels-Capital Region. In the routing bridge the Brussels amounts reach a child only through belgium_family_benefits_region, whose default (99) routes no child, so this default changes no result yet. W3's region derivation from NIS geography, which should route to Brussels only children domiciled there, should replace both.", "citation": "Brussels family-benefits ordinance article 4, with Article 25 age/status gate (brussels_family_benefits_child_entitlement, eligibility.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/4", "new_default": true }, @@ -1768,7 +1770,7 @@ "input": "brussels_family_benefits_child_has_belgian_nationality", "class": "defaulted", "value": true, - "reason": "Article 4, 2\u00b0 requires a Belgian child or a foreign child who holds a residence title. No concept binding supplies nationality, and a selector column will admit only children domiciled in Brussels, so the default treats each of them as meeting the condition through this leg.", + "reason": "Article 4, 2\u00b0 requires a Belgian child or a foreign child who holds a residence title. No concept binding supplies nationality. In the routing bridge the Brussels amounts reach a child only through belgium_family_benefits_region, whose default (99) routes no child, so this default changes no result yet.", "citation": "Brussels family-benefits ordinance article 4, with Article 25 age/status gate (brussels_family_benefits_child_entitlement, eligibility.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/4", "new_default": true }, @@ -1848,7 +1850,7 @@ "input": "brussels_family_benefits_single_child_without_article_8_9_or_12_supplement", "class": "defaulted", "value": true, - "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150. That is a lower bound at ages 0 to 24, where article 7(b) pays 150, 160 or 170, but the rule tests the flag before its over-24 test, so this ungated amount pays 150 above 24 as well and only eligibility.yaml's gated amount drops those children. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", + "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150. That is a lower bound at ages 0 to 24, where article 7(b) pays 150, 160 or 170, but the rule tests the flag before its over-24 test, so this ungated amount pays 150 above 24 as well and only eligibility.yaml's gated amount drops those children. While the flag holds, the rule never reaches article 7(b)'s branches, so the encoded brussels_family_benefits_child_enrolled_in_higher_education changes no amount yet. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 7 (brussels_family_benefits_article_7_base_monthly_amount, basic_amounts.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/7", "new_default": true }, @@ -1939,7 +1941,7 @@ "input": "flanders_family_benefits_child_domiciled_in_dutch_language_region", "class": "defaulted", "value": true, - "reason": "Article 8 section 1 item 1 requires domicile in the Dutch-language region for any benefit. The scheme's selector column will admit only children domiciled there, so true describes every child the module evaluates. PR 4b's selector producer, fed by W3's region derivation from NIS geography, should replace it.", + "reason": "Article 8 section 1 item 1 requires domicile in the Dutch-language region for any benefit. In the routing bridge the Flemish amounts reach a child only through belgium_family_benefits_region, whose default (99) routes no child, so this default changes no result yet. W3's region derivation from NIS geography, which should route to Flanders only children domiciled there, should replace both.", "citation": "Flemish Groeipakket decree article 8 section 1 domicile, residence, disappearance, and abduction conditions (flanders_family_benefits_residence_and_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", "new_default": true }, @@ -2059,7 +2061,7 @@ "input": "flanders_family_benefits_equal_shared_housing", "class": "defaulted", "value": false, - "reason": "The mapping carries no fact on how separated parents share a child's housing. False pays the article 18 supplement whole in the child's family, and it changes nothing while the income default keeps that supplement at zero. A W3 household-composition node should replace it.", + "reason": "The mapping carries no fact on how separated parents share a child's housing. False pays the article 18 supplement whole in the child's family, the upper choice, since true halves it (be-vlg amounts.yaml lines 550-552 multiply it by flanders_family_benefits_social_supplement_monthly_amount_scalar_limit, 0.5), and it changes nothing while the income default keeps that supplement at zero. A W3 household-composition node should replace it.", "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the halving parameter the rule reads (flanders_family_benefits_social_supplement_monthly_amount_scalar_limit), not on the rule", "new_default": true }, @@ -2158,8 +2160,8 @@ "entity": "Child", "input": "german_speaking_community_family_benefits_article_10_extension_months_used", "class": "defaulted", - "value": 0, - "reason": "No concept counts the months a young adult has drawn under the Article 10 extension, so the default sets none used. The extension path stays shut through no_current_article_9_entitlement, which defaults to false; this value alone would leave it open (0 < 12).", + "value": 12, + "reason": "No concept counts the months a young adult has drawn under the Article 10 extension. The default treats all 12 as drawn, so the extension branch (be-dg eligibility.yaml line 98) stays shut, since 12 < 12 is false, whatever no_current_article_9_entitlement says: a child of 18 to 24 who is not in training gets nothing, a lower bound. A node that counts the months drawn should replace it.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit it is compared with, german_speaking_community_family_benefits_article_10_extension_months (12), is sourced to 'German-speaking Community family-benefits decree article 10'", "new_default": true }, @@ -2169,7 +2171,7 @@ "input": "german_speaking_community_family_benefits_benefit_year", "class": "defaulted", "value": 2026, - "reason": "The benefit year is the query year, which METHOD-CARD-BE BE-MC0 sets at 2026. With 2026 the 2025-2027 indexation freeze applies and the annual supplement takes the Article 15 amount, not the 2025 override of 62.55 EUR. The query-period node will replace the constant, which must move with the policy year.", + "reason": "The benefit year is the query year, which METHOD-CARD-BE's row BE-MC0 proposes as 2026, pending a ruling. With 2026 the 2025-2027 indexation freeze applies and the annual supplement takes the Article 15 amount, not the 2025 override of 62.55 EUR. The query-period node will replace the constant, which must move with the policy year.", "citation": "German-speaking Community program decree of 22 December 2025, article 17 amending article 117.3 (german_speaking_community_family_benefits_indexation_freeze_applies), corpus_citation_path be-dg/statute/moniteur/decret-2025-12-22/2026001207/program-decree-2025-ii-family-benefits/block-1 (recorded by the parameter rules german_speaking_community_family_benefits_indexation_freeze_start_year and _end_year); German-speaking Community decree of 23 April 2018 on family benefits, articles 15, 16 and 38, and 22 December 2025 program decree article 18 (german_speaking_community_family_benefits_annual_supplement_amount)", "new_default": true }, @@ -2189,7 +2191,7 @@ "input": "german_speaking_community_family_benefits_child_abducted", "class": "defaulted", "value": false, - "reason": "No concept observes abduction, a rare status. The abducted-child path needs age under 18 (line 117), where the age test at line 89 already holds, and line 130 joins the two with 'or', so the flag cannot change statutory_base_entitlement.", + "reason": "No concept observes abduction, a rare status. The abducted-child path needs age under 18 (be-dg eligibility.yaml line 117), where the age test at line 89 of that file already holds, and its line 130 joins the two with 'or', so the flag cannot change statutory_base_entitlement.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -2206,7 +2208,7 @@ "input": "german_speaking_community_family_benefits_child_disappeared", "class": "defaulted", "value": false, - "reason": "No concept observes a disappeared child, a rare status. The rule uses it only to keep entitlement open for up to 60 months as an alternative to the age test (line 130 joins the two with 'or'), so false removes no child's benefit.", + "reason": "No concept observes a disappeared child, a rare status. The rule uses it only to keep entitlement open for up to 60 months as an alternative to the age test (be-dg eligibility.yaml line 130 joins the two with 'or'), so false leaves out only a disappeared child of 18 to 24 whom no other branch admits (line 112 keeps such a child entitled up to age 25): a lower bound.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -2216,7 +2218,7 @@ "input": "german_speaking_community_family_benefits_child_domiciled_in_german_language_region", "class": "defaulted", "value": true, - "reason": "Article 6 requires domicile in the German-language region for any benefit. The selector column will admit to this scheme only children domiciled there, so the default describes every child the scheme sees. The W3 region node (NIS geography) will replace it.", + "reason": "Article 6 requires domicile in the German-language region for any benefit. In the routing bridge the German-speaking Community's amounts reach a child only through belgium_family_benefits_region, whose default (99) routes no child, so this default changes no result yet. W3's region derivation from NIS geography, which should route to the Community only children domiciled there, should replace both.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, article 6 (german_speaking_community_family_benefits_article_6_residence_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -2226,7 +2228,7 @@ "input": "german_speaking_community_family_benefits_child_has_base_entitlement", "class": "defaulted", "value": true, - "reason": "The base amount and the five monthly supplements in the amounts module pay only when this flag holds, and no rule ties it to the eligibility module, which decides entitlement and gates the selected amount itself. The default holds the flag so the eligibility gate alone decides which child the scheme pays; false would pay no monthly amount to any child.", + "reason": "The base amount and the five monthly supplements in the amounts module pay only when this flag holds, and no rule ties it to the eligibility module, which decides entitlement and gates the selected amount itself. The default holds the flag so the eligibility gate alone decides which child the eligibility-gated amount pays; false would pay no monthly amount to any child. The ungated selected amount, which the amounts binding requests as a component, pays the base to every child its selector admits.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 8 and 38 (german_speaking_community_family_benefits_base_monthly_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -2323,7 +2325,7 @@ "input": "german_speaking_community_family_benefits_government_residence_condition_deemed_met", "class": "defaulted", "value": false, - "reason": "The rule lets this flag stand in for domicile (line 70 joins the two with 'or'), and the module leaves the delegated residence rules as a supplied input. The domicile default (true) already meets Article 6, so the default grants no derogation.", + "reason": "The rule lets this flag stand in for domicile (be-dg eligibility.yaml line 70 joins the two with 'or'), and the module leaves the delegated residence rules as a supplied input. The domicile default (true) already meets Article 6, so the default grants no derogation.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, article 6 (german_speaking_community_family_benefits_article_6_residence_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -2402,8 +2404,8 @@ "entity": "Child", "input": "german_speaking_community_family_benefits_no_current_article_9_entitlement", "class": "defaulted", - "value": false, - "reason": "This flag opens the 12-month Article 10 extension for a young adult whose Article 9 entitlement has lapsed. No concept dates the lapse, so the default keeps the extension shut: a child of 18 to 24 who is not in training gets nothing, a lower bound.", + "value": true, + "reason": "Only the Article 10 extension branch reads this flag (be-dg eligibility.yaml line 98). The flag can change that branch only for a child of 18 to 24 who has failed the age, disability and training tests above it (lines 89, 92 and 95 of that file) and whose work suspends nothing. That child meets none of Article 9's conditions, so true is the flag's value there. A child in training whose work suspends entitlement also reaches line 98, but the line's own employment test shuts it whatever the flag says. The extension stays shut through article_10_extension_months_used, defaulted to 12.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit in the same test, german_speaking_community_family_benefits_article_10_extension_months (12), is sourced to 'German-speaking Community family-benefits decree article 10'", "new_default": true }, @@ -2521,7 +2523,7 @@ "input": "wallonia_family_benefits_child_in_qualifying_diploma_training", "class": "defaulted", "value": false, - "reason": "The enrolment concept feeds child_in_qualifying_courses_or_stage, and no concept binding separately records diploma training. Off, so this route into the 21-to-24 window stays closed: a lower bound on spending.", + "reason": "No concept binding records diploma training separately. False closes this route into the 21-to-24 window only for a child whom the enrolment fact behind wallonia_family_benefits_child_in_qualifying_courses_or_stage doesn't count, since be-wal eligibility.yaml line 110 joins the two with 'or': a lower bound.", "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", "new_default": true }, @@ -2551,7 +2553,7 @@ "input": "wallonia_family_benefits_child_legal_domicile_in_french_language_region", "class": "defaulted", "value": true, - "reason": "Article 4 asks for a legal domicile in the French-language region. A selector column will admit to the Walloon scheme only children domiciled there, so the default describes those children; the selector must follow the language region, which leaves out the German-language municipalities of the Walloon Region. W3's region node, from NIS geography, will replace the default.", + "reason": "Article 4 asks for a legal domicile in the French-language region. In the routing bridge the Walloon amounts reach a child only through belgium_family_benefits_region, whose default (99) routes no child, so this default changes no result yet. W3's region derivation from NIS geography, which should route to Wallonia only children domiciled in the French-language region (not the German-language municipalities of the Walloon Region), should replace both.", "citation": "Walloon family-benefits decree article 4 residence, status, and supranational conditions (wallonia_family_benefits_article_4_residence_and_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/4", "new_default": true }, diff --git a/packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json b/packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json index 32c2bb2b58..af4c188c38 100644 --- a/packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json +++ b/packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json @@ -39,8 +39,8 @@ "german_speaking_community_family_benefits_child_candidate": "True for a person the German-speaking Community scheme's modules run on as Child: a person domiciled in the German language region whom the scheme's age and status rules could reach. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that.", "flanders_family_benefits_child_candidate": "True for a person the Flemish scheme's modules run on as Child: a person domiciled in the Dutch language region whom the scheme's age and status rules could reach. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that.", "wallonia_family_benefits_child_candidate": "True for a person the Walloon scheme's modules run on as Child: a person domiciled in the French language region whom the scheme's age and status rules could reach. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that.", - "belgium_lgaf_child_candidate": "True for a person the federal LGAF amount schedule runs on as Child. No bound module imports this schedule, and the routing bridge returns none of its outputs. Its one importer at the pin, be/statutes/family_benefits/guaranteed_family_benefits.yaml, describes a pre-2019 guarantee layer, and the committed surface marks that module dense_unsupported. The schedule holds no entitlement test, so a 2026 graph selects no one: its producer writes false for every person, or no node requests the binding.", - "belgium_family_benefits_child_candidate": "True for a person the regional routing bridge runs on as Child. The bridge picks a scheme from belgium_family_benefits_region, which the closure defaults to one code for every child, so no node should request this binding until a graph node supplies that code for each child. Until then the four regional eligibility bindings give the national amount under their own selectors." + "belgium_lgaf_child_candidate": "True for a person the federal LGAF amount schedule runs on as Child. No bound module imports this schedule, and the routing bridge returns none of its outputs. Its one importer at the pin, be/statutes/family_benefits/guaranteed_family_benefits.yaml, describes a pre-2019 guarantee layer, and the committed surface marks that module dense_unsupported. The monthly total this binding requests holds no entitlement test, so a 2026 graph selects no one: its producer writes false for every person, or no node requests the binding.", + "belgium_family_benefits_child_candidate": "True for a person the regional routing bridge runs on as Child. The bridge picks a scheme from belgium_family_benefits_region, which the closure defaults to 99, a code outside 0 to 3, so the bridge pays 0 to every child it runs on until a graph node supplies each child's code. Until then the four regional eligibility bindings give the national amount under their own selectors, and a request for this binding adds nothing to them." }, "bindings": [ { @@ -346,7 +346,7 @@ } } ], - "notes": "The federal amount schedule of the Loi generale relative aux allocations familiales, which holds no entitlement rule, age limit or event test: each output pays every row the view admits. No bound module imports it and the routing bridge returns none of its outputs, so no 2026 node should request it; added to a regional amount it would count a child twice. The binding and its closure entries exist so that the module's 18 Child roots are closed. The one variable is the monthly total; the birth allowance and adoption premium read no birth or adoption event and are never requested." + "notes": "The federal amount schedule of the Loi generale relative aux allocations familiales. The one variable requested, the monthly total, holds no entitlement rule or event test, and age only picks its article 44 age supplement (0 below 6), so at the closure's rank default of 1 it pays every row the view admits; the article 44ter annual supplement, which no binding requests, has age and beneficiary conditions of its own. No bound module imports it and the routing bridge returns none of its outputs, so no 2026 node should request it; added to a regional amount it would count a child twice. The binding and its closure entries exist so that the module's 18 Child roots are closed. The birth allowance and adoption premium read no birth or adoption event and are never requested." }, { "id": "belgium_family_benefits_regional_routing", diff --git a/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py b/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py index 680aff8017..a9601865a4 100644 --- a/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py +++ b/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py @@ -406,6 +406,17 @@ def test_a_name_keeps_one_default_across_modules(self) -> None: ) assert {name: found for name, found in values.items() if len(found) > 1} == {} + def test_the_routing_region_default_routes_no_child(self) -> None: + # The bridge returns a scheme's amount for codes 0 to 3 and 0 for any + # other code. A default inside 0 to 3 would pay every child the bridge + # runs on that one scheme's amount, whatever the child's region. + closure = InputClosure.from_dict(_closure_payload()) + (entry,) = [ + e for e in closure.entries if e.input == "belgium_family_benefits_region" + ] + assert entry.closure_class is ClosureClass.DEFAULTED + assert type(entry.value) is int and entry.value not in (0, 1, 2, 3) + def test_every_engine_line_citation_is_pinned_at_the_surface_engine(self) -> None: # A line citation into axiom-rules-engine names one file version only # when a pin records that file at input_surface.engine's commit. diff --git a/packages/microcosm-build/tests/engine_free/shared/test_nz_spec_package.py b/packages/microcosm-build/tests/engine_free/shared/test_nz_spec_package.py index acdb544243..1f1a5d3df6 100644 --- a/packages/microcosm-build/tests/engine_free/shared/test_nz_spec_package.py +++ b/packages/microcosm-build/tests/engine_free/shared/test_nz_spec_package.py @@ -3248,6 +3248,32 @@ def test_scalar_array_indexes_still_check_bounds(self, citation_checkout) -> Non with pytest.raises(IndexError): resolve_json_pointer("records.json", "/values/2") + @pytest.mark.parametrize( + ("owners", "expected"), + [ + (("nz", "be"), "nz"), + (("be", "uk"), None), + (("nz/extra", "be"), None), + (("be",), "be"), + ], + ids=["nz-and-foreign", "two-foreign", "nz-only-in-a-subfolder", "foreign-only"], + ) + def test_a_name_other_packages_share_cites_nz_own_file( + self, citation_checkout, monkeypatch, tmp_path, owners, expected + ) -> None: + # Belgium's package also holds an axiom_input_closure.json. A bare name + # that several packages share cites NZ's own file when NZ's package has + # one at that path, and otherwise still needs exactly one file. + build = "packages/microcosm-build/src/microcosm/build" + monkeypatch.setattr(__name__ + ".NZ_ROOT", tmp_path / build / "nz") + for owner in owners: + citation_checkout(f"{build}/{owner}/closure.json", {"owner": owner}) + if expected is None: + with pytest.raises(ValueError, match="needs one checkout file"): + resolve_json_pointer("closure.json", "/owner") + else: + assert resolve_json_pointer("closure.json", "/owner") == expected + def test_keyed_selector_is_independent_of_record_position( self, citation_checkout ) -> None: diff --git a/packages/microcosm-build/tests/golden/be_country_spec.json b/packages/microcosm-build/tests/golden/be_country_spec.json index 6d27c11a57..8cc8bdb1f3 100644 --- a/packages/microcosm-build/tests/golden/be_country_spec.json +++ b/packages/microcosm-build/tests/golden/be_country_spec.json @@ -1,6 +1,6 @@ { "country": "be", - "fingerprint": "8c7c8f9416daedc5dc30b532316587d979e96c01df26e7d2dcb051327ec37def", + "fingerprint": "6f96ad0d147973dd202f6f27c827e8b7219a223207a8688ae326e12ea59e297b", "gate_ids": [ "calibration_per_family_fit", "national_and_nuts1_admin_aggregates", @@ -29,8 +29,8 @@ "staging_repo": "policyengine/populace-be-staging" }, "resource_hashes": { - "axiom_input_closure.json": "53188dfc831f2e607e74b79e60bac9a8f264aaf28d407e56d49972633af8e52b", - "axiom_rules_bindings.json": "21f133ce2875d6454c96eb00fb8560b9ad590e1614c481c72fae2405608ac916", + "axiom_input_closure.json": "5bff49295b19444ac18e8164c2614f4ddb216ff92f895cbb864c7e7f2fbbde0c", + "axiom_rules_bindings.json": "4501adba560b7224be3811580929032e624f1e58371b4cb4ec86820edd3da5bf", "chronicle_feed.json": "71f3967cefa12d8ad6c4b955547bfc37e33183ee839b3edf3a43e0cb72559030", "country_package.json": "204c8c06934160c856d86a9d6c5305d40e9b3a85713c11c3ab031bebb27fbe89", "gates.json": "6f5e7a633e965ce44ed074224003fa3a2197460089b774f7b6f0c43e04d5e5aa", From 5fd86adb7dc68653914414f21046dabacf3def67 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 23:23:25 -0500 Subject: [PATCH 5/6] Pin the closure's rule line citations to rulespec-be 632e1da1 e06835639 named the file behind each German-speaking line reference, which made each one a line citation, and test_spec_source_citations refuses a line citation that binds to no commit. Each of the 15 reasons now cites its rule file's lines at 632e1da1, the closure's rulespec pin, as the UK package cites source lines. No value or other text changes. Co-Authored-By: Claude Opus 5.5 --- .../build/be/axiom_input_closure.json | 30 +++++++++---------- .../tests/golden/be_country_spec.json | 4 +-- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json b/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json index 5e48b54a87..531a9cfe00 100644 --- a/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json +++ b/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json @@ -558,7 +558,7 @@ "input": "german_speaking_community_family_benefits_article_10_extension_months_used", "class": "defaulted", "value": 12, - "reason": "No concept counts the months a young adult has drawn under the Article 10 extension. The default treats all 12 as drawn, so the extension branch (be-dg eligibility.yaml line 98) stays shut, since 12 < 12 is false, whatever no_current_article_9_entitlement says: a child of 18 to 24 who is not in training gets nothing, a lower bound. A node that counts the months drawn should replace it.", + "reason": "No concept counts the months a young adult has drawn under the Article 10 extension. The default treats all 12 as drawn, so the extension branch (be-dg eligibility.yaml line 98 at 632e1da1) stays shut, since 12 < 12 is false, whatever no_current_article_9_entitlement says: a child of 18 to 24 who is not in training gets nothing, a lower bound. A node that counts the months drawn should replace it.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit it is compared with, german_speaking_community_family_benefits_article_10_extension_months (12), is sourced to 'German-speaking Community family-benefits decree article 10'", "new_default": true }, @@ -588,7 +588,7 @@ "input": "german_speaking_community_family_benefits_child_abducted", "class": "defaulted", "value": false, - "reason": "No concept observes abduction, a rare status. The abducted-child path needs age under 18 (be-dg eligibility.yaml line 117), where the age test at line 89 of that file already holds, and its line 130 joins the two with 'or', so the flag cannot change statutory_base_entitlement.", + "reason": "No concept observes abduction, a rare status. The abducted-child path needs age under 18 (be-dg eligibility.yaml line 117 at 632e1da1), where the age test at line 89 of that file already holds, and its line 130 joins the two with 'or', so the flag cannot change statutory_base_entitlement.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -605,7 +605,7 @@ "input": "german_speaking_community_family_benefits_child_disappeared", "class": "defaulted", "value": false, - "reason": "No concept observes a disappeared child, a rare status. The rule uses it only to keep entitlement open for up to 60 months as an alternative to the age test (be-dg eligibility.yaml line 130 joins the two with 'or'), so false leaves out only a disappeared child of 18 to 24 whom no other branch admits (line 112 keeps such a child entitled up to age 25): a lower bound.", + "reason": "No concept observes a disappeared child, a rare status. The rule uses it only to keep entitlement open for up to 60 months as an alternative to the age test (at 632e1da1, be-dg eligibility.yaml line 130 joins the two with 'or'), so false leaves out only a disappeared child of 18 to 24 whom no other branch admits (line 112 keeps such a child entitled up to age 25): a lower bound.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -722,7 +722,7 @@ "input": "german_speaking_community_family_benefits_government_residence_condition_deemed_met", "class": "defaulted", "value": false, - "reason": "The rule lets this flag stand in for domicile (be-dg eligibility.yaml line 70 joins the two with 'or'), and the module leaves the delegated residence rules as a supplied input. The domicile default (true) already meets Article 6, so the default grants no derogation.", + "reason": "The rule lets this flag stand in for domicile (at 632e1da1, be-dg eligibility.yaml line 70 joins the two with 'or'), and the module leaves the delegated residence rules as a supplied input. The domicile default (true) already meets Article 6, so the default grants no derogation.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, article 6 (german_speaking_community_family_benefits_article_6_residence_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -802,7 +802,7 @@ "input": "german_speaking_community_family_benefits_no_current_article_9_entitlement", "class": "defaulted", "value": true, - "reason": "Only the Article 10 extension branch reads this flag (be-dg eligibility.yaml line 98). The flag can change that branch only for a child of 18 to 24 who has failed the age, disability and training tests above it (lines 89, 92 and 95 of that file) and whose work suspends nothing. That child meets none of Article 9's conditions, so true is the flag's value there. A child in training whose work suspends entitlement also reaches line 98, but the line's own employment test shuts it whatever the flag says. The extension stays shut through article_10_extension_months_used, defaulted to 12.", + "reason": "Only the Article 10 extension branch reads this flag (be-dg eligibility.yaml line 98 at 632e1da1). The flag can change that branch only for a child of 18 to 24 who has failed the age, disability and training tests above it (lines 89, 92 and 95 of that file) and whose work suspends nothing. That child meets none of Article 9's conditions, so true is the flag's value there. A child in training whose work suspends entitlement also reaches line 98, but the line's own employment test shuts it whatever the flag says. The extension stays shut through article_10_extension_months_used, defaulted to 12.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit in the same test, german_speaking_community_family_benefits_article_10_extension_months (12), is sourced to 'German-speaking Community family-benefits decree article 10'", "new_default": true }, @@ -849,7 +849,7 @@ "input": "flanders_family_benefits_equal_shared_housing", "class": "defaulted", "value": false, - "reason": "The mapping carries no fact on how separated parents share a child's housing. False pays the article 18 supplement whole in the child's family, the upper choice, since true halves it (be-vlg amounts.yaml lines 550-552 multiply it by flanders_family_benefits_social_supplement_monthly_amount_scalar_limit, 0.5), and it changes nothing while the income default keeps that supplement at zero. A W3 household-composition node should replace it.", + "reason": "The mapping carries no fact on how separated parents share a child's housing. False pays the article 18 supplement whole in the child's family, the upper choice, since true halves it (be-vlg amounts.yaml lines 550-552 at 632e1da1 multiply it by flanders_family_benefits_social_supplement_monthly_amount_scalar_limit, 0.5), and it changes nothing while the income default keeps that supplement at zero. A W3 household-composition node should replace it.", "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the halving parameter the rule reads (flanders_family_benefits_social_supplement_monthly_amount_scalar_limit), not on the rule", "new_default": true }, @@ -1053,7 +1053,7 @@ "input": "flanders_family_benefits_equal_shared_housing", "class": "defaulted", "value": false, - "reason": "The mapping carries no fact on how separated parents share a child's housing. False pays the article 18 supplement whole in the child's family, the upper choice, since true halves it (be-vlg amounts.yaml lines 550-552 multiply it by flanders_family_benefits_social_supplement_monthly_amount_scalar_limit, 0.5), and it changes nothing while the income default keeps that supplement at zero. A W3 household-composition node should replace it.", + "reason": "The mapping carries no fact on how separated parents share a child's housing. False pays the article 18 supplement whole in the child's family, the upper choice, since true halves it (be-vlg amounts.yaml lines 550-552 at 632e1da1 multiply it by flanders_family_benefits_social_supplement_monthly_amount_scalar_limit, 0.5), and it changes nothing while the income default keeps that supplement at zero. A W3 household-composition node should replace it.", "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the halving parameter the rule reads (flanders_family_benefits_social_supplement_monthly_amount_scalar_limit), not on the rule", "new_default": true }, @@ -1315,7 +1315,7 @@ "input": "wallonia_family_benefits_child_in_qualifying_diploma_training", "class": "defaulted", "value": false, - "reason": "No concept binding records diploma training separately. False closes this route into the 21-to-24 window only for a child whom the enrolment fact behind wallonia_family_benefits_child_in_qualifying_courses_or_stage doesn't count, since be-wal eligibility.yaml line 110 joins the two with 'or': a lower bound.", + "reason": "No concept binding records diploma training separately. False closes this route into the 21-to-24 window only for a child whom the enrolment fact behind wallonia_family_benefits_child_in_qualifying_courses_or_stage doesn't count, since be-wal eligibility.yaml line 110 at 632e1da1 joins the two with 'or': a lower bound.", "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", "new_default": true }, @@ -2061,7 +2061,7 @@ "input": "flanders_family_benefits_equal_shared_housing", "class": "defaulted", "value": false, - "reason": "The mapping carries no fact on how separated parents share a child's housing. False pays the article 18 supplement whole in the child's family, the upper choice, since true halves it (be-vlg amounts.yaml lines 550-552 multiply it by flanders_family_benefits_social_supplement_monthly_amount_scalar_limit, 0.5), and it changes nothing while the income default keeps that supplement at zero. A W3 household-composition node should replace it.", + "reason": "The mapping carries no fact on how separated parents share a child's housing. False pays the article 18 supplement whole in the child's family, the upper choice, since true halves it (be-vlg amounts.yaml lines 550-552 at 632e1da1 multiply it by flanders_family_benefits_social_supplement_monthly_amount_scalar_limit, 0.5), and it changes nothing while the income default keeps that supplement at zero. A W3 household-composition node should replace it.", "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the halving parameter the rule reads (flanders_family_benefits_social_supplement_monthly_amount_scalar_limit), not on the rule", "new_default": true }, @@ -2161,7 +2161,7 @@ "input": "german_speaking_community_family_benefits_article_10_extension_months_used", "class": "defaulted", "value": 12, - "reason": "No concept counts the months a young adult has drawn under the Article 10 extension. The default treats all 12 as drawn, so the extension branch (be-dg eligibility.yaml line 98) stays shut, since 12 < 12 is false, whatever no_current_article_9_entitlement says: a child of 18 to 24 who is not in training gets nothing, a lower bound. A node that counts the months drawn should replace it.", + "reason": "No concept counts the months a young adult has drawn under the Article 10 extension. The default treats all 12 as drawn, so the extension branch (be-dg eligibility.yaml line 98 at 632e1da1) stays shut, since 12 < 12 is false, whatever no_current_article_9_entitlement says: a child of 18 to 24 who is not in training gets nothing, a lower bound. A node that counts the months drawn should replace it.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit it is compared with, german_speaking_community_family_benefits_article_10_extension_months (12), is sourced to 'German-speaking Community family-benefits decree article 10'", "new_default": true }, @@ -2191,7 +2191,7 @@ "input": "german_speaking_community_family_benefits_child_abducted", "class": "defaulted", "value": false, - "reason": "No concept observes abduction, a rare status. The abducted-child path needs age under 18 (be-dg eligibility.yaml line 117), where the age test at line 89 of that file already holds, and its line 130 joins the two with 'or', so the flag cannot change statutory_base_entitlement.", + "reason": "No concept observes abduction, a rare status. The abducted-child path needs age under 18 (be-dg eligibility.yaml line 117 at 632e1da1), where the age test at line 89 of that file already holds, and its line 130 joins the two with 'or', so the flag cannot change statutory_base_entitlement.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -2208,7 +2208,7 @@ "input": "german_speaking_community_family_benefits_child_disappeared", "class": "defaulted", "value": false, - "reason": "No concept observes a disappeared child, a rare status. The rule uses it only to keep entitlement open for up to 60 months as an alternative to the age test (be-dg eligibility.yaml line 130 joins the two with 'or'), so false leaves out only a disappeared child of 18 to 24 whom no other branch admits (line 112 keeps such a child entitled up to age 25): a lower bound.", + "reason": "No concept observes a disappeared child, a rare status. The rule uses it only to keep entitlement open for up to 60 months as an alternative to the age test (at 632e1da1, be-dg eligibility.yaml line 130 joins the two with 'or'), so false leaves out only a disappeared child of 18 to 24 whom no other branch admits (line 112 keeps such a child entitled up to age 25): a lower bound.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 12 and 13 (german_speaking_community_family_benefits_article_12_13_missing_or_abducted_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -2325,7 +2325,7 @@ "input": "german_speaking_community_family_benefits_government_residence_condition_deemed_met", "class": "defaulted", "value": false, - "reason": "The rule lets this flag stand in for domicile (be-dg eligibility.yaml line 70 joins the two with 'or'), and the module leaves the delegated residence rules as a supplied input. The domicile default (true) already meets Article 6, so the default grants no derogation.", + "reason": "The rule lets this flag stand in for domicile (at 632e1da1, be-dg eligibility.yaml line 70 joins the two with 'or'), and the module leaves the delegated residence rules as a supplied input. The domicile default (true) already meets Article 6, so the default grants no derogation.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, article 6 (german_speaking_community_family_benefits_article_6_residence_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -2405,7 +2405,7 @@ "input": "german_speaking_community_family_benefits_no_current_article_9_entitlement", "class": "defaulted", "value": true, - "reason": "Only the Article 10 extension branch reads this flag (be-dg eligibility.yaml line 98). The flag can change that branch only for a child of 18 to 24 who has failed the age, disability and training tests above it (lines 89, 92 and 95 of that file) and whose work suspends nothing. That child meets none of Article 9's conditions, so true is the flag's value there. A child in training whose work suspends entitlement also reaches line 98, but the line's own employment test shuts it whatever the flag says. The extension stays shut through article_10_extension_months_used, defaulted to 12.", + "reason": "Only the Article 10 extension branch reads this flag (be-dg eligibility.yaml line 98 at 632e1da1). The flag can change that branch only for a child of 18 to 24 who has failed the age, disability and training tests above it (lines 89, 92 and 95 of that file) and whose work suspends nothing. That child meets none of Article 9's conditions, so true is the flag's value there. A child in training whose work suspends entitlement also reaches line 98, but the line's own employment test shuts it whatever the flag says. The extension stays shut through article_10_extension_months_used, defaulted to 12.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit in the same test, german_speaking_community_family_benefits_article_10_extension_months (12), is sourced to 'German-speaking Community family-benefits decree article 10'", "new_default": true }, @@ -2523,7 +2523,7 @@ "input": "wallonia_family_benefits_child_in_qualifying_diploma_training", "class": "defaulted", "value": false, - "reason": "No concept binding records diploma training separately. False closes this route into the 21-to-24 window only for a child whom the enrolment fact behind wallonia_family_benefits_child_in_qualifying_courses_or_stage doesn't count, since be-wal eligibility.yaml line 110 joins the two with 'or': a lower bound.", + "reason": "No concept binding records diploma training separately. False closes this route into the 21-to-24 window only for a child whom the enrolment fact behind wallonia_family_benefits_child_in_qualifying_courses_or_stage doesn't count, since be-wal eligibility.yaml line 110 at 632e1da1 joins the two with 'or': a lower bound.", "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", "new_default": true }, diff --git a/packages/microcosm-build/tests/golden/be_country_spec.json b/packages/microcosm-build/tests/golden/be_country_spec.json index 8cc8bdb1f3..2fd910fe24 100644 --- a/packages/microcosm-build/tests/golden/be_country_spec.json +++ b/packages/microcosm-build/tests/golden/be_country_spec.json @@ -1,6 +1,6 @@ { "country": "be", - "fingerprint": "6f96ad0d147973dd202f6f27c827e8b7219a223207a8688ae326e12ea59e297b", + "fingerprint": "50537496fb237641bdbf3788f75a7bcdad64a2d55c367aed03557846f1f86d0a", "gate_ids": [ "calibration_per_family_fit", "national_and_nuts1_admin_aggregates", @@ -29,7 +29,7 @@ "staging_repo": "policyengine/populace-be-staging" }, "resource_hashes": { - "axiom_input_closure.json": "5bff49295b19444ac18e8164c2614f4ddb216ff92f895cbb864c7e7f2fbbde0c", + "axiom_input_closure.json": "ba79c198a16e8e8a1692475d25f0359f114da9a9b11b36abcf01966bb2256ef6", "axiom_rules_bindings.json": "4501adba560b7224be3811580929032e624f1e58371b4cb4ec86820edd3da5bf", "chronicle_feed.json": "71f3967cefa12d8ad6c4b955547bfc37e33183ee839b3edf3a43e0cb72559030", "country_package.json": "204c8c06934160c856d86a9d6c5305d40e9b3a85713c11c3ab031bebb27fbe89", From c90f5c9f8221c3da65db3641964a113e4ab4ee31 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 15 Nov 2026 10:20:45 -0500 Subject: [PATCH 6/6] Answer PR 4a's second independent review Subfleet review 20261114-195133-be-pr4a-review-r2 asked for changes on one P1, the unpinned line citations that 5fd86adb7 fixed. This commit takes its P2 and most of its P3 notes. No default changes value. P2-1, birth cohorts. Flemish decree article 210 section 1 keeps a child born before 1 January 2019 who met the old rules' conditions on 31 December 2018 on the old child benefit, and article 13's base amount excludes that child. Walloon decree article 120 keeps most of LGAF articles 40 to 76bis for a child born before 1 January 2020. Both monthly amounts the Flemish and Walloon bindings request include the reform base, so their selector meanings, and the routing bridge's once it routes children, now leave that cohort out. The views note says why no selector expresses Brussels articles 35 and 39 or German-speaking article 111, and the closure description gives the cohort as BE-MC0's second reason Flemish and Walloon child benefits are not modelled at level. P3s: direction rules 1, 4 and 5 now cover extension statuses, suspension and the two directions, and rule 5's three exceptions. The last routing copy that described a regional selector now describes the bridge. Nine shared reason sentences (among them German-speaking article 7's insured-person route), the German-speaking amounts note, the period note, the judgment policy and the gate note's path are corrected, and the test comment names the surface's engine. Co-Authored-By: Claude Opus 5.5 --- .../build/be/axiom_input_closure.json | 54 +++++++++---------- .../build/be/axiom_rules_bindings.json | 12 ++--- .../src/microcosm/build/be/gates.json | 2 +- .../shared/test_be_axiom_input_closure.py | 7 +-- .../tests/golden/be_country_spec.json | 8 +-- 5 files changed, 42 insertions(+), 41 deletions(-) diff --git a/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json b/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json index 531a9cfe00..0902d8e83b 100644 --- a/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json +++ b/packages/microcosm-build/src/microcosm/build/be/axiom_input_closure.json @@ -2,7 +2,7 @@ "format": "microcosm.axiom_input_closure.v1", "country": "be", "content_basis": "transport", - "description": "The input closure covers the twelve rulespec-be family-benefit modules that axiom_rules_bindings.json binds. Each runs on the engine entity Child through a binding-local view. A person_role concept binding of the axiom:be mapping encodes 35 of their 277 Child root inputs (a child's age and enrolment facts), and the other 242 take explicit defaults, each with a reason and a citation. The axiom adapter omits an input the frame lacks, and the engine fails a request that reaches an absent input (engine_optional_evidence), so a run feeds every entry here. The routing bridge reads the four regional schemes' roots through its imports, and a view reads each root from the person column of the same name, so a name takes one default in every module that reads it. Nothing executes these modules yet: Belgium has no composed transport graph, and METHOD-CARD-BE's row BE-MC0 reports child benefits as not modelled at level until indexed amounts are encoded. METHOD-CARD-BE is the Belgium port's method card, the document Max rules on; it is kept with the port's notes, outside this repository.", + "description": "The input closure covers the twelve rulespec-be family-benefit modules that axiom_rules_bindings.json binds. Each runs on the engine entity Child through a binding-local view. A person_role concept binding of the axiom:be mapping encodes 35 of their 277 Child root inputs (a child's age and enrolment facts), and the other 242 take explicit defaults, each with a reason and a citation. The axiom adapter omits an input the frame lacks, and the engine fails a request that reaches an absent input (engine_optional_evidence), so a run feeds every entry here. The routing bridge reads the four regional schemes' roots through its imports, and a view reads each root from the person column of the same name, so a name takes one default in every module that reads it. Nothing executes these modules yet: Belgium has no composed transport graph, and METHOD-CARD-BE's row BE-MC0 reports child benefits as not modelled at level until indexed amounts are encoded and, in Flanders and Wallonia, until a graph pays the older cohort, whom these modules' amounts don't cover (the bindings' views_note), its own amounts. METHOD-CARD-BE is the Belgium port's method card, the document Max rules on; it is kept with the port's notes, outside this repository.", "status": "awaiting Max's METHOD-CARD-BE ruling: every default is a proposal (new_default true)", "work_package": "PR 4a (Child bindings and input closure); PR 4b adds the graph that runs them", "mapping": { @@ -37,11 +37,11 @@ "be/statutes/family_benefits/regional_routing.yaml": "408e73587e60d91136f80a71612802cb8c111f7ea5baf5abaeecb772c43c2413" }, "default_direction_rules": [ - "A status that grants a supplement or an increase defaults to not held, which gives a lower bound on spending.", + "A status that grants a supplement, an increase or an extension of entitlement past an age limit (study, training, a jobseeker period, a derogation) defaults to not held, which gives a lower bound on spending.", "A condition the law requires for any benefit (residence, nationality or an equivalent title, domicile in the scheme's region) defaults to held, for the children the scheme's selector admits.", "An index or revaluation factor defaults to 1, which keeps amounts at their unindexed nominal level.", - "A rare status that removes entitlement or keeps it open (an exclusion, abduction, disappearance) defaults to not held.", - "A count, rank, income or period fact that a later graph node is to derive takes the value that pays the base benefit with no supplement or extension, and its reason names the node that replaces it.", + "A status that removes or suspends entitlement, or keeps it open (an exclusion, work that suspends an extension, abduction, disappearance), defaults to not held. For an exclusion or a suspension that overstates entitlement for the children it should reach; for abduction or disappearance it is a lower bound.", + "A count, rank, income or period fact that a later graph node is to derive takes the value that pays the base benefit with no supplement or extension, and its reason names the node that replaces it where one is planned. Three such facts take another value, and their reasons say why: the German-speaking months since a disappearance (the rule reads it only when the disappearance flag holds), the LGAF birth order rank (no binding requests the birth allowance) and the German-speaking benefit year (the query year).", "The routing bridge's region code defaults to a code outside the four regions, so the bridge pays nothing until a node supplies each child's code. Until then no routing copy of a regional scheme's default changes the bridge's result; most copies keep the reason of the regional module they repeat.", "A flag whose value is fixed wherever its one reader can change a result takes that value, and its reason shows why (the German-speaking no_current_article_9_entitlement, true)." ], @@ -78,7 +78,7 @@ "eligible" ], "new_default": true, - "reason": "No binding requests a judgment output: each requested variable is a Money amount or a 0/1 Count. The policy records refuse as the reviewed choice for a later binding that requests one. Nothing reads it yet: the take-up and receipt kernels refuse an undetermined code themselves (transport/column_kernels.py and transport/receipt_contract.py call resolve_judgments with UndeterminedAction.REFUSE)." + "reason": "No binding requests a judgment output: each requested variable is a Money amount or a 0/1 Count. The policy records refuse as the reviewed choice for a later binding that requests one. No kernel acts on it yet: InputClosure.from_dict only validates it, and the take-up and receipt kernels refuse an undetermined code themselves (transport/column_kernels.py and transport/receipt_contract.py call resolve_judgments with UndeterminedAction.REFUSE)." }, "knobs": [], "entries": [ @@ -102,7 +102,7 @@ "input": "brussels_family_benefits_single_child_without_article_8_9_or_12_supplement", "class": "defaulted", "value": true, - "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150. That is a lower bound at ages 0 to 24, where article 7(b) pays 150, 160 or 170, but the rule tests the flag before its over-24 test, so this ungated amount pays 150 above 24 as well and only eligibility.yaml's gated amount drops those children. While the flag holds, the rule never reaches article 7(b)'s branches, so the encoded brussels_family_benefits_child_enrolled_in_higher_education changes no amount yet. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", + "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150. That is a lower bound at ages 0 to 24, where article 7(b) pays 150, 160 or 170, but the rule tests the flag before its over-24 test, so this ungated amount pays 150 above 24 as well and only eligibility.yaml's gated amount drops those children. While the flag holds, the rule never reaches article 7(b)'s branches, so the encoded brussels_family_benefits_child_enrolled_in_higher_education changes no amount yet. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1). Its replacement must also know whether articles 8, 9 or 12 pay the child a supplement: no bound module encodes articles 8 and 12, and social_supplements.yaml computes article 9's.", "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 7 (brussels_family_benefits_article_7_base_monthly_amount, basic_amounts.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/7", "new_default": true }, @@ -153,7 +153,7 @@ "input": "brussels_family_benefits_child_has_belgian_nationality", "class": "defaulted", "value": true, - "reason": "Article 4, 2\u00b0 requires a Belgian child or a foreign child who holds a residence title. No concept binding supplies nationality, and a selector column will admit only children domiciled in Brussels, so the default treats each of them as meeting the condition through this leg.", + "reason": "Article 4, 2\u00b0 requires a Belgian child or a foreign child who holds a residence title. No concept binding supplies nationality or a residence title, so the default treats every child the Brussels selector admits as meeting the condition through this leg. Domicile in Brussels implies neither, so the default overstates entitlement for a foreign child without a title.", "citation": "Brussels family-benefits ordinance article 4, with Article 25 age/status gate (brussels_family_benefits_child_entitlement, eligibility.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/4", "new_default": true }, @@ -233,7 +233,7 @@ "input": "brussels_family_benefits_single_child_without_article_8_9_or_12_supplement", "class": "defaulted", "value": true, - "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150 at every age. That gives a lower bound, since article 7(b) pays 150, 160 or 170 by age and enrolment. While the flag holds, basic_amounts.yaml's article 7 rule never reaches article 7(b)'s branches, so the encoded brussels_family_benefits_child_enrolled_in_higher_education changes no amount yet. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", + "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150 at every age. That gives a lower bound, since article 7(b) pays 150, 160 or 170 by age and enrolment. While the flag holds, basic_amounts.yaml's article 7 rule never reaches article 7(b)'s branches, so the encoded brussels_family_benefits_child_enrolled_in_higher_education changes no amount yet. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1). Its replacement must also know whether articles 8, 9 or 12 pay the child a supplement: no bound module encodes articles 8 and 12, and social_supplements.yaml computes article 9's.", "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 7 (brussels_family_benefits_article_7_base_monthly_amount, basic_amounts.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/7", "new_default": true }, @@ -304,7 +304,7 @@ "input": "brussels_family_benefits_single_child_without_article_8_9_or_12_supplement", "class": "defaulted", "value": true, - "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150. That is a lower bound at ages 0 to 24, where article 7(b) pays 150, 160 or 170, but the rule tests the flag before its over-24 test, so this ungated amount pays 150 above 24 as well and only eligibility.yaml's gated amount drops those children. While the flag holds, the rule never reaches article 7(b)'s branches, so the encoded brussels_family_benefits_child_enrolled_in_higher_education changes no amount yet. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", + "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150. That is a lower bound at ages 0 to 24, where article 7(b) pays 150, 160 or 170, but the rule tests the flag before its over-24 test, so this ungated amount pays 150 above 24 as well and only eligibility.yaml's gated amount drops those children. While the flag holds, the rule never reaches article 7(b)'s branches, so the encoded brussels_family_benefits_child_enrolled_in_higher_education changes no amount yet. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1). Its replacement must also know whether articles 8, 9 or 12 pay the child a supplement: no bound module encodes articles 8 and 12, and social_supplements.yaml computes article 9's.", "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 7 (brussels_family_benefits_article_7_base_monthly_amount, basic_amounts.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/7", "new_default": true }, @@ -438,7 +438,7 @@ "input": "german_speaking_community_family_benefits_child_has_base_entitlement", "class": "defaulted", "value": true, - "reason": "The base amount and the five monthly supplements in the amounts module pay only when this flag holds, and no rule ties it to the eligibility module, which decides entitlement and gates the selected amount itself. The default holds the flag so the eligibility gate alone decides which child the eligibility-gated amount pays; false would pay no monthly amount to any child. The ungated selected amount, which the amounts binding requests as a component, pays the base to every child its selector admits.", + "reason": "The base amount and the five monthly supplements in the amounts module pay only when this flag holds, and no rule ties it to the eligibility module, which decides entitlement and gates the selected amount itself. The default holds the flag so the eligibility gate alone decides which child the eligibility-gated amount pays; false would pay no monthly amount to any child. The selected amount, which the amounts binding requests as a component and the eligibility gate doesn't reach, pays the base to every child its selector admits.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 8 and 38 (german_speaking_community_family_benefits_base_monthly_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -558,7 +558,7 @@ "input": "german_speaking_community_family_benefits_article_10_extension_months_used", "class": "defaulted", "value": 12, - "reason": "No concept counts the months a young adult has drawn under the Article 10 extension. The default treats all 12 as drawn, so the extension branch (be-dg eligibility.yaml line 98 at 632e1da1) stays shut, since 12 < 12 is false, whatever no_current_article_9_entitlement says: a child of 18 to 24 who is not in training gets nothing, a lower bound. A node that counts the months drawn should replace it.", + "reason": "No concept counts the months a young adult has drawn under the Article 10 extension. The default treats all 12 as drawn, so the extension branch (be-dg eligibility.yaml line 98 at 632e1da1) stays shut, since 12 < 12 is false, whatever no_current_article_9_entitlement says: a child of 18 to 24 who is not in training gets nothing, a lower bound. The default equals the extension's 12-month limit, the parameter that line compares it with, so a rule version that raised the limit would reopen the extension unless the default followed. A node that counts the months drawn should replace it.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit it is compared with, german_speaking_community_family_benefits_article_10_extension_months (12), is sourced to 'German-speaking Community family-benefits decree article 10'", "new_default": true }, @@ -615,7 +615,7 @@ "input": "german_speaking_community_family_benefits_child_domiciled_in_german_language_region", "class": "defaulted", "value": true, - "reason": "Article 6 requires domicile in the German-language region for any benefit. The selector column will admit to this scheme only children domiciled there, so the default describes every child the scheme sees. The W3 region node (NIS geography) will replace it.", + "reason": "Article 6 opens the right for a child domiciled in the German-language region; the encoded rule's one alternative is the residence condition deemed met (german_speaking_community_family_benefits_government_residence_condition_deemed_met, defaulted false), and article 7's route for a social insured person's family members is not encoded. The selector column will admit to this scheme only children domiciled there, so the default describes every child the scheme sees. The W3 region node (NIS geography) will replace it.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, article 6 (german_speaking_community_family_benefits_article_6_residence_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -625,7 +625,7 @@ "input": "german_speaking_community_family_benefits_child_has_base_entitlement", "class": "defaulted", "value": true, - "reason": "The base amount and the five monthly supplements in the amounts module pay only when this flag holds, and no rule ties it to the eligibility module, which decides entitlement and gates the selected amount itself. The default holds the flag so the eligibility gate alone decides which child the eligibility-gated amount pays; false would pay no monthly amount to any child. The ungated selected amount, which the amounts binding requests as a component, pays the base to every child its selector admits.", + "reason": "The base amount and the five monthly supplements in the amounts module pay only when this flag holds, and no rule ties it to the eligibility module, which decides entitlement and gates the selected amount itself. The default holds the flag so the eligibility gate alone decides which child the eligibility-gated amount pays; false would pay no monthly amount to any child. The selected amount, which the amounts binding requests as a component and the eligibility gate doesn't reach, pays the base to every child its selector admits.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 8 and 38 (german_speaking_community_family_benefits_base_monthly_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -859,7 +859,7 @@ "input": "flanders_family_benefits_family_annual_income", "class": "defaulted", "value": 70000.0, - "reason": "No income exists for the beneficiaries' family until W3's income node builds it over the legal unit PR 3 defines. 70000 exceeds the article 18 middle threshold (flanders_family_benefits_social_middle_income_threshold is 60000 at rulespec-be 632e1da1), so the social supplement pays nothing for any family size: a lower bound that leaves out every low-income supplement. The module's own base-amount test supplies the same value.", + "reason": "No income exists for the beneficiaries' family until W3's income node builds it over the legal unit PR 3 defines. 70000 exceeds the article 18 middle threshold (flanders_family_benefits_social_middle_income_threshold is 60000 at rulespec-be 632e1da1), so at those unindexed thresholds the social supplement pays nothing for any family size: a lower bound that leaves out every low-income supplement. The module's own base-amount test supplies the same value.", "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_before_shared_housing_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the threshold and amount parameters the rule reads, not on the rule", "new_default": true }, @@ -933,7 +933,7 @@ "input": "flanders_family_benefits_child_domiciled_in_dutch_language_region", "class": "defaulted", "value": true, - "reason": "Article 8 section 1 item 1 requires domicile in the Dutch-language region for any benefit. The scheme's selector column will admit only children domiciled there, so true describes every child the module evaluates. PR 4b's selector producer, fed by W3's region derivation from NIS geography, should replace it.", + "reason": "Article 8 section 1 item 1 requires domicile in the Dutch-language region for any benefit. The scheme's selector column will admit only children domiciled there, so true describes every child the module evaluates. W3's region derivation from NIS geography, which PR 4b's selector producer should also read, should replace it.", "citation": "Flemish Groeipakket decree article 8 section 1 domicile, residence, disappearance, and abduction conditions (flanders_family_benefits_residence_and_status_condition_met); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", "new_default": true }, @@ -1063,7 +1063,7 @@ "input": "flanders_family_benefits_family_annual_income", "class": "defaulted", "value": 70000.0, - "reason": "No income exists for the beneficiaries' family until W3's income node builds it over the legal unit PR 3 defines. 70000 exceeds the article 18 middle threshold (flanders_family_benefits_social_middle_income_threshold is 60000 at rulespec-be 632e1da1), so the social supplement pays nothing for any family size: a lower bound that leaves out every low-income supplement. The module's own base-amount test supplies the same value.", + "reason": "No income exists for the beneficiaries' family until W3's income node builds it over the legal unit PR 3 defines. 70000 exceeds the article 18 middle threshold (flanders_family_benefits_social_middle_income_threshold is 60000 at rulespec-be 632e1da1), so at those unindexed thresholds the social supplement pays nothing for any family size: a lower bound that leaves out every low-income supplement. The module's own base-amount test supplies the same value.", "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_before_shared_housing_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the threshold and amount parameters the rule reads, not on the rule", "new_default": true }, @@ -1167,7 +1167,7 @@ "input": "wallonia_family_benefits_household_annual_income", "class": "defaulted", "value": 70000.0, - "reason": "No income node exists yet. 70,000 exceeds the 50,000 upper ceiling (wallonia_family_benefits_income_middle_threshold at rulespec-be 632e1da1), so the large-family, single-parent and social supplements all pay 0 and the child gets the base amount alone, as in the module's own base-only test case. W3's income node, built over the legal unit around the allocataire, will replace it; until then the default understates spending on households under the ceilings.", + "reason": "No income node exists yet. 70,000 exceeds the 50,000 upper ceiling (wallonia_family_benefits_income_middle_threshold at rulespec-be 632e1da1), so the large-family and single-parent supplements and the income-tested social supplement all pay 0 (the 65 EUR article 14 supplement for a household with a disabled member reads no income, and its own default withholds it), and the child gets the base amount alone, as in the module's own base-only test case. W3's income node, built over the legal unit around the allocataire, will replace it; until then the default understates spending on households under the ceilings.", "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, articles 11, 12, 13 and 14 (wallonia_family_benefits_large_family_supplement_monthly_amount, wallonia_family_benefits_single_parent_supplement_monthly_amount, wallonia_family_benefits_social_or_disabled_household_member_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/13 (recorded on the two income-threshold parameters)", "new_default": true }, @@ -1435,7 +1435,7 @@ "input": "wallonia_family_benefits_government_derogation_applies", "class": "defaulted", "value": false, - "reason": "The module leaves individual derogations as a supplied input, and no concept binding records one. Off, so this route into the 21-to-24 window stays closed: a lower bound on spending.", + "reason": "The module leaves the Government's derogations (article 5 lets it grant general and individual ones) as one supplied input, and no concept binding records one. Off, so this route into the 21-to-24 window stays closed: a lower bound on spending.", "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", "new_default": true }, @@ -1445,7 +1445,7 @@ "input": "wallonia_family_benefits_household_annual_income", "class": "defaulted", "value": 70000.0, - "reason": "No income node exists yet. 70,000 exceeds the 50,000 upper ceiling (wallonia_family_benefits_income_middle_threshold at rulespec-be 632e1da1), so the large-family, single-parent and social supplements all pay 0 and the child gets the base amount alone, as in the module's own base-only test case. W3's income node, built over the legal unit around the allocataire, will replace it; until then the default understates spending on households under the ceilings.", + "reason": "No income node exists yet. 70,000 exceeds the 50,000 upper ceiling (wallonia_family_benefits_income_middle_threshold at rulespec-be 632e1da1), so the large-family and single-parent supplements and the income-tested social supplement all pay 0 (the 65 EUR article 14 supplement for a household with a disabled member reads no income, and its own default withholds it), and the child gets the base amount alone, as in the module's own base-only test case. W3's income node, built over the legal unit around the allocataire, will replace it; until then the default understates spending on households under the ceilings.", "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, articles 11, 12, 13 and 14 (wallonia_family_benefits_large_family_supplement_monthly_amount, wallonia_family_benefits_single_parent_supplement_monthly_amount, wallonia_family_benefits_social_or_disabled_household_member_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/13 (recorded on the two income-threshold parameters)", "new_default": true }, @@ -1850,7 +1850,7 @@ "input": "brussels_family_benefits_single_child_without_article_8_9_or_12_supplement", "class": "defaulted", "value": true, - "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150. That is a lower bound at ages 0 to 24, where article 7(b) pays 150, 160 or 170, but the rule tests the flag before its over-24 test, so this ungated amount pays 150 above 24 as well and only eligibility.yaml's gated amount drops those children. While the flag holds, the rule never reaches article 7(b)'s branches, so the encoded brussels_family_benefits_child_enrolled_in_higher_education changes no amount yet. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1).", + "reason": "No concept binding counts a family's beneficiary children yet, so the default treats every child as the family's only beneficiary child with no supplement, and article 7(a) pays a flat 150. That is a lower bound at ages 0 to 24, where article 7(b) pays 150, 160 or 170, but the rule tests the flag before its over-24 test, so this ungated amount pays 150 above 24 as well and only eligibility.yaml's gated amount drops those children. While the flag holds, the rule never reaches article 7(b)'s branches, so the encoded brussels_family_benefits_child_enrolled_in_higher_education changes no amount yet. W3's household-composition node will replace it, together with the beneficiary-child count (defaulted 1). Its replacement must also know whether articles 8, 9 or 12 pay the child a supplement: no bound module encodes articles 8 and 12, and social_supplements.yaml computes article 9's.", "citation": "Brussels ordinance of 25 April 2019 regulating family benefits, article 7 (brussels_family_benefits_article_7_base_monthly_amount, basic_amounts.yaml); the rule records no corpus_citation_path of its own, the module's source_verification gives be-bru/statute/ordonnance/2019/04/25/2019012118/article/7", "new_default": true }, @@ -2041,7 +2041,7 @@ "input": "flanders_family_benefits_child_raised_or_studies_outside_belgium", "class": "defaulted", "value": false, - "reason": "Article 8 section 3 withholds benefits from children raised or taught outside Belgium. The selector will admit children domiciled in the region, and the mapping carries no fact on upbringing or schooling abroad, so false applies the exclusion to nobody.", + "reason": "Article 8 section 3 withholds benefits from children raised or taught outside Belgium. The mapping carries no fact on upbringing or schooling abroad, so false applies the exclusion to nobody. In the routing bridge the Flemish amounts reach a child only through belgium_family_benefits_region, whose default (99) routes no child, so this default changes no result yet.", "citation": "Flemish Groeipakket decree article 8 section 3 outside-Belgium exclusion (flanders_family_benefits_outside_belgium_exclusion_applies); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/8, recorded on the module (source_verification) and on flanders_family_benefits_child_entitlement, not on this rule", "new_default": true }, @@ -2071,7 +2071,7 @@ "input": "flanders_family_benefits_family_annual_income", "class": "defaulted", "value": 70000.0, - "reason": "No income exists for the beneficiaries' family until W3's income node builds it over the legal unit PR 3 defines. 70000 exceeds the article 18 middle threshold (flanders_family_benefits_social_middle_income_threshold is 60000 at rulespec-be 632e1da1), so the social supplement pays nothing for any family size: a lower bound that leaves out every low-income supplement. The module's own base-amount test supplies the same value.", + "reason": "No income exists for the beneficiaries' family until W3's income node builds it over the legal unit PR 3 defines. 70000 exceeds the article 18 middle threshold (flanders_family_benefits_social_middle_income_threshold is 60000 at rulespec-be 632e1da1), so at those unindexed thresholds the social supplement pays nothing for any family size: a lower bound that leaves out every low-income supplement. The module's own base-amount test supplies the same value.", "citation": "Flemish decree of 27 April 2018 regulating family-policy allowances, article 18 (flanders_family_benefits_social_supplement_before_shared_housing_monthly_amount); corpus_citation_path be-vlg/statute/decreet/2018/04/27/2018040369/article/18, recorded on the threshold and amount parameters the rule reads, not on the rule", "new_default": true }, @@ -2161,7 +2161,7 @@ "input": "german_speaking_community_family_benefits_article_10_extension_months_used", "class": "defaulted", "value": 12, - "reason": "No concept counts the months a young adult has drawn under the Article 10 extension. The default treats all 12 as drawn, so the extension branch (be-dg eligibility.yaml line 98 at 632e1da1) stays shut, since 12 < 12 is false, whatever no_current_article_9_entitlement says: a child of 18 to 24 who is not in training gets nothing, a lower bound. A node that counts the months drawn should replace it.", + "reason": "No concept counts the months a young adult has drawn under the Article 10 extension. The default treats all 12 as drawn, so the extension branch (be-dg eligibility.yaml line 98 at 632e1da1) stays shut, since 12 < 12 is false, whatever no_current_article_9_entitlement says: a child of 18 to 24 who is not in training gets nothing, a lower bound. The default equals the extension's 12-month limit, the parameter that line compares it with, so a rule version that raised the limit would reopen the extension unless the default followed. A node that counts the months drawn should replace it.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 9, 10, 11 and 14 (german_speaking_community_family_benefits_article_9_10_age_or_status_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1; the limit it is compared with, german_speaking_community_family_benefits_article_10_extension_months (12), is sourced to 'German-speaking Community family-benefits decree article 10'", "new_default": true }, @@ -2218,7 +2218,7 @@ "input": "german_speaking_community_family_benefits_child_domiciled_in_german_language_region", "class": "defaulted", "value": true, - "reason": "Article 6 requires domicile in the German-language region for any benefit. In the routing bridge the German-speaking Community's amounts reach a child only through belgium_family_benefits_region, whose default (99) routes no child, so this default changes no result yet. W3's region derivation from NIS geography, which should route to the Community only children domiciled there, should replace both.", + "reason": "Article 6 opens the right for a child domiciled in the German-language region; the encoded rule's one alternative is the residence condition deemed met (german_speaking_community_family_benefits_government_residence_condition_deemed_met, defaulted false), and article 7's route for a social insured person's family members is not encoded. In the routing bridge the German-speaking Community's amounts reach a child only through belgium_family_benefits_region, whose default (99) routes no child, so this default changes no result yet. W3's region derivation from NIS geography, which should route to the Community only children domiciled there, should replace both.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, article 6 (german_speaking_community_family_benefits_article_6_residence_condition_met); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -2228,7 +2228,7 @@ "input": "german_speaking_community_family_benefits_child_has_base_entitlement", "class": "defaulted", "value": true, - "reason": "The base amount and the five monthly supplements in the amounts module pay only when this flag holds, and no rule ties it to the eligibility module, which decides entitlement and gates the selected amount itself. The default holds the flag so the eligibility gate alone decides which child the eligibility-gated amount pays; false would pay no monthly amount to any child. The ungated selected amount, which the amounts binding requests as a component, pays the base to every child its selector admits.", + "reason": "The base amount and the five monthly supplements in the amounts module pay only when this flag holds, and no rule ties it to the eligibility module, which decides entitlement and gates the selected amount itself. The default holds the flag so the eligibility gate alone decides which child the eligibility-gated amount pays; false would pay no monthly amount to any child. The selected amount, which the amounts binding requests as a component and the eligibility gate doesn't reach, pays the base to every child its selector admits.", "citation": "German-speaking Community decree of 23 April 2018 on family benefits, articles 8 and 38 (german_speaking_community_family_benefits_base_monthly_amount); module corpus_citation_path be-dg/statute/moniteur/decret-2018-04-23/2018202523/family-benefits/block-1", "new_default": true }, @@ -2643,7 +2643,7 @@ "input": "wallonia_family_benefits_government_derogation_applies", "class": "defaulted", "value": false, - "reason": "The module leaves individual derogations as a supplied input, and no concept binding records one. Off, so this route into the 21-to-24 window stays closed: a lower bound on spending.", + "reason": "The module leaves the Government's derogations (article 5 lets it grant general and individual ones) as one supplied input, and no concept binding records one. Off, so this route into the 21-to-24 window stays closed: a lower bound on spending.", "citation": "Walloon family-benefits decree article 5 age and status windows (wallonia_family_benefits_article_5_age_or_status_condition_met); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/5", "new_default": true }, @@ -2653,7 +2653,7 @@ "input": "wallonia_family_benefits_household_annual_income", "class": "defaulted", "value": 70000.0, - "reason": "No income node exists yet. 70,000 exceeds the 50,000 upper ceiling (wallonia_family_benefits_income_middle_threshold at rulespec-be 632e1da1), so the large-family, single-parent and social supplements all pay 0 and the child gets the base amount alone, as in the module's own base-only test case. W3's income node, built over the legal unit around the allocataire, will replace it; until then the default understates spending on households under the ceilings.", + "reason": "No income node exists yet. 70,000 exceeds the 50,000 upper ceiling (wallonia_family_benefits_income_middle_threshold at rulespec-be 632e1da1), so the large-family and single-parent supplements and the income-tested social supplement all pay 0 (the 65 EUR article 14 supplement for a household with a disabled member reads no income, and its own default withholds it), and the child gets the base amount alone, as in the module's own base-only test case. W3's income node, built over the legal unit around the allocataire, will replace it; until then the default understates spending on households under the ceilings.", "citation": "Walloon decree of 8 February 2018 on management and payment of family benefits, articles 11, 12, 13 and 14 (wallonia_family_benefits_large_family_supplement_monthly_amount, wallonia_family_benefits_single_parent_supplement_monthly_amount, wallonia_family_benefits_social_or_disabled_household_member_supplement_monthly_amount); corpus_citation_path be-wal/statute/decret/2018/02/08/2018201006/article/13 (recorded on the two income-threshold parameters)", "new_default": true }, diff --git a/packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json b/packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json index af4c188c38..46dc0b8f4b 100644 --- a/packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json +++ b/packages/microcosm-build/src/microcosm/build/be/axiom_rules_bindings.json @@ -28,19 +28,19 @@ "end": "2026-01-31" } }, - "period_note": "Every variable these bindings request runs by Month, so the one period label names a month: January 2026, with explicit bounds, because the registry takes no period without them. The kind is calendar_month, the name rulespec-be's own tests give the custom monthly period they run these modules over (for example be-bru/statutes/family_benefits/eligibility.test.yaml). At the surface's engine commit 04315d94d04efd61e27665ab3aa300d64fdf3a66, the Python extension reads any kind other than month, benefit_week and tax_year as a custom period of that name (python-ext/src/lib.rs:583-590). No rule version in the twelve modules starts after 2026-01-01, so each month of 2026 reads the same versions. A graph that needs an annual amount multiplies the monthly output by twelve in a declared transform. No binding requests the modules' Year rules (the annual age supplements and the Flemish participation supplement) or any birth or adoption premium.", + "period_note": "Every variable these bindings request runs by Month, so the one period label names a month: January 2026, with explicit bounds, because the registry takes no period without them. The kind is calendar_month, the name rulespec-be's own tests give the custom monthly period they run these modules over (for example be-bru/statutes/family_benefits/eligibility.test.yaml). At the surface's engine commit 04315d94d04efd61e27665ab3aa300d64fdf3a66, the Python extension reads any kind other than month, benefit_week and tax_year as a custom period of that name (python-ext/src/lib.rs:583-590). No rule version in the twelve modules starts after 2026-01-01, so each month of 2026 reads the same versions. A graph that needs an annual amount multiplies the monthly output by twelve in a declared transform. No binding requests the modules' Year rules (such as the annual age supplements, the German-speaking annual supplement and the Flemish participation supplement) or any birth or adoption premium.", "input_surface": { "fixture": "packages/microcosm-frame/tests/fixtures/axiom_input_surfaces/be.json", "notes": "The committed input surface was generated at rulespec-be b105e2b3a3086ddd2de447d58a9b951346870dd1. root_input_count is the size of each module's canonical input surface, all of it on Child." }, - "views_note": "Each view's selector is a bool person column that no node produces yet. The selectors block gives each column's meaning; the graph change that follows adds the producers and sets each cut-off, birth cohort included: none of the regional modules bound here reads a birth date, and rulespec-be sources other rules to a Flemish threshold for children born from 2019 onward, to a Brussels article 35 transition deduction and to Walloon pre-2020 and article 19 transition amounts (be/statutes/family_benefits/child_benefit_base_2025.yaml, which these bindings don't cover). A view's root inputs read the person columns of the same names (docs/transport-declared-units.md, Binding-local views), so the closure gives a name one default in every module that reads it. Each outside value is the output's value for a person outside the view: 0.0 for a Money output and 0 for a Count output. At the surface's engine commit 04315d94d04efd61e27665ab3aa300d64fdf3a66, formula lowering reads a rule's dtype through a match that has no Count arm and falls through to Decimal (src/formula.rs:1352-1362). An integer 0 casts without loss to a decimal output and to an integer one, so it holds whichever dtype the pinned engine gives a Count.", + "views_note": "Each view's selector is a bool person column that no node produces yet. The selectors block gives each column's meaning; the graph change that follows adds the producers and sets each cut-off. None of the regional modules bound here reads a birth date, and every amount they return is their reform scheme's. Flanders and Wallonia keep an older cohort on the old LGAF-based amounts (Flemish decree article 210, Walloon decree article 120), so those two selectors leave that cohort out, as their meanings say. Brussels and the German-speaking Community adjust amounts instead, which no selector cut-off can express: Brussels ordinance article 35 takes 10 euros off each article 7 base amount for a child born before 1 December 2019, Brussels article 39 keeps the LGAF payment rules where the December 2019 LGAF rate gives more than articles 7 to 13, and German-speaking decree article 111 computes a transition amount from the LGAF benefits one person received for December 2018. rulespec-be encodes the Brussels article 35 deduction and a one-child slice of the Flemish and Walloon old-cohort amounts (first-rank 2025 amounts, chosen by age rather than birth date) in be/statutes/family_benefits/child_benefit_base_2025.yaml, which these bindings don't cover, and encodes neither article 39 nor article 111. A view's root inputs read the person columns of the same names (docs/transport-declared-units.md, Binding-local views), so the closure gives a name one default in every module that reads it. Each outside value is the output's value for a person outside the view: 0.0 for a Money output and 0 for a Count output. At the surface's engine commit 04315d94d04efd61e27665ab3aa300d64fdf3a66, formula lowering reads a rule's dtype through a match that has no Count arm and falls through to Decimal (src/formula.rs:1352-1362). An integer 0 casts without loss to a decimal output and to an integer one, so it holds whichever dtype a later engine pin gives a Count.", "selectors": { "brussels_family_benefits_child_candidate": "True for a person the Brussels scheme's modules run on as Child: a person domiciled in the Brussels-Capital Region whom the scheme's age and status rules could reach. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that.", "german_speaking_community_family_benefits_child_candidate": "True for a person the German-speaking Community scheme's modules run on as Child: a person domiciled in the German language region whom the scheme's age and status rules could reach. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that.", - "flanders_family_benefits_child_candidate": "True for a person the Flemish scheme's modules run on as Child: a person domiciled in the Dutch language region whom the scheme's age and status rules could reach. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that.", - "wallonia_family_benefits_child_candidate": "True for a person the Walloon scheme's modules run on as Child: a person domiciled in the French language region whom the scheme's age and status rules could reach. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that.", + "flanders_family_benefits_child_candidate": "True for a person the Flemish scheme's modules run on as Child: a person domiciled in the Dutch language region whom the scheme's age and status rules could reach, other than a child that decree article 210 \u00a71 keeps on the old child benefit. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that. Article 210 \u00a71 covers a child born before 1 January 2019 who met the old rules' conditions on 31 December 2018: article 8's conditions still decide that child's entitlement, but article 210 \u00a72 sets the amount from the old rules, and article 13 withholds from that child the base amount that both monthly amounts these bindings request include. Every Flemish child aged 8 or over in 2026 was born before 2019.", + "wallonia_family_benefits_child_candidate": "True for a person the Walloon scheme's modules run on as Child: a person domiciled in the French language region whom the scheme's age and status rules could reach and who was born on or after 1 January 2020, the reform date from which these modules' rules apply. The modules decide entitlement. The selector keeps other regions' residents out, and the closure's domicile default relies on that. Decree article 120 keeps LGAF articles 40 to 50septies, 52 to 55 and 56ter to 76bis applying to a child born before that date, so that child's base amount and age supplements come from the LGAF, not from the decree's base amount that both monthly amounts these bindings request include; article 121 lets the decree's article 5 prevail for a child who reaches 18 in the reform year. Every Walloon child aged 7 or over in 2026 was born before 2020.", "belgium_lgaf_child_candidate": "True for a person the federal LGAF amount schedule runs on as Child. No bound module imports this schedule, and the routing bridge returns none of its outputs. Its one importer at the pin, be/statutes/family_benefits/guaranteed_family_benefits.yaml, describes a pre-2019 guarantee layer, and the committed surface marks that module dense_unsupported. The monthly total this binding requests holds no entitlement test, so a 2026 graph selects no one: its producer writes false for every person, or no node requests the binding.", - "belgium_family_benefits_child_candidate": "True for a person the regional routing bridge runs on as Child. The bridge picks a scheme from belgium_family_benefits_region, which the closure defaults to 99, a code outside 0 to 3, so the bridge pays 0 to every child it runs on until a graph node supplies each child's code. Until then the four regional eligibility bindings give the national amount under their own selectors, and a request for this binding adds nothing to them." + "belgium_family_benefits_child_candidate": "True for a person the regional routing bridge runs on as Child. The bridge picks a scheme from belgium_family_benefits_region, which the closure defaults to 99, a code outside 0 to 3, so the bridge pays 0 to every child it runs on until a graph node supplies each child's code. Until then the four regional eligibility bindings give the national amount under their own selectors, and a request for this binding adds nothing to them. Once a node supplies the codes, this selector must also leave out the Flemish and Walloon older cohort, as those schemes' selectors do, or the bridge would pay that cohort the reform base amount." }, "bindings": [ { @@ -178,7 +178,7 @@ } } ], - "notes": "The ungated monthly total (the base amount plus the monthly supplements). A graph that wants spending requests german_speaking_community_family_benefits_eligibility's eligible amount, which imports this output. The module's Year rules and its birth and adoption premiums are not requested." + "notes": "The monthly total before the eligibility module's entitlement gate (the base amount plus the monthly supplements, each behind conditions of its own). A graph that wants spending requests german_speaking_community_family_benefits_eligibility's eligible amount, which imports this output. The module's Year rules and its birth and adoption premiums are not requested." }, { "id": "german_speaking_community_family_benefits_eligibility", diff --git a/packages/microcosm-build/src/microcosm/build/be/gates.json b/packages/microcosm-build/src/microcosm/build/be/gates.json index cfc5db5118..c2c89df650 100644 --- a/packages/microcosm-build/src/microcosm/build/be/gates.json +++ b/packages/microcosm-build/src/microcosm/build/be/gates.json @@ -69,7 +69,7 @@ "allow_engine_optional": false }, "evidence_absent_blocks": true, - "notes": "Authenticate the exact Build P donor artifact and close every declared Frame/Axiom input. A missing substantive root input of any module bound in axiom_rules_bindings.json is a build failure, never an engine default. allow_engine_optional is false: an engine default never closes an input here, and the gate names every engine-optional input it finds. The gate has no evidence before PR 4b: it reads the artifacts of a graph's closure node and donor receipt node, and Belgium has no transport graph yet. evidence_absent_blocks makes that absence block in every posture (docs/gate-battery-contract.md). Until then tests/engine_free/shared/test_be_axiom_input_closure.py runs the closure's partition on the committed surface." + "notes": "Authenticate the exact Build P donor artifact and close every declared Frame/Axiom input. A missing substantive root input of any module bound in axiom_rules_bindings.json is a build failure, never an engine default. allow_engine_optional is false: an engine default never closes an input here, and the gate names every engine-optional input it finds. The gate has no evidence before PR 4b: it reads the artifacts of a graph's closure node and donor receipt node, and Belgium has no transport graph yet. evidence_absent_blocks makes that absence block in every posture (docs/gate-battery-contract.md). Until then packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py runs the closure's partition on the committed surface." }, { "id": "demographics_vs_statbel", diff --git a/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py b/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py index a9601865a4..224db3de5a 100644 --- a/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py +++ b/packages/microcosm-build/tests/engine_free/shared/test_be_axiom_input_closure.py @@ -72,9 +72,10 @@ #: rely on that: neither the registry nor the adapter refuses a scheme that #: runs behind another's column. The variables are the choice each binding's #: notes state, and an outside value keeps its output's type: 0.0 for Money and -#: 0 for a Count. The pinned engine gives a Count a decimal dtype, which takes -#: either, but ``_outside_values`` refuses a float for an integer output, so an -#: integer 0 stays valid if a Count becomes one (the bindings' views_note). +#: 0 for a Count. The surface's engine (04315d94) gives a Count a decimal +#: dtype, which takes either, but ``_outside_values`` refuses a float for an +#: integer output, so an integer 0 stays valid if a Count becomes one (the +#: bindings' views_note). BINDINGS = { "brussels_family_benefits_basic_amounts": ( "be-bru/statutes/family_benefits/basic_amounts.yaml", diff --git a/packages/microcosm-build/tests/golden/be_country_spec.json b/packages/microcosm-build/tests/golden/be_country_spec.json index 2fd910fe24..8943e7e11e 100644 --- a/packages/microcosm-build/tests/golden/be_country_spec.json +++ b/packages/microcosm-build/tests/golden/be_country_spec.json @@ -1,6 +1,6 @@ { "country": "be", - "fingerprint": "50537496fb237641bdbf3788f75a7bcdad64a2d55c367aed03557846f1f86d0a", + "fingerprint": "b67b1c4e9e87184d28b81183af77fc73c2fd0360c40a9b502505dcc73901ac4b", "gate_ids": [ "calibration_per_family_fit", "national_and_nuts1_admin_aggregates", @@ -29,11 +29,11 @@ "staging_repo": "policyengine/populace-be-staging" }, "resource_hashes": { - "axiom_input_closure.json": "ba79c198a16e8e8a1692475d25f0359f114da9a9b11b36abcf01966bb2256ef6", - "axiom_rules_bindings.json": "4501adba560b7224be3811580929032e624f1e58371b4cb4ec86820edd3da5bf", + "axiom_input_closure.json": "b6c507812fc5ed12bb4568b61b9fada6565cc1c6a21e7eb6093eedc6e427313c", + "axiom_rules_bindings.json": "0d8c9670cc22761f90fba5df99c27bfea420708dad94926248da7dc1cea3a589", "chronicle_feed.json": "71f3967cefa12d8ad6c4b955547bfc37e33183ee839b3edf3a43e0cb72559030", "country_package.json": "204c8c06934160c856d86a9d6c5305d40e9b3a85713c11c3ab031bebb27fbe89", - "gates.json": "6f5e7a633e965ce44ed074224003fa3a2197460089b774f7b6f0c43e04d5e5aa", + "gates.json": "df207d9fbb7142a24b09f1987d87d6285031bacdd547c443eb6832cbe30c8424", "geography_spine.json": "090b83a4fa511e691b8f1486bc4188e4170cf9d4a1239e7418d33d5020ceca50", "holdout_references.json": "c9d32204b4c6364a95fcab066cbbc8b1b99dd49ef608e72c99009f01c7d1c942", "precal_references.json": "321bd4bd675b80c2e3241e19346fb191b72c8a0c101080dca27bae061c3edd89",