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 Source-Span Witness: Can AI Prove Where a Quoted Meaning Came From?

Three secondary students review open books and notes together in a classroom.

Edge Technology for Vocabulary needs a source witness that survives beyond a plausible citation. A quotation may occur several times in a document; the Source-Span Witness checks its source identity, version, position, exact text and adjoining context before reporting a match.

This original eduKate checker was executed on fourteen synthetic cases. It verifies a bounded textual location, not truth or entailment. It is not a deployed annotation service, an independent benchmark or evidence of improved learning.

  • Distinguish a source span from its claim.
  • Preserve source and edition identifiers.
  • Check Unicode code-point offsets and context.
  • Hold stale or malformed anchors.
  • Inspect reproducible synthetic results.

Contents

1. A quotation is not yet an argument

A student can copy a true phrase from the wrong speaker. An AI can attach a genuine reference to a claim the reference never establishes. The first step is a location witness: show precisely where the words occurred in a declared source representation. The next, separate step is semantic review: establish whether those words support the claimed interpretation, including qualifications, attribution and surrounding evidence.

The W3C Web Annotation Data Model defines text position and text quote selectors. It distinguishes exact quoted text from surrounding prefix and suffix and uses Unicode code-point positions. This local example uses analogous fields without implementing the standard’s normalization rules or complete annotation model. It does not retrieve or authenticate the source.

Back to contents

2. What must survive the handover

FieldMeaning
Source ID, versionDeclared edition
Start, endZero-based code-point interval, end exclusive
ExactQuoted substring
Prefix, suffixImmediately adjoining text
Claim supportSeparate reviewed judgement, outside the function
{
  "source": {
    "id": "demo",
    "version": "v1",
    "text": "Some respondents chose A. Some respondents chose B."
  },
  "anchor": {
    "source": "demo",
    "version": "v1",
    "start": 0,
    "end": 4,
    "exact": "Some",
    "prefix": "",
    "suffix": " respondents chose A."
  }
}

A version label does not authenticate content. A production system must bind a reviewed representation to its actual source, provenance and suitable integrity checks. Empty prefix or suffix supplies no contextual constraint. Even exact text can occur repeatedly; the location and context together identify the proposed occurrence.

Back to contents

3. Five Fencing moves

Start with the phrase Some respondents. Add the relevant sentence: those respondents chose A. Locate the specific occurrence. Preserve the group, attribution and edition. Finally examine whether the whole source supports the proposed conclusion. A learner should distinguish Some respondents chose B, even though the first two words are identical. A pencil underline can teach the same operation without software. At the edge the anchor makes it reproducible.

Back to contents

4. Executable local checker

function witness(source,anchor){
 const str=x=>typeof x==="string"&&!/[\uD800-\uDFFF]/u.test(x);
 if(!source||!anchor||![source.id,source.version,anchor.source,anchor.version].every(x=>str(x)&&x.length>0)||!str(source.text)||source.text.length>100000||!str(anchor.exact)||!anchor.exact.length||!str(anchor.prefix)||!str(anchor.suffix))return "HOLD_INPUT";
 if(source.id!==anchor.source||source.version!==anchor.version)return "HOLD_VERSION";
 const chars=Array.from(source.text),{start,end}=anchor;
 if(!Number.isSafeInteger(start)||!Number.isSafeInteger(end)||start<0||end<=start||end>chars.length)return "HOLD_RANGE";
 if(chars.slice(start,end).join("")!==anchor.exact)return "HOLD_QUOTE";
 const pre=Array.from(anchor.prefix).length,post=Array.from(anchor.suffix).length;
 if(start<pre||end+post>chars.length||chars.slice(start-pre,start).join("")!==anchor.prefix||chars.slice(end,end+post).join("")!==anchor.suffix)return "HOLD_CONTEXT";
 return "SPAN_MATCH";
}

SPAN_MATCH checks only the supplied text and anchor. HOLD_VERSION, HOLD_RANGE, HOLD_QUOTE and HOLD_CONTEXT identify different failures. The code counts Unicode code points, not UTF-16 units or grapheme clusters, and compares unnormalised strings exactly. It rejects ill-formed surrogate strings. The text-length bound is measured in JavaScript code units. A real implementation needs a declared extraction and normalization profile, resource limits, source authorization and separate semantic review.

Back to contents

5. Executed local synthetic regression suite

On 2 December 2026 the corrected fixture set was executed locally: 14 of 14 expected status strings matched. During development, the repeated-quotation fixture initially failed because its start index was 25 rather than 26. The fixture was corrected to point to the second occurrence, not the preceding space. This is a documented test-data correction, not an alteration of the checker or a changed expected verdict.

