← ToolsStatistical disclosure

Margin Ledger

What can a reader recover from the totals in your table?

Current releaseSynthetic workshop bookings
Published figures

Release table

Select a cell to see its exact bounds and try a suppression.

RecoverableMultiple valuesPublished count
Suppressed cells·
Exactly recoverable·
Range ≤ ·

Selected cell

Opening the table…

Exact feasible range·

Check the bounds

Witness tables

Preparing the two complete tables.

Take the result

Release and audit

Current counts, suppression tokens and totals. Check the recoverable cells before sharing.

Full feasible completions or an infeasibility record for this selection. Keep this file with the reviewer.

Download checker ↓

Run node check.mjs margin-audit.json to verify the saved audit. Include margin-release.csv as the next argument to check the exact public download against it.

Method, input limits and interpretation

Row and column totals constrain every completion at the same time. Each witness is a complete table of nonnegative integers. The highlighted cell attains the displayed low or high count while all released entries and margins remain satisfied. A width of zero means the published information determines that count exactly. The adjustable narrow-range flag counts positive widths only.

This model covers one two-way table with exact margins. Other releases, known relationships, structural zeros outside the input, person-level risks and disclosure rules can change a publication decision. A wide interval alone cannot establish that a release is safe. Enter known structural zeros as 0..0. These remain fixed in every candidate. A plain 0 is an observed count that can be suppressed. Whole-table safety and legal compliance require a separate review.

Inputs stay in memory on this device. Changing the table or reloading clears the mask history. CSV export prefixes formula-like labels with an apostrophe. Extra apostrophes prevent a collision with an existing label. The in-tab editor keeps the original spelling. The audit includes the model's numerically possible completions, which may themselves reveal values. All built-in examples are synthetic.