Private disclosure review. Includes inferred counts and complete witness tables.
← ToolsStatistical disclosure
Margin Ledger
What can a reader recover from the totals in your table?
Edit release data
Put column names across the top and row names down the left. Label the last row and column Total. Enter whole counts, * for a suppressed count, <5 for zero through four, or a range such as 2..8. Use 0..0 for an impossible combination that must stay at zero. Paste comma- or tab-separated text. Files may be UTF-8 or UTF-16 with a byte-order mark.
Applying this table starts a fresh comparison. Save unfinished or inconsistent figures as a private text draft. Paste a saved draft back into this editor to continue. Up to 24 rows by 24 columns. Counts stay in this tab.
Release table
Select a cell to see its exact bounds and try a suppression.
Changed ranges
Opening the table…
Complementary suppressions
The search tries hiding published counts at the other corners of a rectangle around the selected cell. It measures the range after each change.
Witness tables
Preparing the two complete tables.
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.
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.