Skip to content

Privacy and preparation

Dataset example privacy review: a separate test for each format

By SourceX Editorial · Reviewed by Noah Loul ·

10 sections

Short answer

A dataset example privacy review treats every sample file, screenshot and case study as a new publication, because each reaches a wider audience than the licensed dataset and leaks through its own layer: chosen records, the screen around a record, or the story. In 636 public dataset cards that print an example, 522 carry no privacy statement, and none of the other 114 mentions the example. Test each format before release.

Redaction

Dataset example privacy

This page covers dataset example privacy review: a separate test for each format.Illustrative

Key takeaways

  • An example reaches more people, with less contract around it, than the dataset it came from; the ICO ties release to the world at large to more robust techniques.
  • Sample files leak through selection and processing stage, screenshots through everything else on the screen, and case studies through the story and the supplier's identity.
  • Of 636 Hugging Face dataset cards (tag 2.5.2) that publish an example, 522, or 82.1 percent, have no privacy statement, and none of the other 114 statements mentions the example.
  • The example shows what a reader actually sees: six cards print @-handles in the example block, three print the @user mask instead.
  • The fix is a per-format test, a named signer and a release record, not another pass of the dataset's redaction rule.

What is a dataset example privacy review, and when do you need one?

A dataset example privacy review is a separate release decision for any piece of a dataset shown outside the licensed delivery: a sample file for a prospective buyer, a record pasted into documentation, a screenshot in a deck, a case study. You need one every time an example leaves the controlled channel, even when the full dataset has already been de-identified.

The decision is narrow and answerable: may this exact example be published, to this audience, in this form? Four pieces of evidence settle it. The example as the reader will see it, rendered and exported. The source record keys it came from. The de-identification record of the dataset version it was taken from. And the audience, named as either known recipients under contract or anyone who finds the file.

Most teams skip the review because they think of the example as a slice of something already approved. It is closer to a new dataset of one, released on different terms, and the rest of this guide shows where that difference opens a leak and which test closes it.

Why can a clean dataset still leak through its examples?

A clean dataset leaks through its examples because an example differs from the delivery in audience, selection and processing stage, and each difference widens what a reader can learn. The dataset's de-identification was judged for one context; the example lives in another.

Audience comes first. The UK Information Commissioner's Office says in its anonymisation guidance that "Before you release data to the world at large, you should consider using robust techniques to reduce the higher risk of unauthorised personal data disclosure compared to intentional and controlled data release to known recipients." A licensed dataset goes to known recipients under an agreement. A sample on a website or a slide in a conference talk goes to the world at large, with no contract stopping a reader from combining it with what they already know.

Selection is the second difference. Examples are picked to impress: the unusual escalation, the complex claim, the customer with a long history. Those are exactly the records most likely to be recognized, which is the situation the ICO's motivated intruder test asks you to consider, a person who wants to identify someone and uses all the means reasonably likely to be used. A random record and a chosen record carry different risk even after identical redaction.

Stage is the third. Examples are often grabbed from wherever the record is easiest to see: the source system's interface, a staging export, an analyst's notebook. None of those is the de-identified version that was reviewed. In the EU, the European Data Protection Board's Guidelines 01/2025 on pseudonymisation (adopted for public consultation in January 2025) treat pseudonymised data that can be linked back with additional information as personal data still, so an example that kept a stable placeholder or an internal ID can stay personal even with names removed. This is general information for the UK and EU, not legal advice; counsel reviews any specific release.

What 636 public dataset cards show about unreviewed examples

Public dataset documentation shows how routinely examples are published without their own privacy review. This article read the 770 dataset cards in the huggingface/datasets repository at release tag 2.5.2 (commit c59cc34, October 2022), the last release that kept the canonical cards in the code repository, and compared each card's example section with its privacy section.

The card template explains the pattern. Its guide asks authors to "Provide an JSON-formatted example and brief description of a typical instance in the dataset", and in a separate section asks them to state whether individuals can be identified in the dataset. The privacy questions are about the dataset. Nothing asks whether the example printed a few headings earlier was itself checked.

The cards follow the template. Of the 770 cards, 636 publish an example under Data Instances. Of those 636, 522, or 82.1 percent, have no privacy statement: the section is missing, empty or still a template placeholder such as More Information Needed. The other 114 cards state something about personal information, and none of those 114 statements refers to the example shown in the same card.

The examples show what the data shows. Inside the example code blocks, six cards print at least one @-handle that is not a placeholder; in three of them the privacy section says usernames or user data were not anonymized, and in the other three it is a placeholder. Three different cards print the @user mask instead, and only one of those three explains the masking in its privacy section. No example block contains an email-shaped string.

