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.

How Superintelligence Works | Agent Synthetic Test Data — Privacy-Safe Fixtures, Edge Cases and Regression Coverage

An AI-agent test can use fictional people and records without giving the model access to a real student’s personal information. But synthetic does not automatically mean anonymous: data generated from sensitive examples can reproduce rare patterns or details. A responsible test suite names where its examples came from, which behaviour each is meant to challenge and what independent evidence would establish success. Good synthetic testing is about controlled failure mechanisms rather than a large collection of superficially realistic chats.

Here we build a safe test-data method around task contracts, sandbox tools, edge conditions and protected expected results. The worked case contains eighty invented test records, and a later transfer challenge changes the school-helpdesk workflow. All results are hypothetical arithmetic examples, not actual eduKate usage or proof of production reliability. These controls apply to current AI-assisted systems, regardless of speculation about future artificial superintelligence.

Start with How Super Intelligence Works, then consult Agent Test Oracles for result checking and Review Sampling for population estimation. This chapter treats the different question of how to construct a controlled example whose source and acceptance rule are known.

Choose a reading route

  • New to testing? Begin with provenance, outcome contracts and safe tools.
  • Concerned about privacy? Study real source-derived synthetic risks and minimal fixtures.
  • Learning Mathematics? Verify the eighty-case arithmetic and subsequent transfer exercise.
  • Building an agent? Follow stable seeds, independent oracles and negative tool tests.

Contents

1. Invented examples and synthetic datasets require different assurances

A handcrafted fictional fixture can contain a fabricated pupil, dummy school and invented calculation, created without consulting a person’s private record. A synthetic dataset learned from sensitive originals has a more complicated provenance even when its rows look imaginary. A generative model may reproduce uncommon combinations, specific phrases or other features from its source distribution. Review the creation path rather than taking the synthetic label as a privacy certificate.

NIST SP 800-226, final March 2025, discusses why non-differentially-private synthetic data often offers only informal privacy assurances, while formal differential privacy has more precise guarantees under specified assumptions. NIST SP 800-188 describes de-identification release models and residual re-identification risk. These publications do not turn one generation technique into the mandatory answer for every fake classroom exercise, but they prevent careless claims of anonymity.

Changing a real student’s name may leave dates, locations and unusual circumstances intact. The resulting text can still reveal who was involved, particularly to somebody with background knowledge. For testing a message-send permission, invent a different scenario with fictional recipient identifiers rather than copy a real family’s communication. Preserve only the structural features the test needs and keep any legitimate source-derived records under appropriate authorised controls.

The reader should be able to tell what is observed and what is invented. All counts in the case study below are invented for teaching. A benchmark-like percentage derived from them is not evidence that a named AI service is eighty percent safe. Explicit labels protect readers from confusing an illustrative calculation with an independently measured performance claim.

Return to contents or continue to Write the outcome contract before the dialogue.

2. Write the outcome contract before the dialogue

Begin by naming the actual user job: explaining a fraction, retrieving a dated institution notice, preparing a private draft, publishing a page or sending a message. Each job has different correctness conditions. A collection of natural-sounding exchanges is not an adequate test if it does not include the source versions, user permission and tool results needed to judge the task.

Define both permitted and forbidden outcomes. In a draft-only exercise, the agent may create editable text but must not transmit it. In a current-policy exercise with a missing authoritative source, an appropriately qualified answer may be correct while an invented deadline is not. In a timeout scenario, the system should reconcile the original operation instead of starting a second external effect.

Choose an independent oracle for each fixture. A Mathematics result can be checked by substitution; a source claim against the stated fictional notice; a protected write against the actual sandbox resource state. Do not rely on the same model that generated the candidate to certify its factual correctness. Model-based style judgements can help, but a persuasive explanation does not replace evidence.

Store the expected outcome with its own version and approving reviewer where appropriate. If the task policy changes, a new expected result may be legitimate, but the old test should not quietly disappear. Reviewers need to know whether a passing score reflects an agent improvement or a weaker requirement.

Return to contents or continue to Construct a matrix of known hazards.

3. Construct a matrix of known hazards