IDExpectedObservedPurpose
S01SPAN_MATCHSPAN_MATCHExact span and context
S02HOLD_CONTEXTHOLD_CONTEXTRepeated quote at wrong occurrence
S03HOLD_QUOTEHOLD_QUOTEAltered quantifier
S04HOLD_VERSIONHOLD_VERSIONStale edition
S05HOLD_VERSIONHOLD_VERSIONWrong source
S06HOLD_RANGEHOLD_RANGEOutside text
S07HOLD_RANGEHOLD_RANGEEmpty interval
S08SPAN_MATCHSPAN_MATCHUnicode code-point positions
S09HOLD_QUOTEHOLD_QUOTEWrong UTF-16-style position
S10HOLD_CONTEXTHOLD_CONTEXTChanged context
S11HOLD_CONTEXTHOLD_CONTEXTPrefix outside text
S12HOLD_RANGEHOLD_RANGEFractional offset
S13HOLD_INPUTHOLD_INPUTEmpty quote
S14HOLD_QUOTEHOLD_QUOTESame claimed version, altered text
const fixtures = [
  {
    "id": "S01",
    "source": {
      "id": "demo",
      "version": "v1",
      "text": "Some respondents chose A. Some respondents chose B."
    },
    "anchor": {
      "source": "demo",
      "version": "v1",
      "start": 0,
      "end": 4,
      "exact": "Some",
      "prefix": "",
      "suffix": " respondents chose A."
    },
    "want": "SPAN_MATCH"
  },
  {
    "id": "S02",
    "source": {
      "id": "demo",
      "version": "v1",
      "text": "Some respondents chose A. Some respondents chose B."
    },
    "anchor": {
      "source": "demo",
      "version": "v1",
      "start": 26,
      "end": 30,
      "exact": "Some",
      "prefix": "",
      "suffix": " respondents chose A."
    },
    "want": "HOLD_CONTEXT"
  },
  {
    "id": "S03",
    "source": {
      "id": "demo",
      "version": "v1",
      "text": "Some respondents chose A. Some respondents chose B."
    },
    "anchor": {
      "source": "demo",
      "version": "v1",
      "start": 0,
      "end": 4,
      "exact": "All",
      "prefix": "",
      "suffix": " respondents chose A."
    },
    "want": "HOLD_QUOTE"
  },
  {
    "id": "S04",
    "source": {
      "id": "demo",
      "version": "v2",
      "text": "Some respondents chose A. Some respondents chose B."
    },
    "anchor": {
      "source": "demo",
      "version": "v1",
      "start": 0,
      "end": 4,
      "exact": "Some",
      "prefix": "",
      "suffix": " respondents chose A."
    },
    "want": "HOLD_VERSION"
  },
  {
    "id": "S05",
    "source": {
      "id": "other",
      "version": "v1",
      "text": "Some respondents chose A. Some respondents chose B."
    },
    "anchor": {
      "source": "demo",
      "version": "v1",
      "start": 0,
      "end": 4,
      "exact": "Some",
      "prefix": "",
      "suffix": " respondents chose A."
    },
    "want": "HOLD_VERSION"
  },
  {
    "id": "S06",
    "source": {
      "id": "demo",
      "version": "v1",
      "text": "Some respondents chose A. Some respondents chose B."
    },
    "anchor": {
      "source": "demo",
      "version": "v1",
      "start": 0,
      "end": 999,
      "exact": "Some",
      "prefix": "",
      "suffix": " respondents chose A."
    },
    "want": "HOLD_RANGE"
  },
  {
    "id": "S07",
    "source": {
      "id": "demo",
      "version": "v1",
      "text": "Some respondents chose A. Some respondents chose B."
    },
    "anchor": {
      "source": "demo",
      "version": "v1",
      "start": 0,
      "end": 0,
      "exact": "Some",
      "prefix": "",
      "suffix": " respondents chose A."
    },
    "want": "HOLD_RANGE"
  },
  {
    "id": "S08",
    "source": {
      "id": "science",
      "version": "v1",
      "text": "A 🧪 result is provisional."
    },
    "anchor": {
      "source": "science",
      "version": "v1",
      "start": 4,
      "end": 10,
      "exact": "result",
      "prefix": "🧪 ",
      "suffix": " is"
    },
    "want": "SPAN_MATCH"
  },
  {
    "id": "S09",
    "source": {
      "id": "science",
      "version": "v1",
      "text": "A 🧪 result is provisional."
    },
    "anchor": {
      "source": "science",
      "version": "v1",
      "start": 5,
      "end": 11,
      "exact": "result",
      "prefix": "🧪 ",
      "suffix": " is"
    },
    "want": "HOLD_QUOTE"
  },
  {
    "id": "S10",
    "source": {
      "id": "demo",
      "version": "v1",
      "text": "Some respondents chose A. Some respondents chose B."
    },
    "anchor": {
      "source": "demo",
      "version": "v1",
      "start": 0,
      "end": 4,
      "exact": "Some",
      "prefix": "",
      "suffix": " respondents chose B."
    },
    "want": "HOLD_CONTEXT"
  },
  {
    "id": "S11",
    "source": {
      "id": "demo",
      "version": "v1",
      "text": "Some respondents chose A. Some respondents chose B."
    },
    "anchor": {
      "source": "demo",
      "version": "v1",
      "start": 0,
      "end": 4,
      "exact": "Some",
      "prefix": "x",
      "suffix": " respondents chose A."
    },
    "want": "HOLD_CONTEXT"
  },
  {
    "id": "S12",
    "source": {
      "id": "demo",
      "version": "v1",
      "text": "Some respondents chose A. Some respondents chose B."
    },
    "anchor": {
      "source": "demo",
      "version": "v1",
      "start": 0.5,
      "end": 4,
      "exact": "Some",
      "prefix": "",
      "suffix": " respondents chose A."
    },
    "want": "HOLD_RANGE"
  },
  {
    "id": "S13",
    "source": {
      "id": "demo",
      "version": "v1",
      "text": "Some respondents chose A. Some respondents chose B."
    },
    "anchor": {
      "source": "demo",
      "version": "v1",
      "start": 0,
      "end": 4,
      "exact": "",
      "prefix": "",
      "suffix": " respondents chose A."
    },
    "want": "HOLD_INPUT"
  },
  {
    "id": "S14",
    "source": {
      "id": "demo",
      "version": "v1",
      "text": "All respondents chose A."
    },
    "anchor": {
      "source": "demo",
      "version": "v1",
      "start": 0,
      "end": 4,
      "exact": "Some",
      "prefix": "",
      "suffix": " respondents chose A."
    },
    "want": "HOLD_QUOTE"
  }
];
for(const x of fixtures) console.log(x.id,witness(x.source,x.anchor),x.want);