These are public research corpora, not business records, and an @-handle is a shape, not proof of a private person. What the count measures is process: examples went out with no review attached, and the only reliable account of what a reader can see was the example itself.

What 636 public dataset cards show about unreviewed examples
Count in the 770 cardsCardsWhat it tells a reviewer
Publish an example (Data Instances not a placeholder)636Examples are a default part of documentation, not an exception
Example published, no privacy statement522 (82.1% of 636)The example left with nobody recording a privacy decision
Example published with a privacy statement114A statement exists, but it describes the dataset
Privacy statements that refer to the printed example0 of 114No card treats its own example as something to review
Example blocks with a non-placeholder @-handle6Three say usernames were not anonymized; three have placeholders
Example blocks showing the @user mask3Only one explains the mask in its privacy section
A bar dividing 770 public dataset cards into 134 with no example, 522 with an example and no privacy statement, and 114 with a statement, none of which mentions the example, above three labels naming the leak layer of samples, screenshots and case studies.
Examples published without their own review: 770 dataset cards in huggingface/datasets at tag 2.5.2, counted on 2026-10-28.

Sample files: rebuild from the delivered version, then screen for rarity

A sample file passes review when it is rebuilt from the delivered, de-identified version by record key and then screened for records that are rare in the full dataset. Copying rows from the source system, or from any copy upstream of de-identification, fails the review before it starts.

Rebuilding matters because it ties the sample to evidence that already exists. If the sample is a key-for-key extract of the reviewed version, the dataset's de-identification record covers its content, and the review can concentrate on what is new: selection and audience. A sample assembled by hand from the help desk or CRM has no such record, and every field in it has to be justified from scratch.

Rarity is the new risk. Before release, look at the combination of descriptive fields each sampled record carries, such as region, role, product, date and outcome, and count how many records in the full dataset share that combination. Records whose combination is rare get dropped or generalized. The threshold is a judgment for the privacy reviewer, written down with the reason, not a constant this guide can set.

Then check what travels with the file. Column headers and sheet names can name customers. Spreadsheet properties and document metadata carry authors; the ICO's freedom of information guidance notes that electronic documents often hold hidden information such as the name of the author or details of earlier drafts. Export the sample to a plain format, read it as the recipient will, and keep only the fields the buyer's question needs.

Screenshots: review the pixels around the record

A screenshot passes review only when the whole rendered image has been checked, because a screen shows far more than the record it was taken to illustrate. The dataset's text redaction never touched any of it.

Look at what surrounds the record. Help desk and CRM screens show the signed-in agent's name and avatar, a sidebar of other open tickets, the customer's company in a header, a tenant name in the address bar, notification pop-ups and browser tabs. A screen recording adds every frame in between. None of these sit in the exported dataset, so none were in scope when it was de-identified.

Covering text is weaker than removing it. ICO guidance on disclosing information safely aims to remove withheld information irreversibly from the released copy, shows that a black highlighter box drawn in a word processor leaves the text recoverable, and warns that images and other file types can carry additional metadata that must be checked before release. A screenshot pasted into a deck with a shape over a name inherits both problems.

The test that settles a screenshot: stage it from a demo account seeded with the delivered, de-identified records, or from synthetic records labeled as such; crop to the region that makes the point; flatten and export the final image; strip its metadata; run text recognition on the exported image and pass the result through the same detector the dataset used; and have a second person look at every pixel before release.

Case studies: the narrative and the supplier both identify

A case study passes review when neither the people in the records nor the company that supplied them can be picked out, and when the contract allows the story to be told at all. Of the three formats it is the one most likely to fail on the supplier rather than on a person.

The narrative is the leak. Industry, headcount band, region, the year of an unusual event and the shape of the workflow can together point to one company, and one quoted ticket or call line can point to one customer. The general method for broadening such details is covered in the consulting-firm guide to anonymizing client case studies; for a dataset, the extra step is to replace verbatim record text with a paraphrase written from the de-identified version.

Contract terms come before style. SourceX's standard deal terms state that "Neither side publicizes the deal," so a supplier who has licensed records should treat any case study about that dataset as a contract question for counsel before it is a privacy question for the reviewer.

The example publication review matrix and release record

The matrix below gives each example format its own test, the utility worth keeping and the person who signs. It is an editorial tool drawn up for this article, not a regulator's standard, and it assumes the full dataset already has a de-identification record.

