Edge Technology for Vocabulary advances from isolated checks to a complete local source-to-answer dataflow. The VocabularyOS Conformance Capsule takes a controlled-language consultation record through parsing, context verification, quantity checks, candidate comparison and a JSON round trip. It asks whether the actual structured meaning survives rather than merely combining predeclared pass labels.
This original eduKate local demonstrator executed twenty authored fixtures and 304 systematic variations. It is inspired by the earlier VocabularyOS components but does not deploy or directly integrate their published implementations. It is not a general English parser, independently validated benchmark, security service or evidence of student learning.
- Execute a real bounded dataflow from controlled text.
- Preserve source, scope, period, measure and raw counts.
- Inspect failure stages instead of hiding upstream errors.
- Test 20 authored cases and 304 systematic variations.
- Keep local conformance separate from authority, truth and learning.
Contents
- 1. The missing experiment: a real dataflow rather than four independent green lights
- 2. Specify the source language first
- 3. Fencing one statement through the stack
- 4. Five executed stage boundaries
- 5. Executable local capsule
- 6. Twenty actual authored fixtures
- 7. Systematic variation: 304 additional local checks
- 8. Why the failure stage matters
- 9. Learning at the centre and engineering at the edge
- 10. Four-week integration laboratory
- 11. References and connected VocabularyOS research
1. The missing experiment: a real dataflow rather than four independent green lights
The existing VocabularyOS Reference Stack describes the source registry, concept library, crosswalk, edge runtime, evidence, validation and correction. Separate demonstrations have tested quantity types, source spans, contextual joins, round trips and release gates. Their existence does not establish that the components work together. A system can pass a unit test at every isolated component and still pass a different denominator, group or version between components. The useful next experiment is to take one narrow, auditable record through a complete local dataflow and inspect the actual representation at each boundary.
This article implements a new small pipeline inspired by earlier components, not a deployment or direct invocation of their previously published functions. The example uses an invented consultation, not real students or institutional data. It deliberately tests the complete flow of one selected/total count statement. It does not attempt to parse unrestricted English, access a live source or decide whether an AI may disclose or act on an answer.
2. Specify the source language first
A controlled language sacrifices expressive flexibility for a declared grammar. The source here is seven labelled ASCII lines with a fixed order, exact LF separators and no trailing newline. IDs are lower-case ASCII letters, digits and hyphens, limited to sixty-four characters. Counts are canonical nonnegative decimal integers with at most six digits. These restrictions are local design choices, not a claim about how ordinary human language should be written.
source=demo-consultation
version=v1
scope=club-respondents
period=trial-1
measure=option-a
selected=18
respondents=24| Position | Meaning |
|---|---|
| 0 | Source identifier |
| 1 | Definition or release version |
| 2 | Scope: the specified respondent group |
| 3 | Observation period |
| 4 | Measured response |
| 5 | Selected count |
| 6 | Respondent count |
A real source registry would need an authoritative, inspectable connection between these identifiers and the actual evidence. This synthetic grammar does not establish who wrote the record or whether its numbers are accurate. The source could be internally well formed and still be fabricated. A published standards document does not convert a local fixture into official data.
3. Fencing one statement through the stack
Base: eighteen selected the option. Add the reference: twenty-four respondents. Add the group: club respondents during the specified trial. Preserve what was measured: option A preference. Calculate the share only for that group: 18/24, or 75%. A whole-school statement would need separate evidence. The fraction 3/4 is numerically equivalent, but it discards the original count information. Our machine packet preserves raw counts and therefore deliberately rejects 3/4 as a replacement record; a different presentation layer may show the simplified fraction alongside the counts.
The centre-level learner can construct the statement with a bar model or a written sentence. The edge-level experiment uses an explicit representation and tests that it survives every selected interface. A correct computer result does not establish that the student has independently understood the relationship.
4. Five executed stage boundaries
| Stage | Question | Hold |
|---|---|---|
| Source | Can the exact controlled text be parsed? | HOLD_SOURCE |
| Context | Do all five declared context fields match? | HOLD_CONTEXT |
| Quantity | Is the denominator positive and selected count within it? | HOLD_QUANTITY |
| Candidate | Do the proposed raw counts and identity fields match? | HOLD_CLAIM |
| Transport | Does the received JSON array preserve all seven typed values? | HOLD_WIRE or HOLD_ROUNDTRIP |
LOCAL_MATCH is the final narrow outcome. It does not mean publication-ready, true, authorised, private-data-safe or educationally effective. A real release gate would still need independent source review, policy enforcement and any applicable human approval. The JSON representation is based on ordinary interchange syntax described by RFC 8259; the local array schema and exact equality rule are not a standard VocabularyOS protocol.
5. Executable local capsule
function parseNotice(text){
if(typeof text!=="string"||text.length>1000)return null;
const m=/^source=([a-z0-9-]{1,64})\nversion=([a-z0-9-]{1,64})\nscope=([a-z0-9-]{1,64})\nperiod=([a-z0-9-]{1,64})\nmeasure=([a-z0-9-]{1,64})\nselected=(0|[1-9]\d{0,5})\nrespondents=(0|[1-9]\d{0,5})$/.exec(text);
if(!m||m[0]!==text)return null;
return [...m.slice(1,6),Number(m[6]),Number(m[7])];
}
function capsule(source,context,candidate,wire){
const r=parseNotice(source);
if(!r)return {stage:"source",status:"HOLD_SOURCE"};
if(!Array.isArray(context)||context.length!==5||!context.every((x,i)=>x===r[i]))return {stage:"context",status:"HOLD_CONTEXT"};
if(r[6]===0||r[5]>r[6])return {stage:"quantity",status:"HOLD_QUANTITY"};
if(!Array.isArray(candidate)||candidate.length!==7||!candidate.every((x,i)=>x===r[i]))return {stage:"candidate",status:"HOLD_CLAIM"};
if(typeof wire!=="string"||wire.length>2000)return {stage:"transport",status:"HOLD_WIRE"};
let received;try{received=JSON.parse(wire)}catch{return {stage:"transport",status:"HOLD_WIRE"}}
if(!Array.isArray(received)||received.length!==7||!received.every((x,i)=>x===r[i]))return {stage:"transport",status:"HOLD_ROUNDTRIP"};
return {stage:"local-checks",status:"LOCAL_MATCH",record:r.slice(),fraction:`${r[5]}/${r[6]}`};
}The parser produces seven typed fields. The context check compares source and requested context. The quantity check prevents a selected count greater than the stated total and refuses a zero denominator. The candidate check preserves the raw observations. Finally the received JSON must decode to an array with exactly the same seven values. The function returns a stage-specific reason on hold, and a copy of the parsed record and labelled fraction on success. No network or write occurs. This is not a cryptographic integrity mechanism and cannot detect a coordinated alteration of the purported source and all expected inputs.
6. Twenty actual authored fixtures
The functions ran locally on twenty authored synthetic cases. 20 of 20 status outputs matched their predeclared expected results. The test matrix includes malformed source, wrong context, invalid count, altered candidate and transport corruption. The stages are actually executed; they are not simulated by supplying predeclared PASS flags.
| ID | Expected | Observed | Purpose |
|---|---|---|---|
| I01 | LOCAL_MATCH | LOCAL_MATCH | Unchanged source, claim and transport. |
| I02 | LOCAL_MATCH | LOCAL_MATCH | JSON formatting may vary. |
| I03 | HOLD_SOURCE | HOLD_SOURCE | Strict grammar rejects trailing newline. |
| I04 | HOLD_SOURCE | HOLD_SOURCE | Unknown cannot become a count. |
| I05 | HOLD_SOURCE | HOLD_SOURCE | Noncanonical numeric form outside grammar. |
| I06 | HOLD_CONTEXT | HOLD_CONTEXT | Wrong target group. |
| I07 | HOLD_CONTEXT | HOLD_CONTEXT | Wrong source version. |
| I08 | HOLD_QUANTITY | HOLD_QUANTITY | Selected cannot exceed respondents. |
| I09 | HOLD_QUANTITY | HOLD_QUANTITY | No defined positive denominator. |
| I10 | LOCAL_MATCH | LOCAL_MATCH | Observed zero preserved. |
| I11 | HOLD_CLAIM | HOLD_CLAIM | Candidate scope drift. |
| I12 | HOLD_CLAIM | HOLD_CLAIM | Reduced fraction loses the observed counts. |
| I13 | HOLD_CLAIM | HOLD_CLAIM | Numeric string differs from integer count. |
| I14 | HOLD_CLAIM | HOLD_CLAIM | Missing denominator. |
| I15 | HOLD_ROUNDTRIP | HOLD_ROUNDTRIP | Transport period changed. |
| I16 | HOLD_ROUNDTRIP | HOLD_ROUNDTRIP | Transport denominator changed. |
| I17 | HOLD_WIRE | HOLD_WIRE | Malformed JSON. |
| I18 | HOLD_ROUNDTRIP | HOLD_ROUNDTRIP | Unexpected extra field. |
| I19 | HOLD_WIRE | HOLD_WIRE | No received packet. |
| I20 | HOLD_CONTEXT | HOLD_CONTEXT | Same digits, different measured property. |
const fixtures = [
[
"I01",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=18\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
18,
24
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",18,24]",
"LOCAL_MATCH",
"Unchanged source, claim and transport."
],
[
"I02",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=18\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
18,
24
],
"[\n \"demo-consultation\",\n \"v1\",\n \"club-respondents\",\n \"trial-1\",\n \"option-a\",\n 18,\n 24\n]",
"LOCAL_MATCH",
"JSON formatting may vary."
],
[
"I03",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=18\nrespondents=24\n",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
18,
24
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",18,24]",
"HOLD_SOURCE",
"Strict grammar rejects trailing newline."
],
[
"I04",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=unknown\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
18,
24
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",18,24]",
"HOLD_SOURCE",
"Unknown cannot become a count."
],
[
"I05",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=018\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
18,
24
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",18,24]",
"HOLD_SOURCE",
"Noncanonical numeric form outside grammar."
],
[
"I06",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=18\nrespondents=24",
[
"demo-consultation",
"v1",
"whole-school",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
18,
24
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",18,24]",
"HOLD_CONTEXT",
"Wrong target group."
],
[
"I07",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=18\nrespondents=24",
[
"demo-consultation",
"v2",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
18,
24
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",18,24]",
"HOLD_CONTEXT",
"Wrong source version."
],
[
"I08",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=25\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
25,
24
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",25,24]",
"HOLD_QUANTITY",
"Selected cannot exceed respondents."
],
[
"I09",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=0\nrespondents=0",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
0,
0
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",0,0]",
"HOLD_QUANTITY",
"No defined positive denominator."
],
[
"I10",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=0\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
0,
24
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",0,24]",
"LOCAL_MATCH",
"Observed zero preserved."
],
[
"I11",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=18\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"whole-school",
"trial-1",
"option-a",
18,
24
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",18,24]",
"HOLD_CLAIM",
"Candidate scope drift."
],
[
"I12",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=18\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
3,
4
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",18,24]",
"HOLD_CLAIM",
"Reduced fraction loses the observed counts."
],
[
"I13",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=18\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
"18",
24
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",18,24]",
"HOLD_CLAIM",
"Numeric string differs from integer count."
],
[
"I14",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=18\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
18
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",18,24]",
"HOLD_CLAIM",
"Missing denominator."
],
[
"I15",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=18\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
18,
24
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-2\",\"option-a\",18,24]",
"HOLD_ROUNDTRIP",
"Transport period changed."
],
[
"I16",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=18\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
18,
24
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",18,60]",
"HOLD_ROUNDTRIP",
"Transport denominator changed."
],
[
"I17",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=18\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
18,
24
],
"[broken",
"HOLD_WIRE",
"Malformed JSON."
],
[
"I18",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=18\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
18,
24
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",18,24,\"extra\"]",
"HOLD_ROUNDTRIP",
"Unexpected extra field."
],
[
"I19",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=option-a\nselected=18\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
18,
24
],
null,
"HOLD_WIRE",
"No received packet."
],
[
"I20",
"source=demo-consultation\nversion=v1\nscope=club-respondents\nperiod=trial-1\nmeasure=attendance\nselected=18\nrespondents=24",
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a"
],
[
"demo-consultation",
"v1",
"club-respondents",
"trial-1",
"option-a",
18,
24
],
"[\"demo-consultation\",\"v1\",\"club-respondents\",\"trial-1\",\"option-a\",18,24]",
"HOLD_CONTEXT",
"Same digits, different measured property."
]
];
for(const [id,s,c,a,w,want] of fixtures) console.log(id,capsule(s,c,a,w),want);The fixtures were authored for this demonstrator, not independently collected or adjudicated. The run compared the status strings. It does not test the quality of a real language model or independent interoperability between different implementations.
7. Systematic variation: 304 additional local checks
For every integer denominator from one through sixteen, the systematic loop tests all numerator values from zero through that denominator. It runs 152 valid round trips and 152 paired variants with an altered received denominator. All 304 expected outcomes matched. The positive cases additionally check the returned raw fraction. These are related generated cases, not 304 independent research observations.
function systematic(){
const c=["synthetic","v1","respondents","trial","choice"];
let valid=0,mutated=0;
for(let d=1;d<=16;d++)for(let n=0;n<=d;n++){
const text=`source=${c[0]}\nversion=${c[1]}\nscope=${c[2]}\nperiod=${c[3]}\nmeasure=${c[4]}\nselected=${n}\nrespondents=${d}`;
const a=[...c,n,d];
const good=capsule(text,c,a,JSON.stringify(a));
if(good.status!=="LOCAL_MATCH"||good.fraction!==`${n}/${d}`)throw Error("valid mismatch");
valid++;
const changed=[...c,n,d+1];
if(capsule(text,c,a,JSON.stringify(changed)).status!=="HOLD_ROUNDTRIP")throw Error("mutation accepted");
mutated++;
}
return {valid,mutated,total:valid+mutated};
}
console.log(systematic());The combined suite has 20 authored fixtures and 304 generated checks. A high count in this small input space is regression evidence only. It cannot establish accuracy on unrestricted text, other languages or a production graph. Independent teams should test the source annotation, other representations and previously unseen failure families.
8. Why the failure stage matters
Suppose the output reports 18/60. The correct response depends on where the number changed. A source error needs source-owner review. A mismatched context needs a reference correction. An altered candidate needs a source-supported repair. A corrupted transport packet needs a fresh, verified transfer. Rewriting the final answer alone may hide the upstream problem. This is why the return plane must preserve the stage, source version and appropriate responsible owner. A hold is an inspectable state, not an invitation to invent the missing information.
A subsequent development task can compose earlier independently tested implementations through explicit adapters. It should compare expected and actual stage records, including deliberate upstream corruption shared by downstream components. Until that happens, do not label this original local pipeline a complete installed VocabularyOS stack.
9. Learning at the centre and engineering at the edge
| Ladder range | Observable operation |
|---|---|
| L0–L4 | Attend to the notice, identify the group, name the count, explain the fraction and recall the distinction. |
| L5–L8 | Encode the quantities, relate the part and whole, combine an accurate statement and disambiguate the denominator. |
| L9–L11 | Transfer to a fresh survey, interpret the altered claim and formalise a bounded record. |
| L12–L15 | Trace a release change, critique a corrupted transfer, govern a reviewed contract and test a needed distinction. |
The L0–L15 vocabulary ladder and Fencing Method are original eduKate teaching proposals, not validated assessment scales. For Secondary 1, use a labelled fraction problem. For Secondary 2, paraphrase without changing the group. For Secondary 3, distinguish measured counts from the population. For Secondary 4, explain why a source may support a narrower conclusion. Select age-appropriate tasks and actual subject guidance rather than require a technical exercise for every learner.
10. Four-week integration laboratory
| Week | Activity | Evidence |
|---|---|---|
| 1 | Freeze the source grammar and independently review synthetic meaning records. | Clear task, reference and refusal conditions. |
| 2 | Reproduce the authored and generated cases in another implementation. | Exact stage outputs and discrepancies. |
| 3 | Introduce separately reviewed adapters to earlier components and simulate corrections. | Cross-component dataflow tests, version changes and unresolved dependencies. |
| 4 | Compare an authorised fresh learning task with a matched plain explanation. | Independent transfer, time and teacher effort, reported separately from software tests. |
No human learning study was performed. Any study involving students requires applicable permissions, consent or assent, appropriate access support and privacy safeguards. Keep real learner evidence out of public fixtures. Do not deploy this demonstration as a security or assessment service. A meaningful next release requires independent source and implementation review as well as a real integration test.
