VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Edge Technology for Vocabulary | The Semantic Event Idempotency Guard: Can AI Distinguish a Repeated Message From a New Event?

Three students in school uniforms work through open books at a classroom table, with textbooks and stationery nearby and study notes on the whiteboard behind them.

Edge Technology for Vocabulary | The Semantic Event Idempotency Guard: Can AI Distinguish a Repeated Message From a New Event?. A notice reports one submission twice because a message was retried. Two messages do not establish two submissions. Conversely, two distinct submissions can have identical wording. The distinction belongs to event identity, not textual similarity. This toy model counts signed deltas for synthetic event IDs; it assumes all inputs belong to one intended aggregation and that the source has already established their meaning. A repeated ID with different content is held rather than overwritten.

This original eduKate VocabularyOS component was locally executed on eight authored synthetic fixtures on 3 December 2026. It is a bounded research demonstrator, not a deployed service or independently validated learning intervention.

  • Preserve the specific meaning contract before computing.
  • Distinguish a successful check from source truth or permission.
  • Inspect the executable code and actual regression fixtures.
  • Use the Fencing Method to teach a fresh independent example.

The centre and the edge

Use two cards bearing the same event ID and one card with a different ID. Ask whether the count is two or three, then change the repeated card’s value and ask why a reviewer must inspect the conflict.

Primary and PSLE vocabulary develops the ordinary meaning of the relevant expressions. Secondary learners can compare the same words in different tasks and explain the consequences of changing their scope. The engineering layer represents that distinction explicitly, without requiring children to program.

Executable local prototype

function replay(events){const seen=new Map();let total=0;for(const x of events){if(!x||typeof x.id!=="string"||!x.id||!Number.isSafeInteger(x.delta)||typeof x.scope!=="string"||!x.scope)return {status:"HOLD_INPUT"};const key=JSON.stringify([x.scope,x.delta]);if(seen.has(x.id)){if(seen.get(x.id)!==key)return {status:"HOLD_CONFLICT"};continue}seen.set(x.id,key);total+=x.delta;if(!Number.isSafeInteger(total))return {status:"HOLD_RANGE"}}return {status:"OK",total}}

Actual test results

8 of 8 synthetic tests passed. Expected and observed outputs are included below. These fixtures were authored alongside the implementation; they do not establish general reliability.

const fixtures = [
  {
    "id": 1,
    "args": [
      [
        {
          "id": "a",
          "delta": 1,
          "scope": "club"
        },
        {
          "id": "a",
          "delta": 1,
          "scope": "club"
        }
      ]
    ],
    "want": {
      "status": "OK",
      "total": 1
    },
    "got": {
      "status": "OK",
      "total": 1
    }
  },
  {
    "id": 2,
    "args": [
      [
        {
          "id": "a",
          "delta": 1,
          "scope": "club"
        },
        {
          "id": "b",
          "delta": 1,
          "scope": "club"
        }
      ]
    ],
    "want": {
      "status": "OK",
      "total": 2
    },
    "got": {
      "status": "OK",
      "total": 2
    }
  },
  {
    "id": 3,
    "args": [
      [
        {
          "id": "a",
          "delta": 1,
          "scope": "club"
        },
        {
          "id": "a",
          "delta": 2,
          "scope": "club"
        }
      ]
    ],
    "want": {
      "status": "HOLD_CONFLICT"
    },
    "got": {
      "status": "HOLD_CONFLICT"
    }
  },
  {
    "id": 4,
    "args": [
      [
        {
          "id": "a",
          "delta": 1,
          "scope": "club"
        },
        {
          "id": "a",
          "delta": 1,
          "scope": "other"
        }
      ]
    ],
    "want": {
      "status": "HOLD_CONFLICT"
    },
    "got": {
      "status": "HOLD_CONFLICT"
    }
  },
  {
    "id": 5,
    "args": [
      []
    ],
    "want": {
      "status": "OK",
      "total": 0
    },
    "got": {
      "status": "OK",
      "total": 0
    }
  },
  {
    "id": 6,
    "args": [
      [
        {
          "id": "",
          "delta": 1,
          "scope": "club"
        }
      ]
    ],
    "want": {
      "status": "HOLD_INPUT"
    },
    "got": {
      "status": "HOLD_INPUT"
    }
  },
  {
    "id": 7,
    "args": [
      [
        {
          "id": "a",
          "delta": 1.5,
          "scope": "club"
        }
      ]
    ],
    "want": {
      "status": "HOLD_INPUT"
    },
    "got": {
      "status": "HOLD_INPUT"
    }
  },
  {
    "id": 8,
    "args": [
      [
        {
          "id": "a",
          "delta": 2,
          "scope": "club"
        },
        {
          "id": "b",
          "delta": -1,
          "scope": "club"
        }
      ]
    ],
    "want": {
      "status": "OK",
      "total": 1
    },
    "got": {
      "status": "OK",
      "total": 1
    }
  }
];
for (const x of fixtures) console.log(x.id, replay(...x.args), x.want);

Fencing and the L0–L15 ladder

Begin with the accurate base meaning, add the relevant boundary, check a near-miss and transfer to a fresh example. L0 Attend establishes the task; L1–L5 identify, name, explain, recall and encode the distinction; L6–L9 relate, combine, disambiguate and transfer it; L10–L15 interpret, formalise, trace, critique, govern and pioneer where appropriate. These are proposed learning operations, not official grades or a compulsory sequence.

Integration and failure boundaries

The source register and reference binder must establish the input identities and applicable meanings. The local function checks only its declared structured contract. A release gate must independently inspect source validity, completeness, applicable authority and privacy. A successful result does not authorise a real action. Preserve unresolved cases and return corrections to the affected record rather than silently changing earlier evidence.

Four-week research laboratory

  • Week 1: annotate synthetic examples and review the intended contract.
  • Week 2: reproduce the eight fixtures and commission independent near-misses.
  • Week 3: compare with a simpler baseline; record false accepts, false holds and review effort.
  • Week 4: use a fresh authorised school-aligned task to examine independent transfer separately from technical performance.

No learner study or production integration was performed. Research involving children requires applicable permissions, consent or assent, privacy and accessibility safeguards. The website displays code rather than executing it.

References and connected research

Established technical background · VocabularyOS Conformance Capsule · Fencing Method · L0–L15 ladder