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 Executable Time Window: Can AI Preserve the Difference Between Before, By and Until?

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 becomes operational when a machine can preserve the difference between a deadline and an interval. A student reads ‘submit by 4 pm’ and ‘submit before 4 pm’ and treats both as identical at exactly 4 pm. An AI may do the same when rewriting an instruction or combining two notices. The proposed Executable Time Window converts a reviewed temporal meaning into a bounded comparison, retaining the action, opening and closing boundaries, time offset and uncertainty of an observed event.

This is an original eduKate VCE demonstrator, not a deployed calendar or admissions system. It connects school vocabulary and the Fencing Method to established timestamp and interval representations. The JavaScript below was executed locally on sixteen authored synthetic cases. Its narrow result concerns interval membership at one-second resolution, not unrestricted interpretation of English, automatic authorisation, or improved learning outcomes.

  • Keep action identity separate from clock values.
  • Preserve inclusive and exclusive bounds, offset and observation uncertainty.
  • Execute a narrow integer-second comparison and show actual results.
  • Distinguish a temporal result from authorisation to act.
  • Connect the mechanism to classroom Fencing and later independent transfer.

Contents

1. The vocabulary error becomes a scheduling error

The centre teaches before, by, after, from and until in context. The edge must make the intended boundary recoverable by a machine. A reporting time, submission deadline and activity start may all contain the same clock value but describe different actions. Comparing the right number to the wrong event still gives a wrong decision. In a real notice, the actual issuer’s rule and submission mechanism govern; this article does not declare that every use of by or until has a universal boundary rule. Resolve the actual intended rule first. A child can practise with two paper notices that differ by one phrase and explain the consequences at the boundary.

Consider the illustrative requirement to submit no later than 4 pm on a stated date. At the stipulated second, the inclusive upper bound permits the recorded timestamp. If the rule instead explicitly excludes that instant, the same timestamp is outside. This is a semantic difference with a mathematical representation. A portal might close earlier, use finer time resolution or define a different receipt event. The machine should not infer those details from the dictionary definition alone.

Back to contents

2. The meaning record before execution

FieldPurpose
actionIdentify the exact event being compared, such as receipt of a form.
start / endExplicit bounds with offset, or null for an unbounded side.
closedStart / closedEndWhether each finite boundary is included.
earliest / latestBounds of the possible time of the recorded event, rather than a fabricated exact instant.
source and versionRequired in a production envelope; not inferred from a timestamp.

The local function trusts the reviewed input semantics. An exact observation has equal earliest and latest values. An uncertain observation represents every supported integer second between the two bounds. A result of ALL_INSIDE means all those possible ticks fit the declared window. ALL_OUTSIDE means no possible tick fits. OVERLAP_UNCERTAIN means the observation permits both outcomes. None of these verdicts establishes that the action really occurred or that the person is eligible.

Back to contents

3. Existing technology and the proposed extension

The W3C OWL-Time specification describes temporal instants, intervals and relationships between them. Its published 2022 document is a Candidate Recommendation Draft. RFC 3339 defines a timestamp representation with an offset; RFC 9557 extends timestamp information, including time-zone annotations. These are established technical foundations, not methods for deciding the intended meaning of a school notice.

The original code is a deliberately restricted timestamp parser and interval policy, not a conforming implementation of all those standards. It accepts uppercase T and Z, whole seconds, calendar years 2000–2099 and explicit offsets within fourteen hours. It declines leap seconds, fractional seconds, named time zones, unknown local offsets, relative dates and daylight-saving interpretation. A real system should use a tested temporal library and preserve the authority and clock precision in its source contract.

Back to contents

4. Fencing an ordinary sentence into an executable rule

Start with the actual sentence and identify the requested action. Add the date and clock context. Confirm whether the boundary is included. Add the recorded observation and its precision. Compare, then explain the result in ordinary words. The student does not need to see a software schema. For example, ‘Submit before 4 pm on 9 December’ in the synthetic exercise becomes an exclusive upper bound, with +08:00 explicitly supplied. A date without a time or a phrase such as next Friday is not converted by this function.

{
  "rule": {
    "start": null,
    "end": "2026-12-09T16:00:00+08:00",
    "closedStart": true,
    "closedEnd": false,
    "action": "submit-form"
  },
  "event": {
    "earliest": "2026-12-09T15:59:59+08:00",
    "latest": "2026-12-09T16:00:00+08:00",
    "action": "submit-form"
  }
}

This sample observation straddles the closing boundary. The machine cannot determine the result from the supplied range. The appropriate learning question is why a possible late time prevents a definite within-window assertion. In a practical setting, ask the responsible source about the receipt record; do not rely on a fabricated timestamp.