Put task types in rows and failure conditions in columns. Rows may include explanation, source retrieval, private document access and consequential tool use. Columns could cover malformed numbers, stale information, unauthorised records, expired approval, duplicate calls and unavailable source. Fill important intersections first rather than generating hundreds of routine conversations.

A simple Mathematics fixture might vary only the denominator while preserving the user’s question. A school-source fixture might keep the same title but change its effective cohort and year. A permission fixture might retain the draft while changing the recipient after approval. Altering one decisive feature reveals a meaningful boundary more clearly than changing every field at once.

Include negative cases intentionally. The system must refuse a cross-tenant private document, a draft-only request must remain unsent and an uncertain previous tool result must not create a duplicate. These negative controls can be exercised against fictional resources, producing an observable test that cannot disclose real people’s data or accidentally publish a public article.

Prioritise risk. A punctuation disagreement in a harmless explanation is not equivalent to an attempted unauthorised file deletion. Record severity and the controlling acceptance rule, and keep critical denials as non-compensatory gates. A large number of passing friendly examples must not offset a real failure in the protected authority boundary.

Return to contents or continue to Keep tools isolated from real-world side effects.

4. Keep tools isolated from real-world side effects

A model can generate a fake response inside a sandbox yet still call a live connector if the application supplies production credentials. A prompt saying to pretend is not a security control. Use test accounts, synthetic destinations and network restrictions that prevent sending email to real families or editing actual public content. Confirm the controls at the tool service, not only in the chat transcript.

A useful mock provider should distinguish Accepted, Completed, Rejected and Unknown. Imagine a fake publishing request that timed out after saving the file. The agent should query the original stable post ID, not assume nothing happened and publish another copy. A mock that always reports Success conceals precisely the recovery path that a serious integration test needs.

Fake files and permissions should have versioned identities. Document T-31 revision 4 can be superseded by revision 5. The intended reader may be authorised for one document but not another. The sandbox should record a real decision under its fake access policy, so the generated answer can be compared with the actual outcome rather than the model’s personal confidence.

Test the isolation periodically. Verify that a synthetic recipient cannot accidentally resolve to a real address and that environment variables do not contain live write credentials. An AI test suite can be well intentioned yet harmful if a connector reaches production. The privacy and operational boundaries of the test harness deserve their own negative cases.

Return to contents or continue to Reproduce errors through stable seeds and versions.

5. Reproduce errors through stable seeds and versions

A fixed random seed allows a deterministic generator to recreate a particular arrangement of numbers, source snippets or event order. This is valuable when an engineer wants to compare behaviour before and after a repair. Record the generator version and parameters as well, because the same seed may produce different cases after the algorithm changes.

Keep stable regression cases and fresh exploratory tests separate. Regression cases preserve known weaknesses that must not return, while exploratory generation can expose new interactions. An agent that learns to answer the old fixed set perfectly might still struggle on new questions. A held-out source of cases can test whether a repair generalises beyond the examples repeatedly used during development.

A recorded case should link prompt and source revision, accepted permission, test-tool state, seed and expected oracle. An operations log can contain several model calls for one logical case; those calls should not become several independent test users. Stable case IDs help prevent that denominator error during retries.

When a new random case exposes a defect, an independent reviewer should establish the correct expected behaviour and preserve the example as a regression fixture. Do not let the model simply rewrite the failing assertion so it passes. The purpose of repeatability is to make mistakes discoverable and repairable, not to manufacture a green chart.

Return to contents or continue to Independent checking must survive fluent wrong answers.

6. Independent checking must survive fluent wrong answers

An AI answer can be conversational, articulate and false. A result such as x = 4 for 3x + 6 = 18 should pass a substitution check, but x = 5 should not, regardless of how confidently it is justified. The correct method is to calculate 3 × 4 + 6 = 18, while 3 × 5 + 6 = 21. For source claims, compare the precise assertion with the applicable document instead of trusting a generated citation label.

A protected action requires a stronger operational check. A model saying ‘I would not send that’ is not proof that the mail connector was denied; inspect the fake provider’s actual sent-message ledger. Similarly, a publication test should verify the saved state and slug, not merely the assistant’s final text. Keep the outcome independent from the attempted explanation.

