Vocabulary coding helps teenagers build useful meanings, while language engineering helps them discover what happens when those meanings are revised. Semantic regression testing, as proposed in this eduKate educational framework, applies a lesson from software testing to language: after repairing a definition, rule, translation or explanation, check that the repaired construction works and that meanings which previously worked have not been damaged. This is a practical way for learners aged 13–18 to turn vocabulary into a maintainable intellectual system.
A computer programmer does not usually assume that correcting one error guarantees that the rest of a programme still behaves correctly. Language engineers can adopt the same discipline. Changing available to mean physically present and unreserved might improve a library catalogue while making historical records difficult to interpret. The important skill is to identify dependencies, preserve the source, test the intended change and examine unintended effects. Human communication is not deterministic software, so results must be interpreted within their context and reviewed rather than treated as a universal proof of understanding.
- Word zoom: identify the definition being changed and the distinctions it must preserve.
- Sentence zoom: test whether conditions, negation, scope, quantities and permissions survive revision.
- Thought zoom: separate an intended correction from an unintended change.
- Engineering zoom: retain baseline cases, test failures and rerun representative unchanged cases.
- Institution and civilisation zoom: check downstream records, classifications and decisions before adopting new meanings.
- AI zoom: evaluate outputs after changes to prompts, knowledge sources or definitions without assuming that an improved example proves general reliability.
Chapter navigation
- 1. A correction can create a second problem
- 2. Confirmation testing and regression testing
- 3. Record the baseline before editing
- 4. Build a meaning-invariants register
- 5. Worked laboratory: a reservation rule
- 6. Test ordinary, boundary, conflicting and unknown cases
- 7. Test meaning, not identical wording
- 8. A regression register can be compact
- 9. Prioritise failures by their consequences
- 10. Trace the impact beyond the changed sentence
- 11. Civilisation zoom: preserve useful knowledge during change
- 12. AI zoom: test changes in prompts and source materials
- 13. Four-week semantic regression studio for ages 13–18
- 14. Continue learning in the eduKate vocabulary ecosystem
A correction can create a second problem
Imagine a fictional reading club whose original announcement says, ‘Members may borrow two books.’ A reviewer notices that two is intended as a maximum, not a required quantity. A revised sentence says, ‘Everyone may borrow up to two books.’ The revision fixes the quantity but changes members to everyone. One error has been repaired and another has been introduced.
Compare the two versions against the intended rule. The correction should preserve the applicable group and express the maximum clearly. A better revision might say, ‘Members may borrow up to two books.’ This example teaches a principle with wider applications: the correctness of a changed phrase must be assessed in relation to the whole construction, not only the feature that motivated the change.
Confirmation testing and regression testing
In software testing, confirmation testing checks whether a specific reported defect has been fixed, while regression testing checks for problems introduced or exposed elsewhere after a change. The ISTQB glossary entry for regression testing describes the established software concept. Our semantic regression exercise borrows this distinction for the evaluation of language and meaning systems.
When correcting the borrowing announcement, a confirmation test asks whether readers now understand that two is a maximum. Regression cases ask whether readers still understand who may borrow, the resource involved and the fact that borrowing is permitted rather than compulsory. Both types of check are useful. A language revision can succeed at its immediate purpose while failing another important requirement.
Record the baseline before editing
A baseline is the version against which a proposed change is compared. Preserve the original wording, applicable definitions, scope and any earlier test results. Record the problem that motivates the revision. If the baseline itself contains an error, identify it explicitly rather than treating every earlier answer as correct.
For a fictional library rule, create a table containing the original rule, intended meaning, current version and known limitations. Write several cases with justified expected outcomes. A baseline is not a declaration that the earlier system was perfect. It establishes which meanings and behaviours need to be examined after the change.
Build a meaning-invariants register
An invariant, in this classroom exercise, is a relationship or condition intended to remain unchanged through a particular revision. The borrowing-rule repair changes the expression of the limit but is not intended to change the eligible group. Membership is therefore an invariant for this edit. Permission rather than obligation is another invariant.
Identify relevant quantities, actors, objects, conditions, exceptions, authority and source scope. State why each is expected to remain unchanged. In a real policy revision, some of these may be deliberately altered; that requires a different change specification and appropriate authority. The learner should distinguish a semantic invariant from a permanent universal truth.
Worked laboratory: a reservation rule
Use this invented baseline: ‘Confirmed members may reserve up to one available table for a two-hour session. Group sessions require separate approval.’ A revision is intended to clarify that a table must be unreserved and ready for use. The proposed wording is: ‘Confirmed members may reserve one table that is unreserved and ready for use for two hours.’
The proposal clarifies availability but removes the explicit upper-limit wording and the separate approval condition. It may also create an ambiguity about whether for two hours describes readiness or the session. Before accepting it, compare the clauses with the baseline and the intended change. A revised version could preserve the maximum, attach the duration to the session and retain the group-session exception. The learner must still check that the availability clarification has the intended meaning.
Test ordinary, boundary, conflicting and unknown cases
Create six fictional cases: a confirmed member requesting one ready unreserved table; a visitor without confirmed membership; a member requesting two tables; a member requesting a group session without approval evidence; a member requesting a reserved table; and a member requesting a table whose readiness is unknown. For each, identify what the rule actually establishes.
The first case meets the stated ordinary conditions. The second, third and fifth do not meet one or more of those conditions. The fourth requires separate approval, which is not established by the supplied record. The sixth needs further information. Do not transform lack of evidence into a claim that the table is unsafe or permanently unavailable. The expected results must preserve the differences between permission, unmet conditions and unresolved evidence.
Test meaning, not identical wording
Two sentences may use different words while communicating the same relevant relationship. A learner who writes ‘no more than one table’ has not necessarily changed the meaning of ‘up to one table’. Conversely, a sentence can retain nearly every original word while reversing the scope of only or removing a negation. A test based solely on matching text may miss both situations.
Ask a willing reader to paraphrase the rule and apply it to unfamiliar examples. Record the expected distinction and the observed interpretation. The purpose is to check whether the important meaning survives. A passing paraphrase does not establish that every tone, implication or cultural nuance survived. The test must be tied to a particular use and audience.
A regression register can be compact
For each case, record a case identifier, source version, relevant conditions, expected meaning, observed interpretation, result and any repair. Separate intentionally changed cases from cases expected to remain stable. If a case fails, investigate the rule, example and expected answer before assigning blame.
A student can use a paper notebook or simple table. The register is useful when a new reader can reconstruct what was tested. If an earlier expected result turns out to be mistaken, revise it with an explanation and retain its previous version. Do not silently update expectations merely to make a proposed revision appear successful.
Prioritise failures by their consequences
A changed heading may create a small discovery problem. A changed permission condition may cause an inappropriate decision. A missing unit can make a scientific measurement misleading. These errors differ in consequence even when they each occupy a single word. A simple count of passing tests may therefore conceal a serious failure.
Classify the effects of a failed case according to the intended use. In a low-risk classroom exercise, identify presentation, interpretation and decision-changing failures. Real consequential systems require their own appropriate risk assessment, expertise and controls. A learner should be able to explain which failure matters most and why, instead of treating every mismatch as equally important.
Trace the impact beyond the changed sentence
The fictional table-reservation definition may be used by a website, booking record, volunteer guide and monthly availability report. If the meaning changes, each dependent artifact may need revision or review. A reader using an old downloaded guide might not know that the definition was updated.
Make a dependency map and identify the records that use the changed concept. Distinguish proven dependencies from suspected ones. For every relevant artifact, record the intended version and whether the applicable checks were performed. The W3C Data on the Web Best Practices discusses version information and provenance for published data. A classroom glossary can adapt these ideas without implementing a complete technical standard.
Civilisation zoom: preserve useful knowledge during change
Scientific definitions, technical specifications, public rules and educational materials evolve. New definitions may improve a particular purpose while making an old comparison invalid. Semantic regression thinking helps learners ask which relationships should remain stable, which have deliberately changed and which consequences need further investigation.
In eduKate’s portable civilisation framework, a durable knowledge handover includes the source meaning, version, dependencies, tests and correction history. Such records support intellectual continuity without requiring language to remain frozen forever. They do not replace material resources, human expertise, governance or cultural understanding. The educational goal is to support change while preserving the ability to inspect what earlier knowledge meant.
AI zoom: test changes in prompts and source materials
A learner might revise an AI instruction to improve its treatment of unknown information. The new instruction may solve the original missing-record problem but accidentally encourage excessive refusal to answer straightforward questions. Use a small collection of fictional cases that includes both the original error and previously successful examples.
Record the prompt or task specification, supplied evidence, expected outcomes and observed outputs. Some AI systems vary their outputs across repeated runs, so a single passing response is limited evidence. Follow applicable service age requirements and do not supply personal information. A small educational test does not certify a model or guarantee safe operation. It shows how to identify unintended semantic changes and make the resulting claims more inspectable.
Four-week semantic regression studio for ages 13–18
At 13, compare two versions of a sentence. At 14, test conditions and exceptions. At 15, build a baseline test register. At 16, trace changes through a fictional organisation. At 17, design regression cases and severity criteria. At 18, prepare a versioned change and evaluation handover. These are flexible opportunities rather than universal developmental milestones.
Week one: create a fictional rule and baseline cases. Week two: identify a defect and propose a narrowly specified correction. Week three: check the repaired case and previously satisfactory cases, recording actual interpretations. Week four: investigate failures, revise the rule and prepare a handover with limitations. Report only tests that were actually performed. The aim is to develop an ability that can transfer to research, programming, organisational work and AI collaboration: improve one part of a meaning system without silently damaging another.
