Edge Technology for Vocabulary needs to test a word’s meaning where its consequences change. Semantic Boundary Testing converts a reviewed integer condition into endpoint probes, exposing differences such as at least versus more than before an AI explanation or calculation is released.
This original eduKate VocabularyOS prototype was locally executed on twelve authored cases and 264 systematic interval checks. It is a bounded demonstrator, not a general definition parser, a deployed educational product or independent evidence of learning improvement.
- Preserve inclusive and exclusive endpoints.
- Distinguish empty valid sets from unsupported input.
- Generate exact boundary and near-boundary probes.
- Verify status, count and membership against a separate enumeration.
- Connect executable meaning to independent vocabulary transfer.
Contents
- 1. Why a definition needs a boundary witness
- 2. The executable meaning contract
- 3. Fencing the word from the centre to the edge
- 4. Executable local boundary generator
- 5. Executed synthetic cases and systematic verification
- 6. VocabularyOS: a boundary test receipt
- 7. Learning operations L0–L15
- 8. Four-week research laboratory
- 9. Connected eduKate research
1. Why a definition needs a boundary witness
A fictional exercise asks whether a count is at least four and fewer than eight. A learner answers correctly for six but includes eight. An AI that tests only comfortable middle examples may appear to understand the rule while failing exactly where the result changes. The earlier Counterexample Boundary Tutor proposed teaching with positive and negative cases. Here the narrower engineering problem is to generate the integer cases immediately around every declared endpoint and verify the resulting membership labels.
This is not a claim that all words have precise numerical boundaries. Words such as tall and suitable may depend on a context, convention or judgment. The present example starts after a teacher or reviewer has supplied a precise integer condition. An ambiguous or context-dependent definition needs clarification rather than an invented cutoff.
2. The executable meaning contract
| Field | Declared meaning |
|---|---|
| lo, hi | Finite integer endpoints in the range -100 to 100. |
| includeLo | Whether the lower endpoint belongs to the set. |
| includeHi | Whether the upper endpoint belongs to the set. |
| points | Distinct probes at each endpoint and one integer on either side. |
| count | Number of accepted integers; not a measured real-world population. |
| EMPTY | No integer satisfies the reviewed rule. |
| HOLD_INPUT | The proposed representation is outside the contract. |
For the interval from four through seven, including both endpoints, the accepted integers are 4, 5, 6 and 7. Excluding the lower endpoint leaves 5, 6 and 7. Excluding both endpoints leaves 5 and 6. When the endpoints coincide, the interval contains that one integer only if both inclusion flags are true. A valid but empty set differs from malformed input. Continuous quantities, uncertain endpoints, rounding, units and dates require different contracts.
3. Fencing the word from the centre to the edge
Start with the plain meaning of at least four. Add the exact lower boundary: four is included. Add the upper constraint: fewer than eight excludes eight. Compare three, four, seven and eight before choosing a convenient middle example. Finally change the sentence to more than four and ask the learner which answer changes. This develops a distinction that can be checked without requiring a child to write a programme.
| Probe | At least 4 and fewer than 8 |
|---|---|
| 3 | Outside |
| 4 | Inside |
| 7 | Inside |
| 8 | Outside |
At Secondary 1 this supports number-line interpretation; at Secondary 2 it supports inequality notation; at Secondary 3 and 4 it connects conditions, domains and admissible answers. These are possible teaching uses, not a new MOE syllabus or marking scheme.
4. Executable local boundary generator
function boundary(rule){
if(!rule||!Number.isInteger(rule.lo)||!Number.isInteger(rule.hi)||rule.lo< -100||rule.hi>100||rule.lo>rule.hi||typeof rule.includeLo!=="boolean"||typeof rule.includeHi!=="boolean")return {status:"HOLD_INPUT"};
const accepts=x=>(x>rule.lo||x===rule.lo&&rule.includeLo)&&(x<rule.hi||x===rule.hi&&rule.includeHi);
const points=[...new Set([rule.lo-1,rule.lo,rule.lo+1,rule.hi-1,rule.hi,rule.hi+1])].sort((a,b)=>a-b);
const min=rule.lo+(rule.includeLo?0:1),max=rule.hi-(rule.includeHi?0:1);
return {status:min>max?"EMPTY":"READY",points:points.map(x=>[x,accepts(x)]),count:Math.max(0,max-min+1)};
}
The function generates a small deterministic probe set, computes the number of integers in the interval and marks empty ranges. The boundary labels come from the same reviewed condition. They are test candidates, not independent evidence that the condition represents the original sentence correctly. A separate source-reading and annotation check remains necessary.
5. Executed synthetic cases and systematic verification
The demonstrator was executed locally on 3 December 2026. All 12 of 12 authored cases passed. A further 264 integer intervals with endpoints from -5 to 5 and all four endpoint-inclusion combinations were checked against a separately coded enumeration of the accepted integers. The systematic comparison covered status, cardinality and all returned probe labels. Both implementations were authored in this session; the checks are reproducible but not independent validation.
| Case | Expected | Observed | Count |
|---|---|---|---|
| B01 | READY | READY | 4 |
| B02 | READY | READY | 3 |
| B03 | READY | READY | 3 |
| B04 | READY | READY | 2 |
| B05 | READY | READY | 1 |
| B06 | EMPTY | EMPTY | 0 |
| B07 | EMPTY | EMPTY | 0 |
| B08 | READY | READY | 3 |
| B09 | HOLD_INPUT | HOLD_INPUT | — |
| B10 | HOLD_INPUT | HOLD_INPUT | — |
| B11 | HOLD_INPUT | HOLD_INPUT | — |
| B12 | READY | READY | 201 |
const fixtures = [
[
"B01",
{
"lo": 4,
"hi": 7,
"includeLo": true,
"includeHi": true
},
4,
"READY"
],
[
"B02",
{
"lo": 4,
"hi": 7,
"includeLo": false,
"includeHi": true
},
3,
"READY"
],
[
"B03",
{
"lo": 4,
"hi": 7,
"includeLo": true,
"includeHi": false
},
3,
"READY"
],
[
"B04",
{
"lo": 4,
"hi": 7,
"includeLo": false,
"includeHi": false
},
2,
"READY"
],
[
"B05",
{
"lo": 5,
"hi": 5,
"includeLo": true,
"includeHi": true
},
1,
"READY"
],
[
"B06",
{
"lo": 5,
"hi": 5,
"includeLo": false,
"includeHi": true
},
0,
"EMPTY"
],
[
"B07",
{
"lo": 5,
"hi": 6,
"includeLo": false,
"includeHi": false
},
0,
"EMPTY"
],
[
"B08",
{
"lo": -4,
"hi": -1,
"includeLo": true,
"includeHi": false
},
3,
"READY"
],
[
"B09",
{
"lo": 8,
"hi": 2,
"includeLo": true,
"includeHi": true
},
null,
"HOLD_INPUT"
],
[
"B10",
{
"lo": 2.5,
"hi": 9,
"includeLo": true,
"includeHi": true
},
null,
"HOLD_INPUT"
],
[
"B11",
{
"lo": 0,
"hi": 4,
"includeLo": null,
"includeHi": true
},
null,
"HOLD_INPUT"
],
[
"B12",
{
"lo": -100,
"hi": 100,
"includeLo": true,
"includeHi": true
},
201,
"READY"
]
];
for(const [id,rule,count,status] of fixtures) console.log(id,boundary(rule),count,status);
function oracle(rule){
let values=[];
for(let x=-101;x<=101;x++)if(x>rule.lo-(rule.includeLo?1:0)&&x<rule.hi+(rule.includeHi?1:0))values.push(x);
return values;
}
function systematic(){
let checked=0;
for(let lo=-5;lo<=5;lo++)for(let hi=lo;hi<=5;hi++)for(const includeLo of [false,true])for(const includeHi of [false,true]){
const rule={lo,hi,includeLo,includeHi},r=boundary(rule),expected=oracle(rule),set=new Set(expected);
if(r.count!==expected.length||r.status!==(expected.length?"READY":"EMPTY")||r.points.some(([x,b])=>b!==set.has(x)))throw Error("boundary disagreement");
checked++;
}
return checked;
}
console.log(systematic());
A future evaluator should introduce previously unseen conditions, independently review the natural-language interpretation, and test different number domains. Boundary testing complements, rather than replaces, interior examples and transfer tasks.
6. VocabularyOS: a boundary test receipt
The source registry supplies the definition and its version. A sense record identifies the intended quantitative meaning. The boundary generator produces explicit near-miss probes. The regression gate runs those probes against a candidate implementation and records discrepancies. The recovery verifier can later require the same probes to pass against a repaired release. A boundary case is not evidence of real-world eligibility; a separate applicable policy and authority are required.
The useful record includes the condition identifier, domain, exact endpoints, inclusion flags, expected and observed probe labels, implementation version and review decision. Never treat a passed synthetic test as proof of an actual student’s mastery.
7. Learning operations L0–L15
| Rung | Observable operation |
|---|---|
| L0 | Attend to the rule |
| L1 | Identify the boundary words |
| L2 | Name the inequality |
| L3 | Explain endpoint inclusion |
| L4 | Recall later |
| L5 | Encode symbols |
| L6 | Relate the two endpoints |
| L7 | Combine the constraints |
| L8 | Disambiguate at least and more than |
| L9 | Transfer to a fresh interval |
| L10 | Interpret a near-miss |
| L11 | Formalise the domain |
| L12 | Trace a changed threshold |
| L13 | Critique a faulty answer |
| L14 | Maintain a reviewed rule |
| L15 | Propose and test a new distinction |
The eduKate ladder is a proposed educational framework, not a validated scale. Use an appropriate operation and a fresh task, rather than award a rank from one answer.
8. Four-week research laboratory
| Week | Activity | Evidence |
|---|---|---|
| 1 | Review synthetic interval phrases and annotate their precise meanings. | Independent annotations and disputed cases. |
| 2 | Reproduce the code and design endpoint mutants. | Expected/observed results and detected changes. |
| 3 | Compare a middle-example-only test with a boundary-aware suite. | Detection and false-hold rates on held-out cases. |
| 4 | Use authorised new learner tasks. | Independent explanation and delayed transfer, separated from software results. |
No learner experiment or production integration was performed. Any study involving students requires applicable school permissions, consent or assent, appropriate privacy and accessibility arrangements. The published code is for reproduction, not execution on the website.