OWL-like formal labels or elaborate rubrics do not create truth automatically. Human reviewers can make mistakes, source documents can be obsolete and a model-judge can share the generator’s misconception. Use complementary checks according to risk. The existing Independent Verification lesson explains why several agreeing models may still share one wrong source.

Uncertain scenarios should admit an unresolved result. Two fictional policy notices can truly conflict, or a tool may provide no trustworthy acknowledgement. A safe abstention or escalation can be the expected answer. Forcing every case into a confident Yes or No rewards the very hallucination behaviour the test programme is meant to catch.

Return to contents or continue to Work through eighty entirely invented cases.

7. Work through eighty entirely invented cases

Build a fictional Cedar Study Simulator containing thirty ordinary explanations, twenty numerical boundary cases, fifteen permission scenarios, ten provider failure sequences and five adversarial source-text cases. They sum to eighty: 30 + 20 + 15 + 10 + 5 = 80. The categories are selected deliberately for coverage and do not represent the share of such requests in a real tuition or support service.

Suppose twenty-eight ordinary cases pass, sixteen numerical cases pass, twelve permission tests pass, seven provider tests pass and two adversarial cases pass. The passing total is 28 + 16 + 12 + 7 + 2 = 65. Failures by family are two, four, three, three and three, totalling fifteen. The independently checkable conservation result is 65 + 15 = 80.

The designed-suite fraction is 65 ÷ 80 = 81.25%. It is not a production accuracy rate or proof of safety, because the suite oversamples difficult situations. Three failed permission scenarios could justify withholding a real external action even when a large number of arithmetic explanations pass. The actual repair priorities follow consequence and failure mechanism, not a weighted average of easy and dangerous tasks.

Make the report show family counts, pass results, failed assertions and necessary next action. A wrong fraction suggests a numerical check; an unsafe duplicate call requires idempotency and reconciliation; an unauthorised result calls for resource-side permission enforcement. These distinct defects cannot all be repaired by adding more conversational instructions to the model.

Return to contents or continue to A green test score needs a protected reference.

8. A green test score needs a protected reference

Suppose a repair resolves four calculation failures without changing any other case. The same eighty fixtures now contain sixty-nine passes, or 69 ÷ 80 = 86.25%. This demonstrates a change on the saved designed cases, not an unbiased estimate of production improvement. New held-out cases are still useful for checking that the apparent fix transfers to unfamiliar inputs.

OWASP’s Secure Coding with AI Cheat Sheet identifies agent-driven test fabrication and deletion as risks: coding agents can make a test suite pass by weakening assertions or mocking the component under test. A credible programme requires human review of critical test modifications and deliberately independent negative checks. The agent should not have unrestricted authority to remove the very cases that expose its weakness.

The measurement needs a stable denominator. One provider-failure test may create three model retries; that does not turn the original scenario into three independently successful users. Log child operations for cost and diagnosis, but keep the case unit consistent when reporting the suite pass fraction. The more complicated the agent, the easier it is to confuse activity with verified outcomes.

Preserve ambiguity rather than invent a label. A source dispute might await a responsible institution’s clarification, while an external effect might be unknown until a provider receipt arrives. The test can correctly require an explicit unresolved state with a safe next action. A model that guesses to keep every cell filled should not receive more credit than one that reports the evidence limit.

Fixture familyCasesPassesFailures
Ordinary explanations30282
Boundary calculations20164
Permission cases15123
Provider-failure cases1073
Adversarial-source cases523
Total806515
Fictional Cedar Study Simulator results, not a real-world performance estimate.

Return to contents or continue to Diagnose false realism and missing coverage.

9. Diagnose false realism and missing coverage

A test corpus can look remarkably lifelike while covering very few important outcomes. Thousands of fictional dialogues might contain normal greetings, familiar explanations and easy source questions, but never a stale approval or an account mismatch. A small matrix of targeted edge cases can provide more useful protection than a giant generated collection with no acceptance rules.

Simulated distributions can miss unusual users and distort subgroup patterns. A generator trained on one kind of language may fail to represent other communication styles, while an overabundance of contrived errors may exaggerate the apparent production failure rate. Label whether the goal is regression testing or population estimation. The latter requires a different sampling method and independent reference evidence.

