Guides · ← All guides · Published November 14, 2026 · Reviewed November 14, 2026 · Ingenious AI team · 7 min read
Evaluating Models With Production Data Without Giving the Eval Production Access
The sample should travel to the eval. The eval should never travel to the sample's home — that one direction is the whole safety story.
The short answer: give the eval data, not access. Extract a minimal, purpose-shaped sample from production through a deliberate export — by a production-side job or a named engineer, redacting fields the eval does not need, landing the sample in the eval's own private store, and logging the crossing. The eval then runs against the sample with eval-only credentials and a scoped role, holding no key, token or network path that production would honour. The declared setup stays scannable and clean under the free scan, and the question 'what production data has our eval programme touched?' has a finite, logged answer instead of an unbounded one.
What is a production-data eval sample?
A production-data eval sample is a bounded extract of real operational data — tickets, documents, transactions, conversations — selected and shaped for evaluation, as opposed to production access, which is a standing capability to query the live systems. The distinction this guide enforces is between data that has crossed a boundary deliberately and a boundary that does not exist.
Why does the standing-access pattern fail audits?
Because it makes the eval's data exposure unanswerable. An eval role that can query the production store has, in principle, read whatever the model asked for across every run — including the runs steered by injection cases, whose queries nobody chose. When diligence or an incident asks 'which customer records did the eval touch?', standing access forces the answer 'any of them', and forces the follow-up retention, notification and trust conversations that answer triggers. The teams that adopt it rarely decide to; they inherit it from a copied config (the eval that needed realistic data took the app's own config, credentials included) and discover the arrangement's true shape at the first external question.
The export pattern's cost is one deliberate step per dataset refresh. Its return is that every other question becomes easy: the sample's contents are enumerable, its fields are chosen, its redactions are documented, its arrival is logged. Audits end. Incidents scope themselves. And the model still trains its evaluation on real distributions — the sample is production data, with production's mess and edge cases intact in every field the eval legitimately needs.
What should the export minimise and redact?
Minimise along three axes: rows (the smallest sample that supports the measurement — hundreds of well-chosen cases usually beat a hundred thousand unchosen ones, and stratification by the behaviours being measured beats volume), fields (drop identifiers and free-text fields the scoring never reads; keep the fields the model actually consumes), and time (the narrowest window that represents current behaviour, so the sample is not also an archive). Redact what remains sensitive and unneeded: direct identifiers replaced with stable pseudonyms where linkage matters, secrets and tokens stripped unconditionally — a production export is a classic place for a credential to hitchhike into an eval folder, and the receiving scan should be run on the sample's accompanying configs precisely to catch the hitchhikers.
Document the shaping in the dataset's own record: source, date, selector, redactions, owner. That record is the diligence artefact and the refresh instruction in one — when the sample is regenerated next quarter, the shaping decisions are re-applied rather than re-invented, and any drift between refreshes is a reviewable diff.
How does the sample live once it crosses?
As eval data, under eval rules: in the eval's dedicated store, private by ACL, access-logged, TTL'd or formally retained as a versioned dataset with an owner — never in the public-read results bucket, never pasted into the harness config's neighbourhood where credentials also live, and never re-exported onward as part of results sharing without a review of what the results quote from it. Model outputs about a sensitive sample are themselves sensitive in proportion; treat results over production samples with the sample's classification, not the eval's default. When the eval programme ends, the sample's retention ends on the schedule its record states — eval datasets have a way of outliving their programmes in forgotten buckets, which is a data-protection finding unrelated to any scanner, and entirely avoidable with a TTL and an owner.
Version samples like code: a dataset version identifier in every run record, so a score is always attributable to the data that produced it. That discipline pays twice — scientifically (results are comparable per version) and for assurance (the boundary story is per-version too: this export, these redactions, this store).
Worked example: Meridian Grocers Group, scored end to end
Example. Meridian, a fictional grocery group, evaluated a supplier-email summariser. Its first design let the eval role query the live supplier mailbox store 'for freshness'; diligence from a retail partner asked what the eval could read, and the honest answer sank the design. The replacement export pattern was audited against the declared setup, whose remaining findings were the old pattern's residue:
| Finding | Class | Severity | Weight |
|---|---|---|---|
| Generic secret assignment (mailbox store password) in the harness config | generic_secret_assignment | HIGH | 15 |
| Public-read ACL on the results bucket declaration | public_bucket_acl | HIGH | 15 |
| JWT token pasted into the eval environment file | jwt_token | MEDIUM | 8 |
The arithmetic: 15 + 15 + 8 = 38 points of exposure, so the score is 100 − 38 = 62/100, grade C. Scoring uses EvalEgress's published weights — CRITICAL 25, HIGH 15, MEDIUM 8, LOW 3 — with grades at A ≥ 90, B ≥ 75, C ≥ 50 and D ≥ 25.
A weekly export job now lands 600 stratified supplier threads — identifiers pseudonymised, pricing fields dropped as irrelevant to summarisation — into the eval's private dataset store, with the export logged and the dataset versioned. The mailbox password left the eval entirely (rotated at the source), the results bucket went private, and the pasted JWT was replaced by a start-up sign-in. The re-scan reported zero findings. The partner's follow-up diligence took one meeting: the export log and the dataset record answered every question in order.
The export pattern: five actions
Sample deliberately, access never:
- Replace standing access with a scheduled export. A production-side job or named engineer extracts the sample; the eval role holds no credential any production system honours.
- Minimise rows, fields and window. Stratified and purpose-shaped beats bulk: the smallest sample that supports the measurement, with only the fields the scoring reads.
- Redact identifiers and strip secrets unconditionally. Pseudonymise where linkage matters; remove credential material without exception — then scan the sample's companion configs for hitchhikers.
- Land the sample under eval rules. Dedicated private store, access-logged, versioned, with an owner and a retention date — and results over it inherit its classification.
- Log every crossing and keep the dataset record current. Source, selector, redactions, owner: the record is both the refresh instruction and the diligence answer.
Realism is a property of data, not of access. The access side — what the eval holds while it works — is governed by the isolation blueprint.
Keep checking the boundary
Run the free exposure scan on the files your next eval will run with. Compare plans, read the scoring documentation, and keep reading: what is eval-to-production exposure?, what is egress in AI evaluation?, pre-deployment eval safety checklist, how to stop an AI evaluation from reaching production secrets, keeping eval results private, third-party eval datasets: what to check, scoping tool access for eval agents. EvalEgress is one of the Ingenious AI platforms.
Sources
- EvalEgress scoring documentation — the 16 finding classes, severity weights and declared-surface scope every judgement in this guide applies, published 2026.
- What Is Eval-to-Production Exposure? — the companion guide this page builds on, published November 7, 2026.
- The free EvalEgress scan — the declared-file scan this guide's checks are performed with.
Frequently asked questions
Won't a sample go stale and skew results?
Samples are versioned and refreshed on a cadence matched to how fast the underlying behaviour drifts — weekly or quarterly for most support and document workloads. Staleness is a known, dated property of a version; standing access trades it for unbounded exposure, which is a worse property.
The model needs fresh examples of a fast-moving abuse pattern. Still export?
Refresh the export more often, or stream a redacted feed through the same deliberate channel — the principle is the deliberate, logged crossing, not the batch interval.
Should we redact everything personal?
Redact what the measurement does not need; pseudonymise what it needs structurally (linkage, sequence); keep raw only what the scoring genuinely consumes, and record each choice in the dataset record so a reviewer can challenge it field by field.
Who should own the export?
A named role on the production side — the crossing is a production act with an eval destination, and its log belongs with production's records as much as with the eval's.
Does the free scan check the sample data itself?
The scanner audits declared configuration and policy files — the boundary around the data. The sample's own hygiene (redactions applied, secrets stripped) is verified by your export checks; running the companion configs through the scan catches the credential hitchhikers.