Every approved example then gets a release record, so a later question about who saw what can be answered from documents. The checklist below lists the record's contents:

  • Format and audience: sample file, documentation record, screenshot, recording or case study, and whether it goes to named recipients under contract or to the public.
  • Source: the dataset version and the record keys the example was built from, or a note that it is synthetic.
  • Stage check: confirmation that the example was rebuilt from the de-identified version, not copied from the source system or a staging export.
  • Rarity decision: the fields compared, the threshold the reviewer applied, and the records dropped or generalized.
  • Render check: for images and recordings, the text-recognition pass on the exported file and the second reviewer's name.
  • Metadata: file properties, sheet names and image metadata removed, checked on the exported copy.
  • Contract check: for case studies and public samples, the clause that permits publication, confirmed by the contract owner.
  • Approval and expiry: who approved, on what date, and when the example is withdrawn or reviewed again.
The example publication review matrix and release record
FormatWhat leaks beyond the dataset's reviewTest that settles itUtility to keepWho signs
Buyer sample fileChosen rare records, extra fields, file metadata, rows copied from a pre-processing stageRebuild by key from the delivered version; rarity screen; plain-format export read as the recipientField coverage and realistic structure for the buyer's questionPrivacy reviewer
Record in documentation or a datasheetA stable placeholder or internal ID that links to other records; free text that names a customerUse a record from the delivered version or a labeled synthetic record; check every field against the published schemaShows the schema and one typical instanceDataset owner, with privacy review
Screenshot or screen recordingAgent names, other tickets in view, tenant names, notifications, every frame between takesStage from a seeded demo account; crop, flatten, strip metadata; text recognition plus detector on the exported image; second reviewerThe workflow context the record sits inPrivacy reviewer and a second reviewer
Case study or slide narrativeCombined company details, quoted record text, the supplier's identityCount the identifying details; paraphrase from the de-identified version; confirm the contract allows publicityThe decision the data supported and the outcomeContract owner and counsel, then privacy reviewer

If the dataset already passed de-identification, is a second review redundant?

Not redundant, unless the example is a key-for-key extract of the reviewed version going to the same kind of recipient. In every other case the context has changed, and context is what de-identification was judged against.

The strongest objection is efficiency: the dataset went through a documented process, so re-reviewing a handful of its rows looks like duplicated work. That holds when nothing changed. It fails when the audience widens from licensees to the public, when the example was chosen for being unusual, or when it came from a different processing stage, and at least one of those is true for almost every sample, screenshot and case study.

Removing names and securing the transfer also leave risk behind by design. SourceX's own legal framework page says that de-identification "reduces risk but can't remove it entirely" and that its supplier agreement records that re-identification may still be possible. If residual risk is acceptable for a contracted delivery, it still has to be judged again for a public slide.

The cheapest way to make the second review short is to avoid real records where they add nothing. A synthetic record, labeled as synthetic, can show a schema; a seeded demo account can show a workflow. Keep real examples for the questions only real records answer.

Examples, samples and a licensing deal with SourceX

For a company considering a license, the practical rule is that no example has to leave before the agreement does. SourceX's first step is a short company assessment, and no data uploads are needed to see whether a company qualifies.

After signing, the trust page describes the order of events: once SourceX gives the go-ahead, "the data is extracted, transferred and de-identified through approved processing routes," and the legal framework page adds that the de-identification method used is recorded for each dataset. That record is what lets a later sample be rebuilt from the delivered version rather than copied from the source.

The how-it-works page also shows the habit this guide recommends. Its sample inventory card is marked as a sample for illustration and not a real company, and private data summaries are described as staying between the company and SourceX. A supplier who wants to check initial fit can start with the assessment; it is not an offer and promises no payment.

Methods note: the card corpus, counting rules and limits

Corpus: the 770 files datasets/<name>/README.md in huggingface/datasets at tag 2.5.2, commit c59cc34fcd2a369d27b77cc678017f5976a926a9 (committed 2022-10-05), read on 2026-10-28 as UTF-8 with any byte-order mark stripped. The folder holds 771 directories; the one without a card, datasets/parquet, is not counted. Draft XS0928 counts the same commit's 771 directories for manifests, loading scripts and card size labels; the two pages count different parts of the same files, so none of their figures overlap. The script, bin/card_examples.py in this batch's scratch folder, prints and saves counts per card only, never a matched string.