These tests are author-defined, not independent evaluation. They do not establish entailment, completeness, source reliability or retrieval accuracy. The code is published for reproduction, not executed on the website.

Back to contents

6. From Secondary 1 to Secondary 4

In Secondary 1 reading, identify who spoke and which event is described. In Secondary 2, preserve the original referent in a paraphrase. In Secondary 3 Science, distinguish an observation from an inferred mechanism. In Secondary 4, check whether a cited passage actually supports an argument. A matching phrase such as effective may be part of an opinion rather than a measured result. The learning evidence is a new independent explanation of the evidence, not a software match.

Back to contents

7. Centre-to-edge vocabulary learning

RungObservable operation
L0Attend to the passage
L1Identify the relevant words
L2Name the source
L3Explain the quotation
L4Recall the distinction
L5Encode the span
L6Relate quote and claim
L7Combine a faithful answer
L8Disambiguate repeated wording
L9Transfer to a fresh passage
L10Interpret context
L11Apply a formal source convention
L12Trace editions
L13Critique a misleading citation
L14Maintain reviewed evidence
L15Propose a testable new distinction

The proposed eduKate ladder is not an official grade scale or validated measurement instrument. Appropriate access support remains available. Do not infer mastery from a copied quotation.

Back to contents

8. VocabularyOS integration and four-week laboratory

The source registry retains the representation and version; the span witness checks location; human or otherwise appropriately verified adjudication establishes source facts; the semantic test harness compares the candidate claim; the return plane marks affected items for review after correction. A successful structural match does not grant permission to disclose private content.

WeekTaskEvidence
1Review synthetic passages and repeated expressionsSource-grounded annotations
2Reproduce the suite and add independent Unicode casesObserved matches and holds
3Test text extraction and source-to-claim review separatelyExtraction errors versus entailment errors
4Use an authorised fresh reading taskIndependent transfer and teacher effort

No human experiment or production deployment occurred. Research with children requires appropriate permissions, consent or assent, privacy safeguards and suitable access arrangements. Use synthetic or appropriately authorized sources and minimize private data.

Back to contents

9. Sources and connected research

Back to contents