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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/be-axiom-engine-pin.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Belgium's Axiom input surface (`be.json`) is regenerated at rulespec-be 632e1da1, the bindings' RuleSpec pin, and axiom-rules-engine 753ce7d9, New Zealand's engine pin. No module's inputs, status or canonical names move: only the two pins do. `be/axiom_rules_bindings.json` now pins that engine commit and its wheel's SHA-256, so the bindings are no longer an activation gap. The input closure's engine citations, the concept mapping's RuleSpec commit and the concept-coverage report move with them. Belgium stays inactive: it still lacks a benefit-unit rule and a transport graph.
12 changes: 6 additions & 6 deletions docs/concept-coverage/axiom-be.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Concept coverage: axiom:be

Engine version `b105e2b3a3086ddd2de447d58a9b951346870dd1`; concept schema `5a55669d0447`. Generated by `tools/refresh_concept_coverage.py`; do not edit by hand.
Engine version `632e1da1110ba881c68165e0cd3c2287b5b8ab08`; concept schema `5a55669d0447`. Generated by `tools/refresh_concept_coverage.py`; do not edit by hand.

- Engine inputs: 1867
- Fed by a concept: 109
Expand Down Expand Up @@ -37,15 +37,15 @@ Engine version `b105e2b3a3086ddd2de447d58a9b951346870dd1`; concept schema `5a556

| Concept | Reason |
|---|---|
| `fact:person.sex` | rulespec-be at b105e2b3 has no input that reads sex. No surface input name and no non-test rule text mentions sex or gender. The one sex-dependent provision found, Brussels social-housing child-bedroom pairing, is left out of the module: social_housing_rental.yaml lists 'exact child-room pairing from person-level sex/age arrays' among what it leaves to separate surfaces. It enters only as the supplied Household count brussels_social_housing_child_bedrooms_required. |
| `fact:person.rental_income` | rulespec-be at b105e2b3 has no input that net rental income determines. (1) belgium_pit_net_immovable_income (Person, CIR art. 6) is a net-income category that taxable_income.yaml 'expects ... to have already been determined under the category-specific CIR 1992 rules', and no module derives it. (2) belgium_social_integration_annual_property_rent (RIS art. 26) lives on Household, and no transform puts a person amount on a Household input. (3) belgium_pit_article_17_non_copyright_movable_property_rental_use_or_concession_income is income from movable property, which is outside the concept's land-and-buildings scope. |
| `fact:person.realized_capital_gains` | rulespec-be at b105e2b3 encodes no capital-gains rule: no non-test module mentions capital gains, plus-values or meerwaarden. The nearest inputs are legal net-income categories that realized gains do not determine. One is belgium_pit_net_miscellaneous_income (Person, CIR art. 6 in taxable_income.yaml), which the module takes as already determined under category-specific rules. The others are the TaxUnit belgium_pit_spouse_{a,b}_article_90_items_1_to_4_and_12_income slots in the art. 127 joint-assessment allocation. |
| `fact:person.liquid_financial_assets` | rulespec-be at b105e2b3 takes movable capital only as means-test inputs. belgium_social_integration_movable_capital_amount (RIS art. 27, in regulations/social_integration/resource_calculation.yaml and statutes/social_integration/payable_amount.yaml) lives on Household, and no transform puts a person amount on a Household input; the module also counts it through an owner fraction it takes as two further inputs (belgium_social_integration_movable_capital_numerator_share over belgium_social_integration_movable_capital_account_holder_count). brussels_apa_movable_capital_amount (Person, be-bru/statutes/disability/elderly_care_allowance.yaml; APA order of 28 January 2021 art. 16: 'Pour les capitaux mobiliers, placés ou non, il est porté en compte une somme égale à 6 % des capitaux.') is the one Person-level candidate. It counts all movable capital, invested or not, which is broader than the concept. The APA module also reads it as the movable capital of the beneficiary and the person they form a household with, not the beneficiary's alone: brussels_apa_movable_capital_deemed_annual_income turns it into deemed income at 6 %, and brussels_apa_annual_income_before_disregard multiplies the summed income by brussels_apa_household_income_split_factor, which is 0.5 when the person forms a household and both members are entitled to the allowance (art. 5 § 2: 'il est tenu compte pour chacune des deux personnes de la moitié du revenu du ménage') and 1 otherwise. It is left for a reviewed Belgian binding. |
| `fact:person.sex` | rulespec-be at 632e1da1 has no input that reads sex. No surface input name and no non-test rule text mentions sex or gender. The one sex-dependent provision found, Brussels social-housing child-bedroom pairing, is left out of the module: social_housing_rental.yaml lists 'exact child-room pairing from person-level sex/age arrays' among what it leaves to separate surfaces. It enters only as the supplied Household count brussels_social_housing_child_bedrooms_required. |
| `fact:person.rental_income` | rulespec-be at 632e1da1 has no input that net rental income determines. (1) belgium_pit_net_immovable_income (Person, CIR art. 6) is a net-income category that taxable_income.yaml 'expects ... to have already been determined under the category-specific CIR 1992 rules', and no module derives it. (2) belgium_social_integration_annual_property_rent (RIS art. 26) lives on Household, and no transform puts a person amount on a Household input. (3) belgium_pit_article_17_non_copyright_movable_property_rental_use_or_concession_income is income from movable property, which is outside the concept's land-and-buildings scope. |
| `fact:person.realized_capital_gains` | rulespec-be at 632e1da1 encodes no capital-gains rule: no non-test module mentions capital gains, plus-values or meerwaarden. The nearest inputs are legal net-income categories that realized gains do not determine. One is belgium_pit_net_miscellaneous_income (Person, CIR art. 6 in taxable_income.yaml), which the module takes as already determined under category-specific rules. The others are the TaxUnit belgium_pit_spouse_{a,b}_article_90_items_1_to_4_and_12_income slots in the art. 127 joint-assessment allocation. |
| `fact:person.liquid_financial_assets` | rulespec-be at 632e1da1 takes movable capital only as means-test inputs. belgium_social_integration_movable_capital_amount (RIS art. 27, in regulations/social_integration/resource_calculation.yaml and statutes/social_integration/payable_amount.yaml) lives on Household, and no transform puts a person amount on a Household input; the module also counts it through an owner fraction it takes as two further inputs (belgium_social_integration_movable_capital_numerator_share over belgium_social_integration_movable_capital_account_holder_count). brussels_apa_movable_capital_amount (Person, be-bru/statutes/disability/elderly_care_allowance.yaml; APA order of 28 January 2021 art. 16: 'Pour les capitaux mobiliers, placés ou non, il est porté en compte une somme égale à 6 % des capitaux.') is the one Person-level candidate. It counts all movable capital, invested or not, which is broader than the concept. The APA module also reads it as the movable capital of the beneficiary and the person they form a household with, not the beneficiary's alone: brussels_apa_movable_capital_deemed_annual_income turns it into deemed income at 6 %, and brussels_apa_annual_income_before_disregard multiplies the summed income by brussels_apa_household_income_split_factor, which is 0.5 when the person forms a household and both members are entitled to the allowance (art. 5 § 2: 'il est tenu compte pour chacune des deux personnes de la moitié du revenu du ménage') and 1 otherwise. It is left for a reviewed Belgian binding. |
| `fact:person.weeks_worked` | rulespec-be has no input for weeks worked in a year. Its work-history inputs are day or hour counts over windows that run back from a claim. Examples: belgium_unemployment_article_30_countable_work_days_since_prior_admission_in_extended_reference_period (312 work days within a 36-month reference period, admission.yaml), and belgium_health_waiting_stage_assimilated_work_days/_hours (windows of one to 36 months, with the length supplied as the separate input belgium_health_waiting_stage_reference_months, waiting_stage.yaml). These need a claim date, count days rather than weeks, and depend on an assimilated-day classification that the module leaves to separate surfaces. Multiplying weekly hours by weeks (a Product transform) would still give annual hours, not hours inside the claim window. |
| `fact:person.educational_attainment` | rulespec-be has no input that reads completed education. No non-test rule text mentions an attainment level, certificate or ISCED level. Every education input describes current enrollment or training: flanders_school_allowance_education_level, study_allowance_is_higher_education, and the Child-entity family-benefit training flags, including wallonia_family_benefits_child_in_qualifying_diploma_training. Where this mapping binds these, it feeds them from education_enrollment. |
| `fact:person.enrolled_full_time` | rulespec-be has no input that tests full-time enrollment. The full-time wording in non-test rule text concerns work regimes (parental leave, the work bonus, unemployment admission, the Flemish jobbonus). The one exception is a Flemish school-allowance parameter citing 'voltijds secundair onderwijs', and that module selects it by education level alone. The student statuses the tree does take are supplied legal statuses, and the rules that consume them contain no full-time test: belgium_self_employed_is_student (RD 38 art. 12bis) and the Child-entity family-benefit training and 'qualifying' flags. |
| `fact:person.take_up_seed` | rulespec-be computes legal entitlements and has no take-up or participation input. Its only claim-type inputs are eligibility conditions or elections, not decisions to take up the program the rule computes: belgium_social_integration_social_benefit_rights_asserted (a RIS art. 3-4 condition), brussels_apa_required_other_benefit_rights_claimed (an APA eligibility conjunct), and belgium_pit_article_1458_pension_savings_reduction_claimed (a non-cumulation election against the art. 145/7 reduction that also needs pension-savings payments). |
| `fact:household.mortgage_principal` | rulespec-be at b105e2b3 has no input for mortgage capital repayments. The only housing-loan inputs are the interest deductions belgium_social_integration_eligible_annual_mortgage_interest_on_property (RIS art. 25 §4) and brussels_apa_eligible_annual_mortgage_interest (APA art. 15), which this mapping feeds from mortgage_interest. No non-test rule text mentions capital repayment, and the PIT reductions module takes no loan input. |
| `fact:household.mortgage_principal` | rulespec-be at 632e1da1 has no input for mortgage capital repayments. The only housing-loan inputs are the interest deductions belgium_social_integration_eligible_annual_mortgage_interest_on_property (RIS art. 25 §4) and brussels_apa_eligible_annual_mortgage_interest (APA art. 15), which this mapping feeds from mortgage_interest. No non-test rule text mentions capital repayment, and the PIT reductions module takes no loan input. |
| `fact:household.source_household_id` | Original donor household lineage is build provenance and weight diagnostic support, not a rulespec-be legal input. |

## Inputs no concept covers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
"work_package": "PR 4a (Child bindings and input closure); PR 4b adds the graph that runs them",
"mapping": {
"engine": "axiom:be",
"engine_version": "b105e2b3a3086ddd2de447d58a9b951346870dd1"
"engine_version": "632e1da1110ba881c68165e0cd3c2287b5b8ab08"
},
"input_surface": {
"fixture": "packages/microcosm-frame/tests/fixtures/axiom_input_surfaces/be.json",
"rulespec_commit": "b105e2b3a3086ddd2de447d58a9b951346870dd1",
"rulespec_commit": "632e1da1110ba881c68165e0cd3c2287b5b8ab08",
"engine": {
"repository": "TheAxiomFoundation/axiom-rules-engine",
"commit": "04315d94d04efd61e27665ab3aa300d64fdf3a66"
"commit": "753ce7d9ac4cfb161f6aa4f281f5a3980e67a57d"
}
},
"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."
"note": "The input surface was generated at the pin, and each listed module's SHA-256 below is its SHA-256 there."
},
"rulespec_paths": {
"be-bru/statutes/family_benefits/basic_amounts.yaml": "6dab96b7260c8a38d06eee900a8e2192d1ec8654a9f11011ba901f7f76cc27fa",
Expand All @@ -45,28 +45,28 @@
"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_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 inputs block gives no input a default: the engine keeps the block only to check only_related and selected-year reads and to read elections, and every other key stays inert (RulesDocument, src/rulespec.rs:664-668; declared_elections, src/rulespec.rs:1569-1611). None of the twelve modules carries a top-level inputs key at the pin, and nor does any other module the committed input surface covers. The engine rejects a rule-level default (RuleSpecError::UnsupportedDefault, src/rulespec.rs:274-277 and src/rulespec.rs:3619-3627), and the dense batch call collects only the inputs the caller supplies (python-ext/src/lib.rs:552-563). A plain read of an absent input fails every row whose evaluation reaches it with EvalError::MissingInput (src/dense.rs:5154-5168), and the first row error fails the whole request (src/dense.rs:1539, python-ext/src/lib.rs:404-409). The internal input_or_else node that would read a default (src/dense.rs:5169-5175) never comes from RuleSpec text: formula lowering turns a name that no parameter or rule defines into a plain input read (src/formula.rs:1833-1851), 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",
"commit": "753ce7d9ac4cfb161f6aa4f281f5a3980e67a57d",
"path": "python-ext/src/lib.rs"
},
{
"repository": "TheAxiomFoundation/axiom-rules-engine",
"commit": "04315d94d04efd61e27665ab3aa300d64fdf3a66",
"commit": "753ce7d9ac4cfb161f6aa4f281f5a3980e67a57d",
"path": "src/dense.rs"
},
{
"repository": "TheAxiomFoundation/axiom-rules-engine",
"commit": "04315d94d04efd61e27665ab3aa300d64fdf3a66",
"commit": "753ce7d9ac4cfb161f6aa4f281f5a3980e67a57d",
"path": "src/formula.rs"
},
{
"repository": "TheAxiomFoundation/axiom-rules-engine",
"commit": "04315d94d04efd61e27665ab3aa300d64fdf3a66",
"commit": "753ce7d9ac4cfb161f6aa4f281f5a3980e67a57d",
"path": "src/rulespec.rs"
}
]
Expand Down
Loading
Loading