Sections: a section starts at the first heading line (two to six # characters, indented or not) reading Data Instances or Dataset Instances, or Personal and Sensitive Information, in any case with an optional colon, and runs to the next heading of level one to three. Heading-like lines inside fenced code blocks are ignored; a line holding an odd number of triple-backtick markers opens or closes a block. A section is a placeholder when, after markdown links are replaced by their text and spaces trimmed, it is empty or reads exactly More Information Needed, Needs More Information or N/A, in any case, with optional square brackets and final period. A card publishes an example when its Data Instances section exists and is not a placeholder; it has a privacy statement when its privacy section exists and is not a placeholder. The share 522 of 636 is rounded once, to one decimal.

Example references: each of the 114 statements was matched against a pattern for data instance(s), dataset card, data card, this card, readme, and example(s), sample(s) or instance(s) followed by above, below or shown, which found one statement; every statement containing the whole words example(s), instance(s), sample(s), card(s), readme, shown, above or below, after removing for example and e.g., was then read by hand. Eight statements qualified, the pattern match among them, and none refers to the example printed in its own card. The descriptions of what the six and three privacy sections say also come from reading them by hand.

Identifier shapes were counted only inside fenced code blocks of the Data Instances section. Email-shaped strings: characters, @, and a domain with a dot and a final part of two or more letters. @-tokens: @ followed by 1 to 30 letters, digits or underscores, not preceded by a letter, digit, underscore, @ or period, counted after email-shaped strings were removed. The @user mask is a token equal in any case to user, username, users, usuario, mention or user_mention. Tokens beginning with entit, the words placeholder and highlight, digit-only tokens and tokens beginning with math, xmath, cite or xcite, in any case, were treated as other placeholders and counted as neither. Every remaining token is handle-shaped, except in the 14 cards whose directory name begins with code_, source-code datasets where @ marks programming annotations.

Not measured: phone numbers, names, street addresses and usernames stored in plain fields without an @; whether any handle belongs to a private individual; whether the cards' datasets themselves are de-identified; and any business dataset. The matrix and checklist are editorial frameworks, not results of the count.

Frequently asked questions

Does a de-identified dataset make its examples safe to publish?

Only when the example is an exact extract of the reviewed version and goes to the same kind of recipient. A public example reaches a wider audience, is usually chosen for being unusual and is often taken from a different processing stage, so it needs its own decision. The ICO links stronger techniques to release to the world at large.

Should a buyer sample come from the raw export or the delivered dataset?

From the delivered, de-identified version, rebuilt by record key. Copying rows from the help desk, CRM or a staging export creates a file no de-identification record covers. Rebuilding also lets the reviewer focus on what is new, which is the choice of records and the audience.

Is blurring or boxing a name in a screenshot enough?

Not by itself. ICO guidance shows that a box drawn over text in an editable document can leave the text recoverable, and images can carry metadata. Stage the screenshot from seeded or synthetic records, crop and flatten it, strip metadata and check the exported image before release.

Can a case study mention the supplier's industry and size?

Sometimes, but combined details can identify a company even without its name, and quoted record text can identify a customer. For licensed records, check the contract first: SourceX's standard terms state that neither side publicizes the deal. Counsel decides what the contract allows.

Who should approve an example for publication?

The privacy reviewer approves sample files and screenshots, with a second reviewer for images. Case studies need the contract owner and counsel first. Every approval belongs in a release record with the dataset version, record keys, checks run and an expiry date.

Sources

  • The ICO says release to the world at large calls for more robust techniques than controlled release to known recipients, and that the motivated intruder test must be considered (UK). Source
  • ICO guidance notes that electronic documents often contain hidden metadata such as the author's name or earlier draft details. Source
  • ICO guidance on disclosing information safely aims at irreversible removal, shows a black highlighter box can leave text recoverable, and warns that images can carry metadata. Source
  • EDPB Guidelines 01/2025 on pseudonymisation (public consultation version, January 2025): pseudonymised data that can be linked back with additional information remains personal data (EU). Source
  • The 770 dataset cards in huggingface/datasets at tag 2.5.2, analyzed for this article: 636 publish an example, 522 of them without a privacy statement. Source
  • The dataset card guide asks for a JSON-formatted example of a typical instance and, separately, for privacy statements about the dataset. Source
  • SourceX's trust page: once SourceX gives the go-ahead, the data is extracted, transferred and de-identified through approved processing routes. Source
  • SourceX's legal framework page: the de-identification method is recorded for each dataset; de-identification reduces risk but cannot remove it entirely. Source
  • SourceX's how-it-works page: neither side publicizes the deal; its sample inventory card is labeled as an illustration, and summaries stay private to the company and SourceX. Source

See if your company qualifies

A short company assessment. No data uploads are needed.

See if your company qualifies