A work sample fails in public in two ways. The loud one is familiar: the demo link dies, the number stops matching, and a reviewer clicks into a 404. The quiet one costs more. The sample was built on records that were never yours to publish, and the problem surfaces after the file has been sent, opened on a laptop, cached by a search engine, and forwarded to one more person.
The first failure is a repair job. The second is a conversation with a former manager. Both are detectable in about twenty minutes, and only one of them can still be fixed once the file is out.
Two ways the same artifact fails
Call the first failure the lock. You did the work inside an employer’s system, on an employer’s data, and every interesting detail sits under a confidentiality clause you signed without reading closely. Now the portfolio has two options: a case study so vague that it proves nothing, or a description of work that cannot be shown at all. Neither earns an interview.
Call the second failure the leak. You strip the customer names, publish the dashboard, and leave the account numbers, the region, the contract dates, and the exact sequence of tickets. Nobody in the hiring loop complains. Six months later the sample ranks for a search term that includes the client’s product name, or a former colleague recognises a row, and the artifact that was supposed to demonstrate care demonstrates the opposite.
The two failures share a root. Both come from treating a work sample as a copy of the job rather than as an argument about the job. The copy carries the client’s risk. The argument carries only yours.
Deleting the name column is the first step, not the last
The instinct after a privacy scare is to remove names and call it done. The UK Information Commissioner’s Office is blunt about why that is not enough. Its anonymisation guidance names two indicators of identifiability, singling out and linkability, and states that simply removing direct identifiers from a dataset is insufficient to ensure effective anonymisation. Linkability is the jigsaw effect: fields that mean little alone combine with public records, social profiles, or a company’s own press releases until one row points at one person.
The numbers behind that warning are not abstract. A 2019 study in Nature Communications found that 99.98 percent of Americans could be correctly re-identified in any dataset using 15 demographic attributes, and that sampling a fraction of the records does not restore plausible deniability. Fifteen columns is an ordinary customer table. Age, sex, postcode, and job title get most of the way there.
NIST’s de-identification report makes a related point in its choice of words. It prefers “de-identification” to “anonymisation” because de-identified information can sometimes be re-identified and sometimes cannot, and it treats the work as a collection of techniques tested by re-identification attacks rather than a status a file achieves once. For a portfolio it replaces a yes-or-no question with a measurement: not “is this anonymous” but “how hard would someone have to work”.
Three sweeps that find what names hide
The practical version is three passes over the artifact, each looking somewhere different.
| Sweep | Where it looks | What it catches |
|---|---|---|
| Columns | headers, data types, first and last rows | account ids, postcodes, birth dates, contract values, timestamps to the second |
| Prose | descriptions, comments, queries, commit messages, file paths | customer names inside ticket text, internal project codes, real literals in saved SQL |
| Pixels | screenshots, PDFs, notebooks, exported slides | browser tabs, avatars, spreadsheet tab names, autofilter dropdowns, document metadata |
The column sweep is the one people do. Sort each column, look at the smallest and largest value, and ask whether a value is a name in disguise. An account number is an identifier even when it looks like arithmetic. A timestamp with seconds is a fingerprint when it lines up with a public incident report.
The prose sweep is where most leaks survive. Ticket subjects carry names. Commit messages carry ticket keys that map to a client project. A saved query often keeps the literal it was tested with, which is usually a real customer id. Search the artifact for capitalised pairs of words, for strings that look like email addresses, and for any path containing a person’s name.
The pixel sweep catches what text search cannot. A screenshot of a dashboard includes the browser tab beside it, the avatar in the corner, the autocomplete list under the search box, and the sheet names along the bottom. A PDF exported from a word processor keeps an author field. A notebook keeps cell outputs from the run that used production data. Reopen every image at full size and read the edges, not the centre.
Run the motivated intruder test on one row
The ICO suggests a motivated intruder test, and it takes about ten minutes with one row. Assume a reasonably competent person who wants to identify the record, has internet access, and is willing to make a few enquiries. Then ask what they already know.
A former colleague knows the team structure, the client names, and roughly when the migration happened. A candidate who interviewed at the same company knows the product and the region. A journalist knows how to search a company register. If any of those people could take one row plus public information and land on a person or a live contract, the artifact is not de-identified, whatever the column headers say. The standard is what is reasonably likely, not what is theoretically possible, and a determined reader with a search engine clears that bar faster than most people expect.
Recovery, in order of preference
There are four ways out, and they are ordered by how much evidence they preserve.
Ask for written permission first. One page is enough: which fields, which venue, how long the permission lasts, and how it can be withdrawn. Most managers will approve a de-identified case study and refuse a raw export. Ask before you build, because a permission obtained after publication is a negotiation you have already lost.
Rebuild on synthetic data second. Keep the schema, keep the shape of the problem, replace the values. A support queue with 40,000 tickets and a nine percent escalation rate becomes a generated set with the same distribution and no real people in it. State in the first line that the data is synthetic, since a sample that hides its provenance is a different kind of dishonest.
Reduce to method third. Publish the query, the schema, the decision log, and the before-and-after of your own reasoning. The reviewer sees how you framed the problem and what you checked, and the client’s rows never leave the building.
Withdraw last, and do it properly. Pull the file, purge the cache where you control it, check whether an archive has a copy, replace the page with a short note, and tell the person who needs to know before they find out from someone else. Then re-check the rest of the portfolio for the same pattern, because artifacts built in the same month tend to share the same source.
What the reviewer is actually looking for
A reviewer opening a work sample is trying to answer a narrow question, which is whether you can be trusted with the next set of records. The client’s actual numbers answer a different question, about the client. What survives every redaction is the shape of your reasoning: the constraint you noticed, the measurement you chose, the trade-off you rejected, and the check you ran before shipping. Those parts cannot be confidential, because they belong to you rather than to the employer. A sample that keeps them and loses the rows is stronger evidence than a raw export, since it shows judgment instead of access.
Before the file leaves your desk
- Pick one row and try to identify it with public information only.
- Run the column, prose, and pixel sweeps in that order, with fresh eyes on the last one.
- Keep the permission note, the synthetic-data note, or the method-only version in the same folder as the artifact.
- Name the person who could still re-identify the sample, and write down what you did about them.
- Diary a review for the date the underlying contract or dataset changes, since a sample can decay from safe to unsafe without anyone editing it.
The test is not whether the sample looks anonymous. It is whether you can name the reader who could undo it, and say what you did before they got the chance.