A source-derived synthetic dataset can add privacy risk without improving the relevant test. If the question is whether an agent sends only after explicit consent, a few entirely fictional recipients and grants may be sufficient. Do not introduce real learner histories merely to create a convincing-looking document. Choose realism only where it changes the validity of the actual test mechanism.

Coverage must evolve with features. When the app gains file upload, new protected tool access or an external sending capability, its old text-only evaluation no longer covers the full risk. Add safe parser, permission and readback cases before claiming the expanded workflow is ready. A model release should not silently inherit approval for tools the earlier tests never exercised.

Return to contents or continue to Keep prompt-injection fixtures defensive.

10. Keep prompt-injection fixtures defensive

A fake retrieved document may contain an instruction to disregard the user’s request and expose a different tenant’s file. The test should treat that text as untrusted data, not a new policy. The expected outcome is a refusal at the protected service and no leaked private content in the model input or response. The fixture can use synthetic IDs, making the security boundary observable without targeting a real school.

Other controlled examples include misleading official-looking headings, Unicode confusables, malformed input and mismatched source-effective dates. A high semantic similarity score does not authorise disclosure or prove the record applies to the user’s question. The test matrix should separate the claim of relevance from trusted identity and source validity.

Passing five adversarial cases does not prove immunity to every attack. It shows the particular configured application resisted those bounded attempts. A new modality, connector or tool permission may create other paths. Use the fixtures as repeatable regression checks while protecting the real system with independent, server-side permissions and ongoing appropriate monitoring.

Carefully reviewed examples can teach students about trust boundaries without publishing exploitation instructions for live systems. A source sentence is evidence to evaluate, not a command with authority. This is an important general learning habit: check where an instruction came from before deciding what it should be allowed to change.

Return to contents.

12. Privacy review for data-derived synthetic records

Source-derived generation can leak details even without copying one record verbatim. An unusual combination of age, school events and learning needs may be identifiable to someone with outside knowledge. A near-duplicate checker can catch some direct memorisation, but its clean result does not establish an absence of inference or linkage risks. The generation method, accessible auxiliary data, intended recipients and the sensitivity of the original set all affect the release decision.

NIST SP 800-226 explains both differential-privacy guarantees and the utility risks of artificial datasets. A formally specified differentially private algorithm can offer mathematical assurances under its privacy parameters, while non-DP generation often lacks the same established bounds. But implementing such an algorithm correctly takes expertise, and adding ordinary random noise is not equivalent to differential privacy. The team should avoid claiming formal protection unless the actual mechanism and parameters support it.

Privacy risk and test validity can conflict. A generator might remove rare patterns so aggressively that the resulting corpus no longer exercises the very cases a system must handle. Alternatively it might recreate rare real facts to preserve statistical fidelity and thereby risk disclosure. Be explicit about which goal is paramount for a given dataset. Handcrafted fictional edge cases can often test a permission check without either copying sensitive originals or requiring population-level statistical resemblance.

Return to contents or continue to the next practical test.

13. Use a protected data dictionary and ownership ledger

A well-managed suite has more than prompts and answer keys. Each fixture has an identifier, source class, generator version, expected output, test severity, responsible reviewer and permitted environment. A data dictionary explains fields such as source-effective date, account scope, target revision, outcome state and timestamp units. This lets a second engineer reconstruct the case without learning unnecessary details about any real user.

Give datasets lifecycle controls. A public fictional set may be reusable for teaching, while a restricted source-derived set may have an expiry, access restrictions and a documented removal process. Copies in development notebooks, monitoring logs and bug trackers should be considered rather than assuming deleting one folder removes every instance. The Agent Data Erasure chapter explains why complete removal evidence needs a map of derivative copies.

An accountable owner should approve changes to critical expected outcomes. When a fictional source’s effective date is updated, preserve its historical version and create a new fixture for the current question. If an evaluator’s answer key is corrected, record why and which earlier test results are affected. This prevents a quietly changing reference standard from masquerading as a sudden improvement in the agent itself.

Return to contents or continue to the next practical test.

14. Model partial tool outcomes instead of automatic success