Back to contents

5. Executable demonstrator

The function converts valid offset-bearing timestamps to integer seconds and adjusts open bounds by one tick within that discrete model. It explicitly rejects reversed or empty ranges and mismatched event labels. It is not a continuous-time proof: an event within a fractional second requires a different representation.

function timeCheck(rule,event){
 function parse(s){
  if(typeof s!=="string")return null;
  const m=/^(20\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)(Z|[+-]\d\d:\d\d)$/.exec(s);
  if(!m)return null;
  const [y,mo,d,h,mi,se]=m.slice(1,7).map(Number),z=m[7];
  if(mo<1||mo>12||d<1||h>23||mi>59||se>59||z==="-00:00")return null;
  let offset=0;
  if(z!=="Z"){const oh=Number(z.slice(1,3)),om=Number(z.slice(4,6));if(oh>14||om>59||(oh===14&&om!==0))return null;offset=(z[0]==="-"?-1:1)*(oh*60+om);}
  const local=Date.UTC(y,mo-1,d,h,mi,se),v=new Date(local);
  if(v.getUTCFullYear()!==y||v.getUTCMonth()!==mo-1||v.getUTCDate()!==d)return null;
  return local/1000-offset*60;
 }
 if(!rule||!event||typeof rule.action!=="string"||!rule.action||typeof event.action!=="string"||!event.action||typeof rule.closedStart!=="boolean"||typeof rule.closedEnd!=="boolean")return "HOLD_INPUT";
 if(rule.action!==event.action)return "HOLD_ACTION";
 const a=rule.start===null?-Infinity:parse(rule.start),b=rule.end===null?Infinity:parse(rule.end),lo=parse(event.earliest),hi=parse(event.latest);
 if([a,b,lo,hi].includes(null))return "HOLD_TIME";
 const left=a+(rule.closedStart?0:1),right=b-(rule.closedEnd?0:1);
 if(left>right||lo>hi)return "HOLD_RANGE";
 if(hi<left||lo>right)return "ALL_OUTSIDE";
 if(lo>=left&&hi<=right)return "ALL_INSIDE";
 return "OVERLAP_UNCERTAIN";
}

Back to contents

6. Actual local synthetic run

On 2 December 2026, 16 of 16 authored expected status strings matched the observed function output. These are local regression fixtures, not independent validation. The table includes both successful comparisons and deliberate hold outcomes.

TestExpectedObservedBoundary being tested
T01ALL_INSIDEALL_INSIDEInclusive upper bound.
T02ALL_OUTSIDEALL_OUTSIDEExclusive upper bound.
T03ALL_INSIDEALL_INSIDELast supported integer-second tick before the boundary.
T04ALL_OUTSIDEALL_OUTSIDELater than the inclusive bound.
T05ALL_INSIDEALL_INSIDEEqual instant expressed with another offset.
T06OVERLAP_UNCERTAINOVERLAP_UNCERTAINPossible event time straddles a boundary.
T07ALL_INSIDEALL_INSIDEOpening boundary is inclusive.
T08ALL_OUTSIDEALL_OUTSIDEClosing boundary is exclusive.
T09OVERLAP_UNCERTAINOVERLAP_UNCERTAINUncertain interval includes inside and outside ticks.
T10HOLD_TIMEHOLD_TIMEMissing offset.
T11HOLD_TIMEHOLD_TIMEInvalid calendar date.
T12HOLD_RANGEHOLD_RANGEReversed bounds.
T13HOLD_RANGEHOLD_RANGEEmpty interval is rejected.
T14HOLD_ACTIONHOLD_ACTIONReporting time cannot substitute for submission.
T15HOLD_RANGEHOLD_RANGEReversed observation interval.
T16HOLD_TIMEHOLD_TIMEThis restricted parser declines unknown-offset notation.

Reproduction fixture

