How do I check a dataset’s quality before buying?
Start with the task you need the data to support, then test a permitted sample against written requirements. Check whether records are complete, labels match their evidence and the collection covers your intended use. Keep separate results for each check: a clean file and a high average score can still hide a purchase-stopping gap.
Define what a usable case must contain
Write one sentence describing the intended use before inspecting a sales sample. For example: “We need historical support conversations to evaluate whether an assistant can propose a relevant troubleshooting step and recognize when to escalate.” This needs the customer’s problem, the information available at the time, the response and evidence for the result. A list of ticket statuses cannot do that job.
The UK Government Data Quality Framework treats quality as fitness for purpose and distinguishes completeness, uniqueness, consistency, timeliness, validity and accuracy. These are separate questions: a populated field can be wrong, and a correctly formatted date can describe the wrong event. The framework is useful guidance, not a certificate that a commercial dataset is suitable.
Choose essential requirements and tolerable defects for your own use. An absent language or product version may stop a purchase even if nearly every other field is populated. Do not average that gap away with strong results elsewhere.
Ask for enough context to audit the offer
Ask the supplier for a permitted sample, a field dictionary explaining each column and label, the covered population and dates, and a description of selection and exclusions. Request counts for the full offered collection as well as the sample. “Ten thousand rows” could mean ten thousand messages belonging to a much smaller number of conversations.
Ask how the records were collected, cleaned, linked and labelled, and which parts were written by people or generated by AI. The Datasheets for Datasets paper proposes documenting a dataset’s motivation, composition, collection and intended uses; those topics make useful questions for a supplier. A completed document still needs checking against the files.
Agree who may inspect the sample, for what purpose, where it can be held and what happens to it after review. A quality test does not establish permission to train a model, redistribute records or put customer material into another service. Route uncertain use rights to the person responsible for the purchase before making copies.
Sources: Datasheets for Datasets
Inspect both routine cases and likely weak spots
First record how the sample was chosen. Ask for selection from a defined list of eligible cases rather than only polished examples chosen for a demonstration. Compare the sample’s mix with the offered collection: periods, sources, languages, product versions, routine work, escalations and unknown outcomes, where those matter to your task.
Keep two purposes separate. A sample designed with an analyst to estimate defect rates needs a documented selection method and uncertainty analysis. A deliberately chosen set of difficult cases helps discover failure modes, but its raw percentages do not estimate how common those defects are across the collection. Neither purpose has a universal sample size.
If an important group is absent, record “not tested” and request coverage evidence or another permitted sample. Do not record a pass. A supplier-selected sample can establish that some usable cases exist; it does not establish a collection-wide success rate.
Use a scorecard with visible denominators
The following checks are an editorial starting point for a support-conversation purchase. Adapt them to your requirement. For each one, record the tested version, cases or fields inspected, failed count, unknown count, evidence and consequence. Counts of messages, distinct cases and reviewed labels should remain separate.
| Check | Inspection to perform | Decision it informs |
|---|---|---|
| Case completeness | Open selected conversations and verify the question, relevant replies, order and required attachments. Count cases missing any required item. | Can a reader reconstruct the problem and response, or only see isolated text? |
| Label evidence | Have a support specialist compare each claimed outcome with the conversation. Record supported, contradicted and unverified labels separately. | Can labels support your task without inventing a result? |
| Duplicates and links | Check repeated case IDs and near-identical conversations. Test whether every message joins to the intended case. | How many distinct usable cases are offered, and are unrelated conversations mixed together? |
| Coverage and freshness | Compare counts by relevant period, language and product version; distinguish event dates from export dates. | Does the collection cover the operating conditions you need? |
| Meaning and consistency | Confirm time zones, units and status definitions across sources. Check whether a field changed meaning during the covered period. | Can records be compared without silently combining incompatible meanings? |
| Format and compatibility | Load an authorized copy into your intended tool; inspect text encoding, long replies, nested fields and attachments. Reconcile counts before and after loading. | Does your import preserve the information you inspected? |
| Origin and transformations | Trace selected case IDs through available source evidence and the documented cleaning or labelling steps. | Are discrepancies explainable, and which provenance questions remain open? |
Fictional audit: every ticket is closed, but what was resolved?
This entire example is fictional. A supplier offers historical support tickets labelled “successfully resolved.” A buyer wants to evaluate an assistant’s troubleshooting advice. The supplier selects 40 distinct tickets for a permitted review; this is an exploratory sample, not a random estimate of the whole offer.
Ticket T-08 contains a customer’s printer error, the agent’s reset instructions and a later customer reply saying printing works again. Its success label is supported by that reply. Ticket T-21 contains an error report and a request for diagnostic logs, followed by automatic closure after no reply. Its closure is documented, but successful resolution is unknown. Both rows say “closed”; their evidence supports different conclusions.
The reviewer checks all 40 tickets and records the following mutually exclusive groups. Counts refer to tickets, not individual messages.
| Finding | Tickets | What the audit supports |
|---|---|---|
| Customer confirms the reported problem was resolved | 26 | Evidence supports the resolution label for these cases; it does not prove the agent’s reply was the sole cause. |
| Closed after no customer reply | 5 | Resolution is unknown; silence does not support a success label. |
| Escalated, with no later result supplied | 3 | The available record documents escalation, not a successful final outcome. |
| Conversation is truncated before the relevant response or result | 6 | Required context is missing; the outcome cannot be checked from this delivery. |
Turn the findings into a buying decision
In the fictional audit, 34 of 40 tickets have the conversation needed to inspect the exchange. Only 26 of 40 have the specified confirmation of resolution. Reporting 26 of 34 without mentioning the six incomplete cases would hide a delivery defect. The eight intact conversations with unknown resolution are not proven failures; they need an unknown category rather than a forced success or failure label.
For the proposed evaluation, pause acceptance of the success-labelled offer. Ask the supplier to explain the labelling rule, preserve unknown outcomes and identify or repair truncated conversations. Request a new checked delivery and agree how a wider audit would be selected. Correcting these 40 tickets alone would not establish that the remaining collection is sound.
A narrower purchase might still be useful. Conversations with unknown outcomes could help test whether an assistant asks for missing information, provided reviewers can define a defensible expected response. That is a different task from measuring whether advice solved the customer’s problem. Change the requirement explicitly and repeat the relevant checks; do not quietly count those cases as verified successes.
Check the intended use as well as the files
Once the sample passes essential data checks, run a bounded task test. For an assistant evaluation, show it only information available before the response being tested. Keep later replies and reviewer judgments out of that input. Have a knowledgeable reviewer define what a supported answer should contain and what remains uncertain.
Reserve cases that were not used to tune prompts, rules or labels for a final check. Keep related or near-duplicate conversations together when separating development and final-test cases, so the same exchange does not appear on both sides. Compare performance by important groups as well as overall; an untested language remains an evidence gap.
NIST’s AI RMF Measure playbook recommends selecting context-appropriate metrics and documenting test sets and measurement methods. Its guidance supports a recorded evaluation process; it supplies no universal dataset pass mark. A good file audit also cannot guarantee better model performance. Use the trial guide below when you need to test that next question.
Sources: AI RMF Playbook: Measure
Agree what will count as an acceptable delivery
Give the supplier a short acceptance sheet before committing to the full purchase. The person responsible for the intended use should set the requirements with an analyst or engineer and a subject specialist. Each failed check needs a decision: repair, restrict the intended use, obtain more evidence or decline.
Keep the audit report with the exact delivered version and repeat the affected checks after repair. Passing one sample or release does not establish the quality of future updates. The next useful action is a review meeting with that sheet and a few permitted examples, so the purchase decision rests on observed evidence.
- Scope and version: identify the offered population, dates, files, selection method and exclusions; preserve a manifest or file checksums.
- Metric: state exactly what is counted, its denominator, how unknowns are recorded and who reviews disputed labels.
- Acceptance rule: agree required coverage and tolerable defects for each essential check, with the reason. Record untested conditions separately.
- Remedy: specify what evidence or corrected delivery is needed, who will provide it and which checks will be repeated.
- Use and handling: confirm the permitted review and intended later use, access controls and sample retention or deletion arrangements with the responsible owner.
Sources and scope
Source checks support the statements identified below. Product access, contractual rights and suitability for a particular buyer still need to be confirmed for your situation.
- The Government Data Quality Framework ↗UK Government Data Quality Hub · Checked · Source dated Dec 3, 2020
Quality as fitness for purpose; six distinct quality dimensions and user-dependent trade-offs.
Location: Why do we need a data quality framework?; Data quality dimensions – how to measure your data quality; User needs and trade-offs
Public-sector guidance used for its quality concepts; not a commercial procurement standard or certification.
- Datasheets for Datasets ↗Gebru and co-authors · Checked · Source dated Dec 1, 2021
Authors propose dataset documentation covering motivation, composition, collection and recommended uses.
Location: Abstract; version 8 revision date
Research proposal, not proof of any supplier’s documentation, rights or data quality.
- AI RMF Playbook: Measure ↗NIST · Checked
Context-appropriate measurement, acceptable limits and documentation of test sets and evaluation methods.
Location: MEASURE 1.1, Suggested Actions; MEASURE 2.1, statement and About
Voluntary AI risk-management guidance, not a universal sample size, dataset pass mark or procurement endorsement; page notes that the framework is being updated.
- NIST/SEMATECH e-Handbook: Populations and Sampling ↗NIST · Checked
Sample findings do not automatically describe the population; sample adequacy depends on representativeness, size, variability and desired precision.
Location: 3.1.3.4: Facts about a sample are not necessarily facts about a population; Four attributes of samples
Statistical concepts from process-characterization guidance; no dataset-specific sampling plan, sample size or confidence claim was calculated.