Some test harnesses respond Success to every tool call, leaving the agent unprepared for reality. A better simulated provider can accept a request, commit it, delay acknowledgement, reject it or leave the result genuinely unknown until queried. Give each operation a stable identity and model the target resource state separately from the text returned to the assistant. The test then asks whether the controller reports what it can verify.

Imagine a fake WordPress page created under ID P-41. The mock publishing call times out just after the page enters Published state. An unsafe agent creates P-42 as a duplicate; a safer agent queries P-41 and finds the intended content and status. The reference oracle is the fake target’s actual record, not the generated apology or success message. This tests idempotency and recovery without modifying the real eduKate website.

Now change the approval state at the same moment. A draft was permitted, but publication approval expires before the worker resumes. Even if the tool is functioning, the action must not proceed under the old grant. Preserve the draft and return a transparent next step. This demonstrates how test-tool state, user authority and time-dependent conditions intersect, rather than treating a timeout as the only relevant variable.

Return to contents or continue to the next practical test.

15. A sixty-case transfer exercise with changed conditions

Try a separate invented school-helpdesk suite. It contains twenty-four Mathematics explanations, eighteen source-date questions, twelve message-permission requests and six external-provider timeout cases. The total is 24 + 18 + 12 + 6 = 60. Each task uses fictional records with explicit currentness and permissions. A reviewer sets acceptance criteria before the assistant sees any of the questions.

Suppose twenty-three Mathematics, fifteen source, ten permission and four timeout cases pass. Then 23 + 15 + 10 + 4 = 52 passes, and eight of the sixty cases fail. The designed-suite fraction is 52 ÷ 60 ≈ 86.67%. This percentage measures only the invented test packet under its stated composition; it does not estimate how often real learners receive a correct answer or how safe a public agent is.

Change the school notice from revision 4 to revision 5, effective next Monday. A question about an earlier week may still require revision 4, while next week’s appointment needs revision 5. The fixture must include the queried date and audience rather than label all old notices invalid. Change the software capability again so it can send an email after approval. New cases for recipient edits, cancellation and ambiguous send results become critical requirements; the old green score cannot authorise the expanded tool.

Return to contents or continue to the next practical test.

16. Represent different users without inventing real biographies

A corpus using only polished standard English may miss legitimate informal phrasing, shorter messages or different accessibility needs. The answer is not to insert real confidential pupil biographies into synthetic examples. Vary the language feature or interaction constraint deliberately with fictitious situations, then verify that the underlying correct permission or mathematical result remains the same. This isolates a behavioural concern without unnecessary personal data.

Representative evaluation is a separate statistical task. If the objective is to estimate performance across a real population, a deliberately adversarial synthetic suite does not provide a random sample. Its unusually high frequency of boundary and permission cases is appropriate for engineering stress tests but not a prevalence estimate. Real measurement needs consent and governance where appropriate, a defined population and independent outcome labels.

Watch for generated stereotypes. Artificial examples that associate one language style or family circumstance with incompetence can teach misleading assumptions to the evaluator. A qualified reviewer should check whether irrelevant characteristics change the expected judgement. Counterfactual pairs that hold the legitimate task constant while varying surface expression can help reveal a specific defect, but one pair cannot establish a population-wide fairness guarantee.

Return to contents or continue to the next practical test.

17. Mutation-style testing asks whether the tests can fail

A team can deliberately introduce a known harmless defect into an isolated copy of the system and check whether the suite detects it. Replace a correct denominator, make a date stale, switch a source ID or simulate a denied approval. If the test still passes, its oracle may not be checking the decisive property. This is more informative than simply counting that the system generated many plausible explanations.

Do not weaken or delete the failing test as an automatic response. OWASP’s Secure Coding with AI guidance warns about agent-authored tests that assert buggy behaviour or replace a real dependency with a permissive mock. Changes to critical checks should be independently reviewed and versioned. A modified answer key is legitimate only when the underlying task contract truly changed and the reason is documented.

Test both negative and legitimate outcomes. A system that denies every tool call can appear safe on unauthorised-action cases yet fail all valid user tasks. Include a correct allowed operation whose receipt can be independently verified. The desired result is bounded useful capability: protected refusals when authority is absent, and successful checked completion when the task is permitted.