const cases = [
  {
    "id": "T01",
    "rule": {
      "start": null,
      "end": "2026-12-09T16:00:00+08:00",
      "closedStart": true,
      "closedEnd": true,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-12-09T16:00:00+08:00",
      "latest": "2026-12-09T16:00:00+08:00",
      "action": "submit-form"
    },
    "expected": "ALL_INSIDE"
  },
  {
    "id": "T02",
    "rule": {
      "start": null,
      "end": "2026-12-09T16:00:00+08:00",
      "closedStart": true,
      "closedEnd": false,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-12-09T16:00:00+08:00",
      "latest": "2026-12-09T16:00:00+08:00",
      "action": "submit-form"
    },
    "expected": "ALL_OUTSIDE"
  },
  {
    "id": "T03",
    "rule": {
      "start": null,
      "end": "2026-12-09T16:00:00+08:00",
      "closedStart": true,
      "closedEnd": false,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-12-09T15:59:59+08:00",
      "latest": "2026-12-09T15:59:59+08:00",
      "action": "submit-form"
    },
    "expected": "ALL_INSIDE"
  },
  {
    "id": "T04",
    "rule": {
      "start": null,
      "end": "2026-12-09T16:00:00+08:00",
      "closedStart": true,
      "closedEnd": true,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-12-09T16:00:01+08:00",
      "latest": "2026-12-09T16:00:01+08:00",
      "action": "submit-form"
    },
    "expected": "ALL_OUTSIDE"
  },
  {
    "id": "T05",
    "rule": {
      "start": null,
      "end": "2026-12-09T16:00:00+08:00",
      "closedStart": true,
      "closedEnd": true,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-12-09T08:00:00Z",
      "latest": "2026-12-09T08:00:00Z",
      "action": "submit-form"
    },
    "expected": "ALL_INSIDE"
  },
  {
    "id": "T06",
    "rule": {
      "start": null,
      "end": "2026-12-09T16:00:00+08:00",
      "closedStart": true,
      "closedEnd": false,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-12-09T15:59:59+08:00",
      "latest": "2026-12-09T16:00:00+08:00",
      "action": "submit-form"
    },
    "expected": "OVERLAP_UNCERTAIN"
  },
  {
    "id": "T07",
    "rule": {
      "start": "2026-12-09T15:00:00+08:00",
      "end": "2026-12-09T16:00:00+08:00",
      "closedStart": true,
      "closedEnd": false,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-12-09T15:00:00+08:00",
      "latest": "2026-12-09T15:00:00+08:00",
      "action": "submit-form"
    },
    "expected": "ALL_INSIDE"
  },
  {
    "id": "T08",
    "rule": {
      "start": "2026-12-09T15:00:00+08:00",
      "end": "2026-12-09T16:00:00+08:00",
      "closedStart": true,
      "closedEnd": false,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-12-09T16:00:00+08:00",
      "latest": "2026-12-09T16:00:00+08:00",
      "action": "submit-form"
    },
    "expected": "ALL_OUTSIDE"
  },
  {
    "id": "T09",
    "rule": {
      "start": "2026-12-09T15:00:00+08:00",
      "end": "2026-12-09T16:00:00+08:00",
      "closedStart": true,
      "closedEnd": false,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-12-09T14:59:59+08:00",
      "latest": "2026-12-09T16:00:00+08:00",
      "action": "submit-form"
    },
    "expected": "OVERLAP_UNCERTAIN"
  },
  {
    "id": "T10",
    "rule": {
      "start": null,
      "end": "2026-12-09T16:00:00+08:00",
      "closedStart": true,
      "closedEnd": true,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-12-09T16:00:00",
      "latest": "2026-12-09T16:00:00",
      "action": "submit-form"
    },
    "expected": "HOLD_TIME"
  },
  {
    "id": "T11",
    "rule": {
      "start": null,
      "end": "2026-12-09T16:00:00+08:00",
      "closedStart": true,
      "closedEnd": true,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-02-30T12:00:00Z",
      "latest": "2026-02-30T12:00:00Z",
      "action": "submit-form"
    },
    "expected": "HOLD_TIME"
  },
  {
    "id": "T12",
    "rule": {
      "start": "2026-12-09T16:00:00+08:00",
      "end": "2026-12-09T15:00:00+08:00",
      "closedStart": true,
      "closedEnd": true,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-12-09T15:30:00+08:00",
      "latest": "2026-12-09T15:30:00+08:00",
      "action": "submit-form"
    },
    "expected": "HOLD_RANGE"
  },
  {
    "id": "T13",
    "rule": {
      "start": "2026-12-09T16:00:00+08:00",
      "end": "2026-12-09T16:00:00+08:00",
      "closedStart": true,
      "closedEnd": false,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-12-09T16:00:00+08:00",
      "latest": "2026-12-09T16:00:00+08:00",
      "action": "submit-form"
    },
    "expected": "HOLD_RANGE"
  },
  {
    "id": "T14",
    "rule": {
      "start": null,
      "end": "2026-12-09T16:00:00+08:00",
      "closedStart": true,
      "closedEnd": true,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-12-09T15:00:00+08:00",
      "latest": "2026-12-09T15:00:00+08:00",
      "action": "attend-session"
    },
    "expected": "HOLD_ACTION"
  },
  {
    "id": "T15",
    "rule": {
      "start": null,
      "end": "2026-12-09T16:00:00+08:00",
      "closedStart": true,
      "closedEnd": true,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-12-09T16:00:01+08:00",
      "latest": "2026-12-09T15:59:59+08:00",
      "action": "submit-form"
    },
    "expected": "HOLD_RANGE"
  },
  {
    "id": "T16",
    "rule": {
      "start": null,
      "end": "2026-12-09T16:00:00+08:00",
      "closedStart": true,
      "closedEnd": true,
      "action": "submit-form"
    },
    "event": {
      "earliest": "2026-12-09T08:00:00-00:00",
      "latest": "2026-12-09T08:00:00-00:00",
      "action": "submit-form"
    },
    "expected": "HOLD_TIME"
  }
];
for (const c of cases) console.log(c.id,timeCheck(c.rule,c.event),c.expected);

