Edge Technology for Vocabulary needs to know which meanings a complex explanation depends on. Semantic Dependency Ordering turns a reviewed prerequisite graph into a task-specific sequence while detecting missing and circular prerequisites.
This original eduKate VocabularyOS demonstrator passed twelve authored tests and 1,024 systematic graph-and-evidence checks. It orders supplied relationships, not natural language or real students. It is a bounded prototype, not a deployed learning system or independent evidence of educational improvement.
- Distinguish prerequisite order from practice scheduling.
- Preserve shared dependencies and evidence states.
- Hold missing or circular prerequisite chains.
- Check closure membership and ordering systematically.
- Use the Fencing Method for a fresh learner explanation.
Contents
- 1. A word list is not a dependency structure
- 2. The prerequisite contract
- 3. A concrete percentage interpretation
- 4. Executable local dependency planner
- 5. Actual local execution
- 6. VocabularyOS integration
- 7. The centre-to-edge learning ladder
- 8. Four-week validation laboratory
- 9. Connected research
1. A word list is not a dependency structure
A learner may correctly read the word percentage but still calculate a proportion using the wrong reference group. Repeating a definition of percentage alone may not repair the missing relationship. A teacher might need to establish what fraction of a whole means, identify the relevant group, then combine the ideas into an interpretation. The order is determined by the intended task, not by alphabetic sorting or a universal assumption about which word is easy.
The existing operation-aware scheduler addresses what practice to offer next and when. This article addresses an earlier, narrower question: given a reviewed set of prerequisites, which operations must precede the target? The result is a task-specific dependency order, not a diagnosis of the learner or an empirically established curriculum.
2. The prerequisite contract
| Field | Meaning |
|---|---|
| id | Stable identifier for a meaning or learning operation. |
| requires | The operations explicitly reviewed as prerequisites for this target. |
| evidence | Demonstrated or needs_check for the relevant task, as supplied by a reviewer. |
| ordered | Prerequisites followed by their dependants. |
| pending | Members of the order still needing an evidence check. |
| HOLD_MISSING | A reachable prerequisite is absent. |
| HOLD_CYCLE | A reachable prerequisite chain returns to an earlier node. |
Two senses of the same word must have different identifiers where their prerequisites differ. Demonstrated does not mean permanently mastered; it is a supplied observation whose context and age of evidence must be reviewed outside the function. A missing prerequisite should not be invented. A cycle indicates that this plan cannot be arranged under the specified dependency model; a teacher may need to treat the ideas jointly or replace an overstrong prerequisite with a more accurate relationship.
3. A concrete percentage interpretation
| Operation | Reviewed prerequisites | Illustrative evidence |
|---|---|---|
| fraction | None | Needs check |
| reference-group | None | Demonstrated |
| percentage | Fraction and reference-group | Needs check |
| interpret | Percentage | Needs check |
The proposed order first identifies fraction and reference group, then percentage, then interpretation. Pending excludes the already demonstrated reference-group operation, but the output retains it as part of the explanation’s dependency structure. If the final operation is marked demonstrated while an earlier prerequisite needs a check, the system does not silently infer that the missing evidence exists. The teacher can decide whether to investigate, adapt the plan or reassess the prerequisite claim.
Use Fencing: explain the whole in ordinary words, add a simple fraction, identify the relevant denominator, combine it into a percentage and transfer to a fresh task. The prerequisite graph is a planning aid for the teacher. It is not a replacement for observation, choice of examples, or the learner’s own explanation.
4. Executable local dependency planner
function order(nodes,target){
if(!Array.isArray(nodes)||!nodes.length||nodes.length>100||typeof target!=="string")return {status:"HOLD_INPUT"};
const valid=n=>n&&typeof n.id==="string"&&n.id.length>0&&["demonstrated","needs_check"].includes(n.evidence)&&Array.isArray(n.requires)&&n.requires.every(x=>typeof x==="string"&&x.length>0)&&new Set(n.requires).size===n.requires.length;
if(!nodes.every(valid)||new Set(nodes.map(n=>n.id)).size!==nodes.length)return {status:"HOLD_NODE"};
const index=new Map(nodes.map(n=>[n.id,n]));
if(!index.has(target))return {status:"HOLD_TARGET"};
const done=new Set(),stack=[],ordered=[];
let failure=null;
function visit(id){
if(done.has(id))return true;
const k=stack.indexOf(id);
if(k!==-1){failure={status:"HOLD_CYCLE",cycle:[...stack.slice(k),id]};return false}
if(!index.has(id)){failure={status:"HOLD_MISSING",id};return false}
stack.push(id);
for(const req of [...index.get(id).requires].sort())if(!visit(req))return false;
stack.pop();done.add(id);ordered.push(id);return true;
}
if(!visit(target))return failure;
return {status:"ORDERED",ordered,pending:ordered.filter(id=>index.get(id).evidence==="needs_check")};
}
The function validates a bounded registry, walks the target’s reachable prerequisites and visits them before their dependant. A completed set prevents a shared prerequisite from appearing twice. Sorted prerequisite IDs make the result deterministic for the same input relationships. Unrelated validly formed records with missing links are not traversed. Duplicate identifiers or malformed node records are rejected across the supplied registry. This is one valid topological order, not necessarily the most efficient teaching sequence.
5. Actual local execution
12 of 12 authored synthetic fixtures passed on 3 December 2026. A further 1,024 acyclic graph-and-evidence combinations were systematically checked: all 64 possible forward-only edge sets on four named nodes, crossed with 16 evidence masks. A separately coded fixed-point reachability calculation checked membership of the target closure, prerequisite precedence and pending-task selection. This does not cover every possible graph, cycle or natural-language interpretation.
| Case | Expected | Observed | Detail |
|---|---|---|---|
| D01 | ORDERED | ORDERED | fraction → reference-group → percentage → interpret |
| D02 | ORDERED | ORDERED | fraction → reference-group → percentage → interpret |
| D03 | ORDERED | ORDERED | reference-group |
| D04 | ORDERED | ORDERED | a → b → c → d |
| D05 | HOLD_MISSING | HOLD_MISSING | b |
| D06 | HOLD_CYCLE | HOLD_CYCLE | a → a |
| D07 | HOLD_CYCLE | HOLD_CYCLE | a → b → a |
| D08 | HOLD_NODE | HOLD_NODE | — |
| D09 | HOLD_NODE | HOLD_NODE | — |
| D10 | HOLD_TARGET | HOLD_TARGET | — |
| D11 | ORDERED | ORDERED | a |
| D12 | ORDERED | ORDERED | a → b |
const fixtures = [
[
"D01",
[
{
"id": "fraction",
"requires": [],
"evidence": "needs_check"
},
{
"id": "reference-group",
"requires": [],
"evidence": "demonstrated"
},
{
"id": "percentage",
"requires": [
"fraction",
"reference-group"
],
"evidence": "needs_check"
},
{
"id": "interpret",
"requires": [
"percentage"
],
"evidence": "needs_check"
}
],
"interpret",
{
"status": "ORDERED",
"ordered": [
"fraction",
"reference-group",
"percentage",
"interpret"
],
"pending": [
"fraction",
"percentage",
"interpret"
]
}
],
[
"D02",
[
{
"id": "interpret",
"requires": [
"percentage"
],
"evidence": "needs_check"
},
{
"id": "percentage",
"requires": [
"fraction",
"reference-group"
],
"evidence": "needs_check"
},
{
"id": "reference-group",
"requires": [],
"evidence": "demonstrated"
},
{
"id": "fraction",
"requires": [],
"evidence": "needs_check"
}
],
"interpret",
{
"status": "ORDERED",
"ordered": [
"fraction",
"reference-group",
"percentage",
"interpret"
],
"pending": [
"fraction",
"percentage",
"interpret"
]
}
],
[
"D03",
[
{
"id": "fraction",
"requires": [],
"evidence": "needs_check"
},
{
"id": "reference-group",
"requires": [],
"evidence": "demonstrated"
},
{
"id": "percentage",
"requires": [
"fraction",
"reference-group"
],
"evidence": "needs_check"
},
{
"id": "interpret",
"requires": [
"percentage"
],
"evidence": "needs_check"
}
],
"reference-group",
{
"status": "ORDERED",
"ordered": [
"reference-group"
],
"pending": []
}
],
[
"D04",
[
{
"id": "a",
"requires": [],
"evidence": "needs_check"
},
{
"id": "b",
"requires": [
"a"
],
"evidence": "needs_check"
},
{
"id": "c",
"requires": [
"a"
],
"evidence": "needs_check"
},
{
"id": "d",
"requires": [
"c",
"b"
],
"evidence": "needs_check"
}
],
"d",
{
"status": "ORDERED",
"ordered": [
"a",
"b",
"c",
"d"
],
"pending": [
"a",
"b",
"c",
"d"
]
}
],
[
"D05",
[
{
"id": "a",
"requires": [
"b"
],
"evidence": "needs_check"
}
],
"a",
{
"status": "HOLD_MISSING",
"id": "b"
}
],
[
"D06",
[
{
"id": "a",
"requires": [
"a"
],
"evidence": "needs_check"
}
],
"a",
{
"status": "HOLD_CYCLE",
"cycle": [
"a",
"a"
]
}
],
[
"D07",
[
{
"id": "a",
"requires": [
"b"
],
"evidence": "needs_check"
},
{
"id": "b",
"requires": [
"a"
],
"evidence": "needs_check"
}
],
"a",
{
"status": "HOLD_CYCLE",
"cycle": [
"a",
"b",
"a"
]
}
],
[
"D08",
[
{
"id": "a",
"requires": [],
"evidence": "needs_check"
},
{
"id": "a",
"requires": [],
"evidence": "needs_check"
}
],
"a",
{
"status": "HOLD_NODE"
}
],
[
"D09",
[
{
"id": "a",
"requires": [
"b",
"b"
],
"evidence": "needs_check"
},
{
"id": "b",
"requires": [],
"evidence": "needs_check"
}
],
"a",
{
"status": "HOLD_NODE"
}
],
[
"D10",
[
{
"id": "a",
"requires": [],
"evidence": "needs_check"
}
],
"x",
{
"status": "HOLD_TARGET"
}
],
[
"D11",
[
{
"id": "a",
"requires": [],
"evidence": "needs_check"
},
{
"id": "unrelated",
"requires": [
"absent"
],
"evidence": "needs_check"
}
],
"a",
{
"status": "ORDERED",
"ordered": [
"a"
],
"pending": [
"a"
]
}
],
[
"D12",
[
{
"id": "a",
"requires": [],
"evidence": "needs_check"
},
{
"id": "b",
"requires": [
"a"
],
"evidence": "demonstrated"
}
],
"b",
{
"status": "ORDERED",
"ordered": [
"a",
"b"
],
"pending": [
"a"
]
}
]
];
for(const [id,nodes,target,want] of fixtures) console.log(id,order(nodes,target),want);
function crosscheck(){
const names=["a","b","c","d"],pairs=[];
for(let i=0;i<4;i++)for(let j=0;j<i;j++)pairs.push([i,j]);
let count=0;
for(let graph=0;graph<64;graph++)for(let evidence=0;evidence<16;evidence++){
const nodes=names.map((id,i)=>({id,evidence:evidence&(1<<i)?"demonstrated":"needs_check",requires:pairs.filter(([k],j)=>k===i&&(graph&(1<<j))).map(([,j])=>names[j])}));
const target="d",need=new Set([target]);
let size=-1;while(size!==need.size){size=need.size;for(const item of nodes)if(need.has(item.id))for(const req of item.requires)need.add(req)}
const r=order(nodes,target),pos=new Map(r.ordered?.map((x,i)=>[x,i]));
if(r.status!=="ORDERED"||pos.size!==need.size||[...need].some(id=>!pos.has(id))||nodes.some(x=>need.has(x.id)&&x.requires.some(req=>pos.get(req)>=pos.get(x.id)))||JSON.stringify(r.pending)!==JSON.stringify(r.ordered.filter(id=>nodes.find(x=>x.id===id).evidence==="needs_check")))throw Error("order disagreement");
count++;
}
return count;
}
console.log(crosscheck());
The systematic test checks the returned order rather than requiring a particular valid ordering. The authored cases check exact ordering and hold responses. Both routines are author-written. Independent evaluation and classroom evidence remain outstanding.
6. VocabularyOS integration
Sense binding supplies the exact operation IDs. The reviewed dependency register supplies prerequisites. The ordering component produces a bounded explanation plan. An operation-aware scheduler may choose which pending item to practise now using separately observed evidence. When a definition changes, the dependency revalidation cache or correction workflow can identify which records need another review. No automatic promotion, compulsory pathway or real learner placement follows from the graph.
A production dependency graph needs explicit versioning, provenance, authorisation, cycle resolution, context-specific prerequisites and evidence retention policies. It should permit a teacher to explain why an edge exists and to correct it without treating a proposed dependency as universal truth.
7. The centre-to-edge learning ladder
| Rung | Task |
|---|---|
| L0 | Attend to the intended explanation |
| L1 | Identify required meanings |
| L2 | Name each operation |
| L3 | Explain the prerequisite relationship |
| L4 | Recall later |
| L5 | Encode the graph |
| L6 | Relate prerequisite and dependant |
| L7 | Combine an explanation |
| L8 | Disambiguate identical word labels |
| L9 | Transfer to a new target |
| L10 | Interpret the order |
| L11 | Formalise the reviewed constraint |
| L12 | Trace a changed prerequisite |
| L13 | Critique a misleading dependency |
| L14 | Maintain reviewed evidence |
| L15 | Propose and test a new pathway |
The ladder is an original educational proposal, not an official scale. A learner need not complete all sixteen operations in sequence. In Secondary 1–4, a paper diagram or a short verbal plan may be enough. Check whether independent explanation actually improves.
8. Four-week validation laboratory
| Week | Activity | Evidence |
|---|---|---|
| 1 | Compare teacher-authored prerequisite graphs for fictional tasks. | Reviewed edges and disagreements. |
| 2 | Reproduce authored and systematic cases; add independently written graphs. | Ordering and hold outcomes. |
| 3 | Compare two valid instructional orders against a plain explanation. | Task completion, review effort, errors. |
| 4 | With appropriate permissions, inspect fresh and delayed learner explanations. | Independent transfer, not merely software success. |
The published demonstration uses only synthetic records. No learner study, live school-system integration or independently validated benchmark was performed. Research with children requires applicable school permission, consent or assent, privacy safeguards and suitable access support.
