Privacy and preparation
Dataset confidential numeric values: removing names does not hide prices
By SourceX Editorial · Reviewed by Noah Loul ·
9 sections
Short answer
Privacy preparation removes people, not prices, so confidential numeric values in a dataset need their own pass. Classify every numeric field by what it reveals: your prices, your costs and margins, a counterparty's terms, a person's pay, volumes or derived totals. Then check what can be recomputed, apply the lightest treatment that closes the exposure, test aggregates for a dominant contributor and confirm the task still works.
Redaction
Dataset confidential numeric
Key takeaways
- De-identification protects people; prices, costs, margins and negotiated terms pass through it untouched.
- Classify each numeric field by what it reveals and about whom, using seven classes from own price to operational measures.
- Check derivations before finalizing: a dropped price is often one division away in the fields you kept.
- Prefer coarse, explainable treatments such as bands, indexes and top coding over hard-to-explain perturbation.
- Test every released total for a dominant contributor, and send counterparty terms and competitor exposure to counsel.
How should privacy preparation also cover confidential prices and other numbers?
Run a separate confidentiality pass over every numeric field, alongside the privacy pass. Removing names, emails and account numbers protects people; it does nothing for the net prices, unit costs, margins, negotiated rates and volumes that describe your business and your counterparties. Those numbers need their own classification, their own treatment and their own check that the treated file still works for the task a buyer has in mind.
The practical sequence is short. List every numeric column and every free-text field that can hold a number. Assign each one a confidentiality class using the guide below. Test whether any protected value can be recomputed from the fields you kept. Choose the lightest treatment that removes the exposure, then confirm the training task still has the signal it needs. Anything you cannot classify with confidence stays out until the commercial owner and counsel have looked at it.
Why a file with no names can still tell a reader what you charge
A de-identified order file still says what you sold, to which kind of customer, at what price, at what cost and in what quantity. Privacy tooling is built to find identifiers of people, so it passes these columns through untouched. The commercial exposure sits in exactly the fields that survive.
Federal law treats this information as protectable in its own right. The Defend Trade Secrets Act definition covers financial and business information of all kinds, provided the owner takes reasonable measures to keep it secret and the information has economic value because it is not generally known. Price books, cost build-ups and negotiated terms often fit that description, and how you handle them before release is part of the reasonable-measures story counsel will later have to tell.
There is also a third party in many of these numbers. A supplier's negotiated price to you, or a customer's contract rate, may be covered by confidentiality terms in that contract. Removing the counterparty's name does not remove your obligation if the price itself, the item and the date make the deal recognizable to anyone in your market.
The confidential numerical field classification guide
Classify each numeric field by what it reveals and about whom, not by its data type. The same decimal column can be harmless in one system and highly sensitive in another, so the class attaches to the field's meaning in this dataset.
Use the seven classes below. When a field fits two classes, take the stricter one. Record the class, the reason, the treatment and the reviewer in the field register so the decision can be repeated on the next export.
| Class | Typical fields | What it reveals | Default treatment | Utility to protect |
|---|---|---|---|---|
| N1 Own selling price | Net unit price, discount, rebate, quoted price, price overrides | Your price position by item, customer type and date | Index to an item baseline or band; drop exact values | Relative price movement and discount patterns |
| N2 Own cost and margin | Unit cost, landed cost, labor rate, burden, margin, cost build-up | Your cost structure and how much room you have to negotiate | Drop by default; keep only as a ratio or band if the task needs it | Rarely needed for training; decide case by case |
| N3 Counterparty terms | Supplier negotiated prices, customer contract rates, volume commitments, special terms | Another company's confidential deal with you | Exclude unless the contract permits use; otherwise aggregate across many counterparties | Usually low; leave out before trying to save it |
| N4 Amounts about a person | Wages, commissions, expense claims, invoices to sole proprietors | Personal financial information | Handle in the privacy pass; band or drop | Pay structure only through bands |
| N5 Volume and capacity | Quantities, order counts, headcount by site, throughput, inventory on hand | Market share, capacity and customer size | Round, band or top-code large values | Order size distribution and seasonality |
| N6 Derived amounts | Extended amount, tax, freight, totals, balances | Any protected value they can be divided or subtracted back into | Drop or recompute from treated inputs | Usually replaceable by treated inputs |
| N7 Operational measures | Durations, dimensions, weights, temperatures, counts of steps | Little commercial meaning on their own | Keep; check for rare combinations | Often the core task signal |
Which numbers can be rebuilt from the fields you kept?
Assume a reader will do arithmetic. If you drop the unit price but keep quantity and extended amount, the price is one division away. Before any treatment is final, list the relationships between numeric fields and check that every protected value stays protected after the others are treated.
These are the derivations that most often undo a treatment in business records:
- Unit price from extended amount divided by quantity, on order lines, invoices and quotes.
- Margin from treated price minus a cost that was kept for a different task, or cost from price and a kept margin percentage.
- Net price from list price and a kept discount percentage, or the reverse.
- Taxable amount from a tax amount and a published tax rate for the ship-to location.
- A single customer's spend from a regional total minus the other customers in the same region when the file also contains them.
- Exact values from banded fields when the same record appears in two releases with different band edges.
- Prices written into free text: notes, emails, quote comments and attached PDFs often restate the number the structured field hides.
Drop, coarsen, index, group or perturb: matching a treatment to each class
Pick the lightest treatment that closes the exposure for that class. Statistical agencies have used these techniques for decades, and the open-source sdcMicro package documents several of them as standard functions: top and bottom coding replaces extreme values beyond a threshold, microaggregation replaces each value with the mean of a small group of similar records, three by default, and noise addition perturbs continuous values.
Coarsening is usually the first choice. NIST describes generalization as reporting a value as a range or a member of a set, and the Census Bureau's 2026 policy makes coarsening such as ranges or rounding its preferred method, keeps suppression for limited cases and no longer uses noise infusion. That policy governs federal statistics, not private licensing, but it is a useful signal: coarse, explainable treatments are easier to document and defend than perturbation whose effect on the task is hard to see.
| Treatment | How it works | Closes | Cost to the task |
|---|---|---|---|
| Drop | Remove the field and anything it can be derived from | All exposure from that field | The task loses the signal entirely |
| Band or round | Report a range or a rounded value instead of the exact figure | Exact price, cost or volume | Fine distinctions inside a band disappear |
| Top and bottom code | Replace values beyond a threshold with the threshold or a fixed value | Outliers that point to one large customer or deal | Extreme cases lose their true size |
| Index to a baseline | Express each value relative to the item's own baseline, such as its median in an earlier period | Absolute price level while keeping movement | Cross-item price comparisons weaken |
| Microaggregate | Replace each value with the mean of a small group of similar records | Individual record values | Variance shrinks; small groups can still be too revealing |
| Add noise | Perturb values with random noise | Exact values when other fields are kept | Harder to explain; can distort the pattern the task needs |
| Lag the period | Release only records older than a set age | Current pricing and current terms | Recent patterns are missing |
When a total still exposes the one customer or supplier behind it
Aggregating does not protect a number when one contributor dominates the total. The federal disclosure limitation report used by statistical agencies, Statistical Policy Working Paper 22, rests on a simple idea: protect the largest contributor and you protect everyone. Its p-percent rule treats a total as sensitive when the second-largest contributor, after subtracting its own value, could estimate the largest one to within p percent.
Apply the same test to any total you plan to release by region, product line, channel or month. If one customer is most of a region's revenue, the regional figure is that customer's figure. If two suppliers make up a category, each can read the other's share. Federal work on complementary suppression also shows that hiding a few cells is fragile when totals and margins let a reader solve for what was hidden.
Competitor exposure is the other reason to be careful. In December 2024 the FTC and DOJ withdrew their 2000 guidelines for collaborations among competitors, which had discussed price and cost information exchanges, and said the guidelines risked creating safe harbors with no basis in the statutes. In February 2026 the two agencies opened a public inquiry to develop updated guidance on business collaborations, including information and data sharing; until new guidance is issued there is no agency safe harbor to lean on, so when a dataset with price or cost detail could reach a competitor or a vendor serving competitors, counsel should review the scope before release.
Illustrative case: order lines from an industrial distributor
The following case is illustrative; the company, fields and shares are invented to show the method. An industrial distributor wants to license several years of order lines for a model that predicts substitutions and order timing. The privacy pass has already replaced customer and contact identifiers with codes.
The confidentiality pass classifies the remaining numeric fields. Net unit price and line discount are N1. Unit cost and margin are N2. A column of contract prices for a few national accounts is N3. Quantity is N5. Extended amount and freight are N6. Lead time in days and pack size are N7.
The decisions follow the class. Unit cost, margin and the contract price column are dropped because the substitution task does not need them. Net price is converted to an index against each item's median price in the first year of the release, which keeps price movement and promotions visible without revealing price levels. Extended amount and freight are dropped because they would let a reader divide back to the price. Quantity is top-coded at the 99th percentile of each item's order size, because the largest orders point to two recognizable accounts. Lead time and pack size are kept as they are.
The exception is a small group of items, around 3 percent of the catalog in this illustration, bought by a single customer under a private-label arrangement. Even indexed, their price path would describe that customer's deal, and the contract has a confidentiality clause. Those items are excluded entirely rather than treated, and the field register records why.
What can still leak after the numbers are treated, and who signs off
After treatment, rerun the derivation checks and look for what structured treatment misses. The most common leaks are free-text fields that restate prices, rare items that identify a single buyer, small regional totals and attachments such as quote PDFs carried along with the records.
Sign-off should involve the people who own the risk, with a clear stop rule for anything unresolved.
- The commercial owner, such as the CFO or head of pricing, confirms each N1, N2 and N3 decision and the baseline used for any index.
- The privacy reviewer confirms N4 fields and that coded identifiers cannot be reversed through rare numeric combinations.
- Counsel reviews any N3 field kept in any form and any release that could reach a competitor, before the scope is final.
- A technical reviewer runs the derivation checks on the treated sample and confirms the task metric still works on it.
- Stop and narrow the scope when a protected value can still be recomputed, when one contributor dominates a released total, or when a counterparty contract is unclear about reuse.
Deciding which numbers leave the building in a SourceX license
When a distributor, contractor or service firm licenses records through SourceX, the work spans rights review, contracting, data preparation and delivery of a dataset built from the records the company selects. Its standing terms have SourceX perform de-identification through approved processing routes, which addresses people; which commercial numbers appear at all is a scope decision the company makes with the field register in hand.
The company approves the scope and terms and signs before anything is delivered, so price and cost decisions belong in that review rather than after it. A first conversation is a short company assessment that needs no data upload, which makes it a reasonable point to raise which numeric fields you intend to keep, band or exclude.
Frequently asked questions
Is a price personal data?
Usually not, because a price describes a transaction between businesses rather than a person. It can become personal when it is tied to an individual, such as a pay rate, a commission or an invoice to a sole proprietor. Classify those amounts in the privacy pass and treat business prices in the confidentiality pass.
Does rounding prices protect them?
Rounding or banding protects the exact figure, which is often enough for older records and wide bands. It does not help if another kept field lets a reader recompute the value, or if the same records appear in a second release with different band edges. Run the derivation checks after rounding.
Can I keep exact prices if the buyer signs a confidentiality agreement?
A confidentiality agreement limits what the licensee may do, but the numbers still leave your control and may be copied into derived works. Counterparty prices may also be restricted by your own contracts regardless of what the buyer signs. Keep exact prices only when the task truly needs them and counsel has reviewed the terms.
What is the p-percent rule?
It is a test statistical agencies use to decide whether a published total is sensitive. A total fails when the second-largest contributor could subtract its own value and estimate the largest contributor's value to within p percent. It is a quick way to catch regional or category totals that are really one company's figure.
Do AI developers need real prices to train useful models?
Often they need price movement, relative position or discount patterns rather than exact levels. An index against each item's baseline, or bands, can keep that signal while hiding what you charge. Ask what the task is before deciding, because some tasks need no price field at all.
Sources
- Federal law defines a trade secret to include financial and business information whose owner takes reasonable measures to keep it secret and that has economic value from not being generally known. Source
- The federal statistical community's disclosure limitation report covers tabular data and microdata and notes that protecting the largest reported values in effect protects all values. Source
- Under the p-percent rule a total is sensitive when the second-largest contributor, after subtracting its own value, could estimate the largest contribution to within p percent; complementary suppression can be vulnerable. Source
- NIST describes suppression and generalization of quasi-identifiers, where generalization reports a specific value as a range or a member of a set. Source
- Microaggregation groups similar records and releases the group aggregate instead of each record's value; the sdcMicro function defaults to groups of three. Source
- Top and bottom coding replaces values above or below a threshold with a different value to reduce disclosure risk. Source
- Noise addition perturbs continuous variables with one of several methods. Source
- The Census Bureau's 2026 disclosure avoidance policy makes coarsening, such as ranges or rounding, the preferred method, keeps suppression for limited cases and no longer uses noise infusion. Source
- The FTC and DOJ withdrew their 2000 guidelines for collaborations among competitors in December 2024, saying they no longer gave reliable guidance and risked safe harbors without a basis in the statutes. Source
- In February 2026 the FTC and DOJ sought public comment to develop updated guidance on business collaborations, asking about topics including information and data sharing and algorithmic pricing. Source
See if your company qualifies
A short company assessment. No data uploads are needed.