Back to contents

7. Three learning and engineering examples

A deadline is not an event start

A fictional activity begins at 3 pm on Friday, while registration closes on Wednesday at noon. A calendar import that attaches Friday to registration changes the meaning. The event identifier is part of the comparison. T14 refuses to compare attendance with submission. A teacher can ask the learner to create two correctly labelled records and then interpret a fresh notice.

A different clock offset can represent the same instant

The exercise’s 16:00:00+08:00 and 08:00:00Z refer to the same instant. The comparison converts them to the same integer second. The original local wording and offset still matter for explanation. A future named-time-zone schedule is a different problem because offsets can vary. Do not extrapolate this fixed-offset representation to recurring events or future time-zone rules.

Precision is a meaning boundary

If the source records only a minute, an engineer must not invent an exact second. An interval of possible ticks may be appropriate when justified by the recording convention. The code does not automatically expand a minute timestamp into such an interval; a reviewer must provide the bounds. This links the time checker to the earlier measurement vocabulary and executable quantity types.

Back to contents

8. Centre-to-edge vocabulary operations

RungLearning demonstration
L0Attend to the actual action and date
L1Identify the temporal expression
L2Name the deadline or window
L3Explain the boundary in ordinary words
L4Recall the contrast later
L5Read and encode the timestamp
L6Relate the action and its time
L7Combine a faithful instruction
L8Disambiguate date, time and duration
L9Transfer to a fresh notice
L10Interpret the practical consequence of a changed boundary
L11Apply the specified time convention
L12Trace a revised notice
L13Critique an unsupported timestamp or comparison
L14Maintain a reviewed time-rule register
L15Propose and test a needed distinction

The ladder is an original teaching architecture, not an official assessment scale. Choose the operation that serves the learner’s real task. An independently correct explanation is different from a correctly executed machine comparison.

Back to contents

9. Integration into the world knowledge crosswalk

A future portable meaning record could carry the reviewed event identity, source version, boundary mode, reference clock and precision alongside the original sentence. The Executable Quantity Type can handle a separately declared duration calculation; the finite-world component can compare alternative meanings; a clarification selector can ask which boundary applies when necessary. The versioned meaning register should retain the older instruction without treating it as the current rule. The time checker is one bounded component, not a permission system. A verified timestamp result must never by itself authorise a submission, reservation or other external action.

Back to contents

10. The next evidence gate

The next technical test should include independently annotated notices, invalid dates, timezone transitions, cross-midnight events, fractional resolution, uncertain offsets and different interpretations of until. Test the extraction layer separately from the interval calculation. Report false inside results, false outside results, appropriate uncertainty and unnecessary holds. The authored sixteen cases are not a reliability estimate for real text.

A separate educational pilot could compare a clear teacher-led explanation with a paper or machine-generated boundary example, measuring independent interpretation of held-out notices after a delay. Match time and support, preserve approved accommodations and obtain applicable permissions before research with children. No learner data or measured learning gain is reported here.

Back to contents

11. Four-week research laboratory

PhaseActivityEvidence
Week 1Annotate synthetic deadlines, start times and windows.Reviewed action IDs, bounds and unresolved interpretations.
Week 2Reproduce the sixteen cases; independently propose new boundaries.Expected and observed results.
Week 3Inspect the actual source-to-time extraction and error cases.Separate extraction errors from comparison errors.
Week 4Use fresh teacher-approved reading tasks and examine the repair effort.Separate learner transfer, technical behaviour and cost.

Parents can use ordinary timelines instead of code. The point is to make the meaning usable at the centre and recoverable at the engineering edge. No new deployment, human trial or external transaction is implied.

Back to contents

12. References and connected eduKate research

The standard references ground the time representation; the local code, fixtures and proposed integration are original demonstrations. The website publishes reproducible code as text, not a live executable application.

Back to contents