Data quality · CSV triage
Dataset quality scanner
Drop in a CSV. Get a 0–100 score, a per-column report and a list of the things that will break a pivot table — before you build the pivot table.
Read and measured in your browser. Nothing is uploaded.
Drop a CSV here, or
Missing cells, duplicate rows, mixed types, outliers, a Benford check and a 0–100 score. The file is read in this tab and never sent anywhere.
What a quality score is for
Not certification. A score of 96 does not mean a dataset is fit for your analysis; it means nothing obvious is wrong with it. The useful direction is the other one: a score of 61 tells you where to look before you spend a day building on top of a file that will quietly produce wrong numbers.
That framing matters because most data problems are not catastrophic. They are the duplicate rows that make revenue 3% too high, the "TBD" that drops out of a sum, the trailing space that splits one region into two in a group-by. None of these throw an error. All of them survive into a board deck.
The six checks, and what each one costs you
| Check | Weight | Why it is weighted that way |
|---|---|---|
| Completeness | 35 | Empty cells are the most common and most damaging defect: every average silently excludes them, every join drops them. |
| No duplicate rows | 20 | Duplicates inflate counts and sums in a way that looks like growth. A 1% rate is already a 1% overstatement. |
| Type consistency | 15 | One text value in a numeric column breaks summation without an error; one stray space splits a category. |
| Numeric sanity | 10 | Outliers are either the most interesting rows in the file or a units error. Either way, they need a decision before aggregation. |
| Column structure | 10 | Empty and constant columns indicate an export problem, or a field that should have been a join key. |
| Digit distribution | 10 | Benford is a screen for magnitudes that do not behave like real-world quantities. Weak evidence, cheap to compute. |
When a check cannot apply, its weight is dropped and the remaining weights are rescaled to 100. A file with no numeric column is not punished for having no outliers to find.
Reading the issues list
The list is ordered by what to act on first, not by how many rows are affected. Severity is about consequence, which is why five duplicate rows in a 260-row file outrank three "TBD" values in an amount column: one changes every total, the other changes three cells.
Counted per column, with the fill rate next to it. What matters is not the average across the file but whether the column you are about to aggregate is the one that is half empty.
Exact matches across every column, compared on a hash and confirmed field by field. Not "near duplicates" — a fuzzy match would need a threshold, and a threshold you cannot see is how dedupe tools delete real rows.
A column is typed by the majority. The minority that does not fit is counted, sampled, and named — because "amount is a number" and "amount is a number except for three rows" lead to different decisions.
How to use it
- Scan the file you are actually going to use. Not a sample, not last month's version. Quality problems are usually concentrated in a few rows.
- Read the flagged columns before the score. The score is a summary; the column table is the evidence. Check the fill rate and distinct count of the columns you plan to join or group on.
- Export the report into the ticket. A CSV or JSON of measured facts travels further than "the data looks a bit dirty", and it survives the next handover.
- Fix at the source, not in the pivot. Deduping in a spreadsheet creates a second version of the truth. The report exists to make the upstream fix arguable.
What it does not do
- No semantic validation. It can see that
discount_pctholds numbers; it cannot see that 940% is impossible in your business. - No cross-column rules. "Ship date before order date" is a real check, and it needs to know which columns are which. That is a per-dataset rule, not a generic scan.
- No PII detection. A column of email addresses is typed as text. If the file is sensitive, that judgement is yours, not the scanner's.
- No repair. Nothing is rewritten. A scanner that silently fixes your file is a scanner whose results you can never reproduce.
Frequently asked questions
What does the 0–100 score actually measure?
Six checks with fixed weights: completeness 35, absence of duplicate rows 20, type consistency 15, numeric sanity 10, column structure 10, digit distribution 10. Each check scores its own weight, the total is scaled to 100. If a check cannot apply — a file with no numeric columns has no outliers and no Benford test — its weight is removed and the rest is renormalised rather than scored as a zero.
Why publish a score at all, if the weights are a judgement call?
Because a single number is what gets pasted into a ticket and compared across files. The weights are stated above and every component is shown separately, so the number can be argued with. Treat it as triage: it tells you whether to look, not whether the data is fit for a specific purpose. A 95 that is missing the one column you needed is still unusable.
What counts as a missing value?
A blank cell, or one of the tokens NA, N/A, null, none, nil, NaN — case-insensitive. Nothing else. In particular a single dash or a zero is treated as data, because in most finance exports "-" means zero and treating it as missing would quietly delete real rows.
Does a Benford departure mean the numbers were fabricated?
No, and a tool that implies so is doing harm. Benford applies to magnitudes that span several orders of magnitude — revenue, populations, invoice totals. It fails routinely on capped fields, rounded values, mixed units, hard floors and anything bounded by policy (a discount capped at 30%). The check here is a screen that says "this column does not look like naturally occurring magnitudes", and the first three explanations to rule out are all innocent.
Why do some outlier counts have an asterisk?
Because the column is heavy-tailed: more than 15% of its values sit outside the 1.5×IQR fence. When that happens the fence is describing the wrong shape, not finding errors, so the count is reported for transparency but excluded from the score and from the issues list. For columns spanning several orders of magnitude the fence is computed in log space for the same reason.
What is a "stray" value?
A value that does not fit the type the rest of its column implies: a "TBD" in an amount column, a "n/a" in a date column. These are the values that get silently dropped by SUM and by date filters, so totals come out short and nobody notices. They are counted per column rather than ignored, because 3 strays and 3,000 strays are different problems.
Does the scanner modify my file?
No. It reads the text, measures it, and renders a report. There is no upload, no server-side copy and no write-back. The CSV and JSON exports are generated in the browser from the measurements.
How large a file can it handle?
Up to 200,000 rows in one pass, which covers most exports people actually paste into a ticket. Beyond that the first 200,000 rows are scanned and the report says so. Everything is synchronous JavaScript on the main thread, so a very wide file will take a few seconds and briefly freeze the page — that is the honest cost of doing it without uploading.
Method
| Measure | Definition used here |
|---|---|
| Missing | Blank, or one of na, n/a, null, none, nil, nan (case-insensitive). Dashes and zeros count as data. |
| Duplicate rows | Every field identical after the CSV parser has unquoted them. Counted once per extra copy. |
| Type | Majority rule: ≥98% numeric → number; ≥95% date-shaped → date; ≥20% numeric otherwise → mixed; a single distinct value → constant. |
| Outliers | Outside Q1 − 1.5·IQR to Q3 + 1.5·IQR. Computed in log space when the column is strictly positive and spans ≥100×. Reported but not scored when more than 15% fall outside. |
| Benford | First significant digit vs log10(1 + 1/d), χ² with 8 df. Runs only with ≥50 positive values, ≥90% positive, ≥30 distinct values, a ≥10× range, and not on a dense integer run. |
| Score | Sum of earned ÷ sum of applicable weights × 100, rounded. Grades: A ≥ 90, B ≥ 75, C ≥ 60, D below. |
Formulas for the rest of the site — the two-proportion test behind the A/B test calculator, and the maturity and weighting rules behind the cohort retention analyser — are collected on the methodology page.