News

Realistic test data for plant app sandboxes

November 30, 2026

How to get realistic, anonymized plant data into an AI app sandbox without manual entry: what to extract, masking methods, GDPR basics and a checklist.

Short answer: Export a consistent subset of master and transaction data from your ERP and MES, replace names and other personal data with fake but realistic values, keep the relationships between records intact, and load it into the sandbox by script or integration, not by hand. Refresh it on a fixed schedule, and keep real personal data out.

Why do demo data and manual entry both fail?

An AI assistant or a citizen developer can build a downtime app in an afternoon. Then they test it on five materials called "Test 1" to "Test 5", one line and no shifts. The app looks fine. In production it meets thousands of materials, routings with a dozen operations, three shift patterns and kanban loops shared by two lines, and it falls apart.

Typing realistic data in by hand takes days and still misses the awkward cases: the material with two alternative routings, the line that runs a weekend shift, the order split across two plants. Copying the full production database is fast, but it brings personal data, customer prices and supplier terms into an environment with looser access rules. The workable middle ground is a masked, consistent subset.

What data does a builder actually need?

Start from the app, not the database. A shop floor app usually needs these objects:

  • Materials: number, description, unit, type (raw, semi-finished, finished), a few variants with unusual units or batch tracking.
  • Routings and operations: sequence, work center, standard times, alternative routings.
  • Lines and work centers: hierarchy (plant, hall, line, machine), capacities, machine signals if the app uses them.
  • Shifts and calendars: shift patterns, breaks, holidays, weekend shifts.
  • Kanban loops: supplier and consumer location, container size, number of cards, replenishment time.
  • Orders: production orders in different states (released, in progress, finished, cancelled), customer orders if the app needs them.
  • People and roles: only as many users as you need to test permissions, with fake names.

Write this list down per app. It becomes the specification for your extract and stops the sandbox from growing into a second production system.

How do you take a consistent subset?

A subset is only useful if the records still fit together. Pick a slice that follows the process:

  1. Choose one or two lines and a time window, for example the last four weeks.
  2. Take the production orders from that window.
  3. Pull the materials, routings and work centers those orders reference.
  4. Add the bills of material one level down and the kanban loops that supply those lines.
  5. Add shift calendars and the users needed to test each role.
  6. Run a check: every order has a material, every routing has a work center, every kanban loop has both ends.

Then add edge cases on purpose: a cancelled order, a material without a routing, an operation with zero standard time. Real data contains them, so your app has to handle them.

How do you anonymize plant data?

Most plant data is not personal. Material numbers, routings and machine states describe things, not people. Personal data hides in a few places: operator names and IDs in confirmations, shift rosters, maintenance technicians on work orders, quality inspectors on inspection records, free-text comments, and customer or supplier contact persons. Typical masking methods are:

  • Substitution: replace real names with realistic fake ones ("Jana Nováková" becomes "Operator 017" or a generated name). Keep the mapping consistent so the same person stays the same fake person across tables.
  • Deletion or blanking: empty fields the app does not need, such as phone numbers, personal numbers and free-text comments.
  • Generalization: round timestamps to the shift, ages to ranges, wages to bands, or remove them entirely.
  • Shuffling: swap values between records so distributions stay realistic but no record matches a real one.
  • Noise: slightly change quantities or prices where the exact value is commercially sensitive.

Treat commercially sensitive data the same way, even though GDPR does not cover it: customer names, prices, margins and supplier terms.

Pseudonymized or anonymous: what does GDPR say?

The difference matters. According to GDPR Recital 26, pseudonymized data is still personal data, while data protection principles do not apply to anonymous information. If you replace names with codes and keep the key table, you still process personal data. That means access control, a purpose and a lawful basis.

The European Data Protection Board's draft Guidelines 02/2026 on anonymisation (adopted for public consultation in July 2026) test anonymity with three questions: can a record be singled out, can it be linked to another dataset, and can something meaningful be inferred about a person? In a plant that is a real risk. If only one maintenance technician works night shifts on line 2, "Technician A, nights, line 2" identifies him even without a name. Fix it by generalizing or shuffling the shift assignment, or by leaving people out of the sandbox altogether. The guidelines also say anonymity should be reassessed over time, so review the method when the data or the tools change. Involve your data protection officer before the first load, not after.

Try it yourself: start a 14-day free P4 trial and build a test app on demo data.

Synthetic or copied data?

  • Masked copy: best realism, keeps the odd cases that real processes create. Needs masking and an anonymity check.
  • Synthetic data: generated from rules or from statistics of the real data. No personal data, good for load tests and for demos to outsiders. Risk: it is often too clean and misses the edge cases that break apps.
  • Hybrid: copy master data (materials, routings, lines), which is rarely personal, and generate transactions and people synthetically. For most plant apps this is the practical default.

How often should you refresh?

Match the cadence to how fast things change. Master data: monthly, or when a new line or product family starts. Transactions: weekly while an app is in active development, otherwise before each larger test cycle. Every refresh should run the same script with the same masking rules, so results stay comparable and nobody is tempted to "just copy production quickly".

Checklist before the first load

  1. List of objects and fields each app needs.
  2. Subset rule (lines, time window, order states) written down.
  3. Fields with personal data identified, including free text.
  4. Masking method chosen per field, with consistent mapping.
  5. Key tables for pseudonymization stored outside the sandbox, or not kept at all.
  6. Anonymity checked against singling out, linkage and inference.
  7. Commercial data (prices, customers, suppliers) masked or removed.
  8. Referential checks passed.
  9. Edge cases added deliberately.
  10. Load and refresh automated, owner named, data protection officer informed.

Where does Productoo P4 fit?

P4 keeps dev, test and prod as separate environments, so sandbox data and builders' experiments stay away from the live plant. Data can come in through integrations with SAP, Infor, POHODA and other systems, and machine data through OPC UA, instead of manual entry. See integrations and OPC UA. Through the MCP server, an AI assistant works with the data in a sandbox under the user's permissions. The extract, masking and anonymity check are your process. Plan them with your IT and data protection officer. For the wider picture, read AI sandbox for manufacturing.

Related reading:

FAQ

Can I just copy production into the sandbox?

Only if it gets the same access controls as production. In practice, mask personal and commercial data first.

Is replacing names with IDs enough?

No. If a key exists anywhere, it is pseudonymized data and still personal data under GDPR. Small groups (one technician per shift) can also be identified without names.

Do machine data need anonymization?

Usually not, unless they can be tied to a person, for example a machine run by one operator per shift with a login.

How large should the subset be?

Large enough to cover every process variant the app handles. One or two lines and a few weeks of orders is a common start.

Summary

Realistic sandbox data comes from a scripted, consistent subset of real data, masked where it touches people or money, and checked for anonymity. Copy master data, generate or mask transactions and people, add edge cases on purpose and refresh on a schedule.

Want to see how an app behaves on realistic data? Start a 14-day free trial with demo data and plan the next step with your own.

Updated 30 November 2026.

Productoo P4 keeps growing, with new apps and features that move manufacturing forward.