Edge Technology for Vocabulary must preserve not only the relationship between categories but the meaning of quantities moved across them. The Conservation-Checked Category Converter applies a declared weight model to a compatible additive measure, holding incomplete or incompatible allocations before calculating.
This original eduKate prototype was executed on fourteen authored synthetic fixtures and 441 systematic arithmetic checks. It is a bounded executable counterpart to the Semantic Allocation Crosswalk, not an empirical interpolation method, deployed service or evidence of learner improvement.
- Distinguish a category mapping from allocation weights.
- Match measure, period, version and basis.
- Check per-source conservation before distributing.
- Retain fractional estimates without rounding.
- Publish reproducible tests and limitations.
Contents
- 1. A category relationship is not a quantity distribution
- 2. Write the measure and the weight basis before calculating
- 3. Fencing a percentage into a conservation check
- 4. Executable conservation-checked converter
- 5. Actual local execution
- 6. VocabularyOS integration
- 7. Centre-to-edge learning operations
- 8. Four-week validation plan
- 9. Connected research
1. A category relationship is not a quantity distribution
A fictional inventory has 80 units in category A and 20 in B. Under an explicitly reviewed allocation model, one quarter of A maps to X and three quarters to Y; all of B maps to X. X receives an estimated 40 units and Y 60. Merely copying A into both targets would inflate the inventory. An equal split would impose a different, unsupported assumption. This is the distinction between a conceptual mapping, an allocation weight and a conserved additive measure.
The IPUMS NHGIS geographic crosswalk documentation explains how interpolation weights estimate distributions of source-zone characteristics into target geographies and why different characteristics may need different weights. The prototype below is inspired by that distinction. It does not implement geographic interpolation or determine valid weights.
2. Write the measure and the weight basis before calculating
| Field | Local interpretation |
|---|---|
| Measure, unit, period | The same additive count-like quantity and observation period. |
| Source and target version | The exact two category schemes. |
| Weight basis | The reviewed distribution model for this specific measure. |
| bp | Integer basis points out of 10,000. |
| Evidence | Synthetic reference label; real provenance must be verified outside the function. |
| Targets | Explicit list of allowable target categories. |
Weights are nonnegative and must sum to 10,000 per source. Unmapped remainder cannot silently disappear or be redistributed. A separate unknown destination would need to be an expressly defined target. Rates and percentages must not be treated as additive counts. They may need independently compatible numerators and denominators. A review flag is a synthetic input assumption, not proof of review.
3. Fencing a percentage into a conservation check
| Source | Original units | X weight | Y weight |
|---|---|---|---|
| A | 80 | 25% | 75% |
| B | 20 | 100% | 0% |
| Result | 100 | 40 units | 60 units |
First identify what is counted. Next distinguish source and target categories. Add the allocation proportions. Compute each contribution before summing. Finally verify both the resulting categories and the conserved total. Ask a learner to explain why 100 units alone does not prove the distribution was correct. The same total could arise from a wrong split. The code tests arithmetic and declared compatibility, not whether the weights describe reality.
4. Executable conservation-checked converter
function convert(contract,sources,weights){
const str=x=>typeof x==="string"&&x.length>0;
const whole=x=>typeof x==="string"&&/^\d{1,12}$/.test(x);
const keys=["measure","unit","period","sourceVersion","targetVersion","weightBasis"];
if(!contract||contract.kind!=="additive"||!keys.every(k=>str(contract[k]))||!Array.isArray(contract.targets)||!contract.targets.length||contract.targets.length>100||!contract.targets.every(str)||new Set(contract.targets).size!==contract.targets.length||!Array.isArray(sources)||!sources.length||sources.length>100||!Array.isArray(weights)||weights.length>10000)return {status:"HOLD_INPUT"};
if(!sources.every(s=>s&&str(s.id)&&whole(s.value)&&["measure","unit","period","sourceVersion"].every(k=>s[k]===contract[k]))||new Set(sources.map(s=>s.id)).size!==sources.length)return {status:"HOLD_SOURCE"};
if(!weights.every(w=>w&&str(w.source)&&contract.targets.includes(w.target)&&Number.isInteger(w.bp)&&w.bp>=0&&w.bp<=10000&&keys.every(k=>w[k]===contract[k])&&w.reviewed===true&&str(w.evidence)))return {status:"HOLD_WEIGHT"};
const bySource=new Map(sources.map(s=>[s.id,[]]));
const used=new Map(sources.map(s=>[s.id,new Set()]));
for(const w of weights){
if(!bySource.has(w.source)||used.get(w.source).has(w.target))return {status:"HOLD_MAPPING"};
used.get(w.source).add(w.target);bySource.get(w.source).push(w);
}
const totals=new Map(contract.targets.map(t=>[t,0n]));let input=0n;
for(const s of sources){
const links=bySource.get(s.id);
if(links.reduce((n,w)=>n+w.bp,0)!==10000)return {status:"HOLD_COVERAGE",source:s.id};
const x=BigInt(s.value);input+=x;
for(const w of links)totals.set(w.target,totals.get(w.target)+x*BigInt(w.bp));
}
const scaledTotal=[...totals.values()].reduce((a,b)=>a+b,0n);
if(scaledTotal!==input*10000n)return {status:"HOLD_INTERNAL"};
return {status:"ESTIMATE",denominator:"10000",input:input.toString(),scaledTotal:scaledTotal.toString(),targets:Object.fromEntries([...totals].map(([k,v])=>[k,v.toString()]))};
}
The function uses BigInt to preserve an exact scaled integer numerator and denominator 10,000. No floating-point rounding is performed. Fractional results such as 3333/10000 units are modelled estimates, not literal fractional people or observed events. Rounding to reportable units needs its own disclosed policy. The strict contract rejects duplicate source–target pairs and incompatible weight bases. It cannot verify authenticity, overlapping original categories or the external meaning of labels. The supplied original categories must already constitute a compatible additive partition.
5. Actual local execution
On 3 December 2026 all 14 of 14 authored fixtures passed. 441 further combinations of counts zero through twenty and complementary basis-point weights in 500-point steps passed exact arithmetic and conservation checks. These author-run checks exercise only a narrow two-target case, not independent validation of the full converter or of any empirical weighting method.
| Case | Expected | Observed |
|---|---|---|
| W01 | ESTIMATE:400000/600000 | ESTIMATE:400000/600000 |
| W02 | ESTIMATE:400000/600000 | ESTIMATE:400000/600000 |
| W03 | HOLD_COVERAGE | HOLD_COVERAGE |
| W04 | HOLD_COVERAGE | HOLD_COVERAGE |
| W05 | HOLD_MAPPING | HOLD_MAPPING |
| W06 | HOLD_MAPPING | HOLD_MAPPING |
| W07 | HOLD_WEIGHT | HOLD_WEIGHT |
| W08 | HOLD_WEIGHT | HOLD_WEIGHT |
| W09 | HOLD_INPUT | HOLD_INPUT |
| W10 | HOLD_SOURCE | HOLD_SOURCE |
| W11 | ESTIMATE:0/0 | ESTIMATE:0/0 |
| W12 | ESTIMATE:3333/6667 | ESTIMATE:3333/6667 |
| W13 | HOLD_WEIGHT | HOLD_WEIGHT |
| W14 | HOLD_INPUT | HOLD_INPUT |
const fixtures = [
[
"W01",
{
"kind": "additive",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"targets": [
"X",
"Y"
]
},
[
{
"id": "A",
"value": "80",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
},
{
"id": "B",
"value": "20",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
}
],
[
{
"source": "A",
"target": "X",
"bp": 2500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "A",
"target": "Y",
"bp": 7500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "B",
"target": "X",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
}
],
"ESTIMATE:400000/600000"
],
[
"W02",
{
"kind": "additive",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"targets": [
"X",
"Y"
]
},
[
{
"id": "A",
"value": "80",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
},
{
"id": "B",
"value": "20",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
}
],
[
{
"source": "B",
"target": "X",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "A",
"target": "Y",
"bp": 7500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "A",
"target": "X",
"bp": 2500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
}
],
"ESTIMATE:400000/600000"
],
[
"W03",
{
"kind": "additive",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"targets": [
"X",
"Y"
]
},
[
{
"id": "A",
"value": "80",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
},
{
"id": "B",
"value": "20",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
}
],
[
{
"source": "A",
"target": "X",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "A",
"target": "Y",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "B",
"target": "X",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
}
],
"HOLD_COVERAGE"
],
[
"W04",
{
"kind": "additive",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"targets": [
"X",
"Y"
]
},
[
{
"id": "A",
"value": "80",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
},
{
"id": "B",
"value": "20",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
}
],
[
{
"source": "A",
"target": "X",
"bp": 9000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "B",
"target": "X",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
}
],
"HOLD_COVERAGE"
],
[
"W05",
{
"kind": "additive",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"targets": [
"X",
"Y"
]
},
[
{
"id": "A",
"value": "80",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
},
{
"id": "B",
"value": "20",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
}
],
[
{
"source": "A",
"target": "X",
"bp": 2500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "A",
"target": "Y",
"bp": 7500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "B",
"target": "X",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "A",
"target": "X",
"bp": 0,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
}
],
"HOLD_MAPPING"
],
[
"W06",
{
"kind": "additive",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"targets": [
"X",
"Y"
]
},
[
{
"id": "A",
"value": "80",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
},
{
"id": "B",
"value": "20",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
}
],
[
{
"source": "A",
"target": "X",
"bp": 2500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "A",
"target": "Y",
"bp": 7500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "B",
"target": "X",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "C",
"target": "X",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
}
],
"HOLD_MAPPING"
],
[
"W07",
{
"kind": "additive",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"targets": [
"X",
"Y"
]
},
[
{
"id": "A",
"value": "80",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
},
{
"id": "B",
"value": "20",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
}
],
[
{
"source": "A",
"target": "X",
"bp": 2500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "other",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "A",
"target": "Y",
"bp": 7500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "B",
"target": "X",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
}
],
"HOLD_WEIGHT"
],
[
"W08",
{
"kind": "additive",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"targets": [
"X",
"Y"
]
},
[
{
"id": "A",
"value": "80",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
},
{
"id": "B",
"value": "20",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
}
],
[
{
"source": "A",
"target": "X",
"bp": 2500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": false,
"evidence": "synthetic-basis"
},
{
"source": "A",
"target": "Y",
"bp": 7500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "B",
"target": "X",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
}
],
"HOLD_WEIGHT"
],
[
"W09",
{
"kind": "rate",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"targets": [
"X",
"Y"
]
},
[
{
"id": "A",
"value": "80",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
},
{
"id": "B",
"value": "20",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
}
],
[
{
"source": "A",
"target": "X",
"bp": 2500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "A",
"target": "Y",
"bp": 7500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "B",
"target": "X",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
}
],
"HOLD_INPUT"
],
[
"W10",
{
"kind": "additive",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"targets": [
"X",
"Y"
]
},
[
{
"id": "A",
"value": "80",
"measure": "fictional-stock",
"unit": "units",
"period": "P2",
"sourceVersion": "old-v1"
},
{
"id": "B",
"value": "20",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
}
],
[
{
"source": "A",
"target": "X",
"bp": 2500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "A",
"target": "Y",
"bp": 7500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "B",
"target": "X",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
}
],
"HOLD_SOURCE"
],
[
"W11",
{
"kind": "additive",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"targets": [
"X",
"Y"
]
},
[
{
"id": "A",
"value": "0",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
}
],
[
{
"source": "A",
"target": "X",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
}
],
"ESTIMATE:0/0"
],
[
"W12",
{
"kind": "additive",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"targets": [
"X",
"Y"
]
},
[
{
"id": "A",
"value": "1",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
}
],
[
{
"source": "A",
"target": "X",
"bp": 3333,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "A",
"target": "Y",
"bp": 6667,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
}
],
"ESTIMATE:3333/6667"
],
[
"W13",
{
"kind": "additive",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"targets": [
"X",
"Y"
]
},
[
{
"id": "A",
"value": "80",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
},
{
"id": "B",
"value": "20",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
}
],
[
{
"source": "A",
"target": "X",
"bp": -1,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "B",
"target": "X",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
}
],
"HOLD_WEIGHT"
],
[
"W14",
{
"kind": "additive",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"targets": [
"X",
"X"
]
},
[
{
"id": "A",
"value": "80",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
},
{
"id": "B",
"value": "20",
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1"
}
],
[
{
"source": "A",
"target": "X",
"bp": 2500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "A",
"target": "Y",
"bp": 7500,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
},
{
"source": "B",
"target": "X",
"bp": 10000,
"measure": "fictional-stock",
"unit": "units",
"period": "P1",
"sourceVersion": "old-v1",
"targetVersion": "new-v1",
"weightBasis": "stock-distribution-v1",
"reviewed": true,
"evidence": "synthetic-basis"
}
],
"HOLD_INPUT"
]
];
function format(r){return r.status==="ESTIMATE"?r.status+":"+r.targets.X+"/"+r.targets.Y:r.status}
for (const [id,c,s,w,want] of fixtures) console.log(id,format(convert(c,s,w)),want);
const c = {"kind":"additive","measure":"fictional-stock","unit":"units","period":"P1","sourceVersion":"old-v1","targetVersion":"new-v1","weightBasis":"stock-distribution-v1","targets":["X","Y"]};
const s = (id,value,extra={})=>({id,value,measure:c.measure,unit:c.unit,period:c.period,sourceVersion:c.sourceVersion,...extra});
const w = (source,target,bp,extra={})=>({source,target,bp,measure:c.measure,unit:c.unit,period:c.period,sourceVersion:c.sourceVersion,targetVersion:c.targetVersion,weightBasis:c.weightBasis,reviewed:true,evidence:"synthetic-basis",...extra});
let systematic=0;
for(let x=0;x<=20;x++)for(let a=0;a<=10000;a+=500){const r=convert(c,[s('A',String(x))],[w('A','X',a),w('A','Y',10000-a)]);if(r.status!=='ESTIMATE'||BigInt(r.targets.X)!==BigInt(x)*BigInt(a)||BigInt(r.targets.Y)!==BigInt(x)*BigInt(10000-a)||BigInt(r.scaledTotal)!==BigInt(x)*10000n)throw Error('conservation');systematic++;}
console.log(systematic);
The website displays the reproducible source and fixtures; it does not run a production converter. Independent tests should inspect multigroup mappings, unmapped mass, bad source partitions and the validity of the chosen weights.
6. VocabularyOS integration
A reviewed semantic crosswalk identifies category meanings. The quantity type and partition aggregator establish the additive source measure. This converter applies the separately reviewed allocation model. Reconciliation checks constituent records and totals. A conformance capsule records the model and output as an estimate rather than an observation. A different purpose, time or definition requires a fresh applicability check. Conservation is a numerical invariant, not a certificate of fairness, authority or statistical validity.
7. Centre-to-edge learning operations
| Rung | Observable operation |
|---|---|
| L0 | Attend to the table |
| L1 | Identify categories |
| L2 | Name the measure |
| L3 | Explain the weight |
| L4 | Recall later |
| L5 | Encode fractions |
| L6 | Relate categories |
| L7 | Combine contributions |
| L8 | Disambiguate mapping and allocation |
| L9 | Transfer to a fresh example |
| L10 | Interpret an estimate |
| L11 | Formalise conservation |
| L12 | Trace scheme changes |
| L13 | Critique an unsupported split |
| L14 | Maintain a reviewed crosswalk |
| L15 | Propose and test a new distinction |
The eduKate L0–L15 ladder is a proposed learning architecture, not a validated grading scale. Begin with paper counters or a bar model where suitable. Independent transfer requires a fresh task, not just a successful software test.
8. Four-week validation plan
| Week | Task | Evidence |
|---|---|---|
| 1 | Review synthetic category maps and measure definitions. | Reviewed allocation assumptions. |
| 2 | Reproduce fixtures and commission independent test cases. | Exact outputs and hold reasons. |
| 3 | Compare with naïve copying and unsupported equal splitting. | Conservation and distribution errors. |
| 4 | Use fresh authorised learner tasks. | Independent explanation and time, separate from software outcomes. |
No human experiment, live integration or official curriculum alignment is claimed. Research involving students requires applicable permission, consent or assent, privacy and accessibility safeguards.