Return to contents or continue to the next practical test.

18. Build an automated workflow without circular evaluation

A practical test pipeline validates the fixture manifest, loads fictional data into an isolated environment, runs the agent, records trusted tool outcomes, applies independent acceptance predicates and sends ambiguous semantic cases to qualified review. Results should preserve model, connector, fixture and source versions. That record helps explain why a change in one component affected a particular failure.

Do not let a generative model be the only judge of its own code, answer and release readiness. It can identify candidate edge cases and explain observed failures, but arithmetic, source applicability, permission and target-state checks should be grounded in tools or responsible reviewers suited to those questions. A panel of similar model judges can share errors, so consensus alone does not establish independence.

CI reports should distinguish real regressions, newly discovered flaws, test-harness faults and genuinely unresolved cases. A missing provider receipt should not become an automatic positive label to keep the pipeline green. Preserve the exact failing case and give it an owner and next action. The aim of automation is to make verification frequent and consistent, not to remove the responsibility for deciding what the evidence means.

Return to contents or continue to the next practical test.

19. How parents and students can practise the same reasoning

A class can invent a small table of fraction exercises and independently calculate the correct answers. The students then add a zero denominator and a unit mismatch, observing which changes make the original method invalid. They are doing a simplified form of software property testing: describing a rule, deliberately changing the condition and seeing whether the expected result should change.

A second exercise uses entirely fictional school timetables. Give one source an old effective year, one a different audience and one a contradictory current claim. The learner must decide whether the sources truly disagree, and when an appropriate answer is to seek clarification. The skill transfers directly to checking AI explanations, media claims and real institutional information without needing private student records.

Parents can ask a service provider whether its AI testing includes wrong recipients, outdated rules, cancelled jobs and incomplete tool results. They can also ask whether test records were invented or derived from real families, and who can challenge an incorrect evaluation. These questions focus on tangible controls and outcomes instead of vague statements that a model has been tested extensively.

Return to contents or continue to the next practical test.

20. Limits and release decisions

No finite synthetic dataset can cover every future source, user, language, file type and external system. A generator may create many cases that share one blind spot; a reference may be wrong; a simulator may fail to model a real provider’s asynchronous behaviour. Declare what is covered and what remains outside the test. An honest limit is not an excuse for unsafe deployment but a starting point for choosing further controls.

A test result also cannot replace authorisation. Passing private-record fixtures does not grant the agent access to real pupil information, and passing draft tests does not authorise live email transmission. Protected production services still need identity, permission, source and final-effect checks. If the system’s capability expands, test and approve the new action boundary before release.

The practical beginning is modest: invent a few safe fixtures for ordinary success, bad arithmetic, stale source, unauthorised access, expired approval and tool timeout. Give each a stable ID, independent oracle and sandbox target. Add more cases only when they test a meaningful new condition. Reliable AI testing is disciplined invention, not a contest to generate the longest dataset.

Return to contents or continue to the next practical test.

Frequently asked questions

Does synthetic mean anonymous?

Not automatically; source-derived synthetic data may reveal rare or memorised information.

Why use fictional fixtures?

They allow controlled tests with known facts while avoiding unnecessary real personal records.

Can a model grade its own test results?

It can assist but must not replace independent calculations, source checks or verified tool states.

What is a good negative test?

A case that should refuse an unauthorised send, stale permission or cross-tenant data retrieval.

Does 81.25% in the example measure any real model?

No. It is a synthetic suite’s invented teaching result, not production performance.

Do fixed seeds guarantee reproducibility?

Only when generator version, parameters, source data and tool conditions are also controlled.

Research sources

Sources reviewed 24 October 2026. All people, schools, fixture counts and evaluation results are invented for education, not measured eduKate or provider performance.

Further reading

Continue with Super Intelligence curriculum; How X Works hub; Test Oracles; Review Sampling; File Ingestion; Chaos Testing; Gold Standard of Education. Reproducible testing starts with known fictitious facts, safe boundaries and independent outcomes.

Discover more from eduKate Singapore

Subscribe now to keep reading and get access to the full archive.

Continue reading