Synthetic data, masking and test files with AI
A recipe for getting made-up test data, masking plans and test files from an assistant by asking for a script, then checking links, ranges, edge cases and leaks.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a prop maker. A prop maker builds things that look real from across a stage. The coins shine and the books look old. But the prop maker does not know which props the scene needs. They may make fifty coins and no key, and the key is what the actor must pick up.
Daily List is a to-do list app. Tom, the tester, asks an assistant for 200 made-up users across three time zones. The rows look real. Names, emails and dates all look fine. But the same user ids repeat, and every account was created on a weekday. A test about weekend sign-ups would find no data.
So Tom does not ask for rows. He asks for a script that makes rows. He runs it, checks the links between tables, and counts the edge cases. He treats the (Made-up data built for testing rather than copied from real people) as a prop that must be tested before it goes on stage.
The picture has a limit. A prop maker can see the stage. An assistant knows only the rules you wrote down, so rules nobody wrote down are missing from its props.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named here are made up.)
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Getting , masking plans and test files from an assistant by asking for a script, then checking links, edge cases and leaks.
- Give layout and rules
- Ask for a script
- Run it twice
- Check links and edges
- Scan for personal data
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The prop maker's convincing coins | Rows that look real |
| A key the scene needs but nobody made | A rule or edge case the prompt never named |
| A coin that matches a real person's face | A value that looks like real personal data |
| Checking props before the show | Running queries and a masking check |
WHERE THIS PICTURE STOPS
- A prop maker sees the stage. An assistant knows only the rules you wrote down.
- A prop is plainly fake. Made-up data can look so real that it hides a privacy problem.
- A prop maker builds each prop once. A script can make the same props again from the same seed.
HOOK
Ask for the script, run it, check the links, scan for leaks.
REMEMBER IT THIS WAY
A rule of thumb: if you see this, think that.
If made-up rows look real, usually ask which edge case the prompt did not name, such as weekend sign-ups. Real-looking is not the same as useful.
| In the trick | What it stands for |
|---|---|
| Looks real | Rows that look real |
| Never named | A rule or edge case the prompt never named |
| Too real | A value that looks like real personal data |
It misleads when the test needs no special case, so plain rows are enough.
TELL A FRIEND
Ask the assistant for a script that makes the props, then test the props before they go on stage.
OFTEN MIXED UP WITH What never to paste: safe data handling with AI tools. The earlier lesson was about what you must not paste into an assistant. This lesson is about the data you ask it to help make.
Sources & standards — 4 sources
- Market practice
Synthetic data vs masked data for testing (Ranger) ↗ — Ranger · Synthetic data can lower privacy risk and supports edge cases but may miss subtle business rules; masked data keeps real structure and linked records but still carries privacy risk; many sources suggest using both (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Test Data Generation (RelationalAI documentation template) ↗ — RelationalAI · Purely random generation tends to break links between tables, such as order lines pointing at orders that do not exist; a seeded generator makes the data repeatable for testers (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
How to create your GDPR-compliant test data management strategy (Sogeti) ↗ — Sogeti · Discusses a test data management approach that respects the General Data Protection Regulation, including masked and made-up data (registry source, general description, page not opened in this batch)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
De-Identifying Government Datasets: Techniques and Governance (NIST SP 800-188) ↗ — National Institute of Standards and Technology (NIST) · Describes techniques and governance for removing identifying details from datasets (registry source, general description, page not opened in this batch)
Final September 2023 publication. Primary PDF opened 8 November 2026: sections 4.3.1–4.3.2, 4.4, 4.6 and 5.2.1–5.3. Covers protected mappings, hashing risks, synthetic-data leakage, usefulness and privacy validation, and masking-tool limits. Technical guidance, not a GDPR legal determination. Table 3 on printed p. 62 was visually inspected as a possible teaching visual; no source image integrated. PDF authority page states this publication is not subject to copyright in the United States and attribution is appreciated.
PRACTISE AND KEEP
Sources for this topic — 4 sources
- Market practice
Synthetic data vs masked data for testing (Ranger) ↗ — Ranger · Synthetic data can lower privacy risk and supports edge cases but may miss subtle business rules; masked data keeps real structure and linked records but still carries privacy risk; many sources suggest using both (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Test Data Generation (RelationalAI documentation template) ↗ — RelationalAI · Purely random generation tends to break links between tables, such as order lines pointing at orders that do not exist; a seeded generator makes the data repeatable for testers (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
How to create your GDPR-compliant test data management strategy (Sogeti) ↗ — Sogeti · Discusses a test data management approach that respects the General Data Protection Regulation, including masked and made-up data (registry source, general description, page not opened in this batch)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
De-Identifying Government Datasets: Techniques and Governance (NIST SP 800-188) ↗ — National Institute of Standards and Technology (NIST) · Describes techniques and governance for removing identifying details from datasets (registry source, general description, page not opened in this batch)
Final September 2023 publication. Primary PDF opened 8 November 2026: sections 4.3.1–4.3.2, 4.4, 4.6 and 5.2.1–5.3. Covers protected mappings, hashing risks, synthetic-data leakage, usefulness and privacy validation, and masking-tool limits. Technical guidance, not a GDPR legal determination. Table 3 on printed p. 62 was visually inspected as a possible teaching visual; no source image integrated. PDF authority page states this publication is not subject to copyright in the United States and attribution is appreciated.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.