Accepting data work

Data pipeline acceptance checklist: when is it ready for reporting?

This data pipeline acceptance checklist signs off the whole route from source records to a business decision, rather than a picture of a dashboard. A worked order-and-refund example, freshness and replay tests, access checks and a handover record together set the bar for reporting you can rely on.

Talk through your reporting acceptance criteria

Short answer

You can report from a data pipeline once the agreed source records reconcile to defined metrics, late and duplicated data are handled predictably, stale results are flagged, access limits hold and an owner is able to recover a failed run. Matching row counts on their own do not show the business figure is right.

Best for

  • Teams buying their first warehouse or moving off manual reports
  • Business owners who have to sign off an analytics delivery

Not covered here

  • Moving operational records between live systems
  • Audit opinions, legal advice on retention, or evaluating ML models
// 01

Weak and strong acceptance compared

Let the business decision set the thresholds. The examples below are not a service level that applies everywhere.

Check Weak acceptance Useful evidence
Completeness

The job finished without errors

Every expected source batch and record key is present

Correctness

The chart seems about right

The named metric ties back to agreed source evidence

Freshness

The dashboard opens

The source watermark and freshness status can be seen

Replay

There is a retry button

Rerunning identical input leaves accepted totals unchanged

Access

An admin can view the report

Permitted and blocked roles checked in both report and export

Recovery

A backup job is set up

A failed partition gets restored by following written steps

// 02

How Devoun sees it

Begin with the decision and the system that holds the truth

A pipeline carries data into an analytical copy and reshapes it along the way. Modeled data lives in a warehouse, and a BI report is what displays it. However accurate a chart is, it cannot fix a refund that went missing further up the chain. So before you look at tools, write down the business decision, who owns the metric and which system is authoritative for every input. Keeping operational orders in sync is work for API Integration, while analytical models and reports are work for Data Engineering.

Draw up a metric contract covering the grain, what is included, which event time counts, the reporting timezone, the currency, how refunds are handled and when a period is considered closed. Daily net collected revenue, for instance, can differ from the value of orders booked, from revenue recognized in the accounts and from what the payment provider settles. Those four figures should never share one label. Decide who settles a mismatch, instead of leaving a developer to guess at finance policy.

Worked acceptance example: orders and a refund

Take a synthetic fixture of three paid orders: A at $120, B at $80 and C at $50. B receives a full refund of $80. With the definition spelled out as ‘captured payments less completed refunds, in one currency, excluding fees and tax treatment’, net collected should come to $170, which is 120 + 80 + 50 - 80. The figures are a test example; they are neither client data nor an accounting rule.

Every order and every refund needs a source identifier that does not change. Send order A twice and then replay the full batch; the answer has to stay at $170 rather than rising to $290. Send B’s refund only after the first load: the accepted figure may show $250 at first, clearly flagged as provisional, and then $170 once the agreed correction policy runs. The owner has to approve whether past days are restated or the adjustment lands in a later period, because each choice answers a different business question.

Next, drop C, alter a required field and send a currency the system does not know. For each case, note whether publication is blocked, the affected rows are quarantined or a qualified result is shown. No one policy suits every report, but a change nobody is told about counts as a failed acceptance. Store the input identifiers, run ID, transformation version, expected value, actual value and the accepting role side by side. Fit the synthetic fixture and the acceptance cases to your own sources.

Pick checks able to catch the real failure

Close to ingestion, test that keys are unique, required values are present, references resolve and statuses are allowed ones. Compare counts and totals per source, per day and per business unit; a whole-database comparison can hide differences that cancel each other out. The data-test documentation from dbt covers assertions you can execute, and the dbt source documentation explains how upstream data is declared. Both are examples of implementation, not a reason you must buy dbt.

A recent load timestamp does not show that the business data is recent. Display both when the pipeline ran and the newest source event it picked up, since a supplier might deliver yesterday’s file without error today. Agree the freshness target with whoever owns the decision; a management report read the next morning and a same-day restocking decision call for different expectations. Say which clock and timezone the target is measured on, and who gets the alert when it slips.

Practice failure and recovery before you accept

Stop a load once staging is done but before anything is published. The report must then behave as agreed, for instance by keeping the last accepted snapshot and showing a clear warning that the data is stale. Rerun the same bounded input and confirm nothing is counted twice. The task guidance in Apache Airflow sets out why retries depend on repeatable results and fixed input partitions. The same rule holds when the orchestration is nothing more than a scheduled script.

Treat recovery and correction as different things: bringing back yesterday’s warehouse will not recreate a refund that came in today. Agree how long raw data is kept, how far back a replay can reach, when sources are available and how downstream dashboards update after a partition is corrected. Prove recovery with representative data, because a screenshot of a backup setting does not show a restore working. Hold off on promising any recovery time until that run has actually been timed.

Check who is able to see the number

Test with realistic roles, among them a user who must not see a different business unit’s data. Cover filters, downloads, cached results and scheduled emails, not only the dashboard itself. Hiding rows with a UI filter does not create an authorization boundary. The row-security documentation for PostgreSQL explains that enforcement depends on policies and roles, and that table owners are handled differently. Run the test as the identity the reporting tool really uses, not as some unrelated administrator.

Keep personal fields to the minimum the agreed report requires. Name an owner for the data, and bring in the right privacy or legal specialist for decisions on retention and deletion. Never load production customer records into a demo account without restrictions. Many acceptance behaviors can be proven with redacted or synthetic fixtures.

Handle input that arrives out of order, and trace what gets published

Where your source sends webhooks, include a test where the refund shows up before its order, and the same refund is sent again after publication. Until the order appears, expect the refund to be shown as unmatched, or some other treatment you have agreed explicitly. With both records in place, the accepted total in the example is $170, and the repeated refund does not move it. Keep the business record ID apart from the transport event ID. Duplicate delivery and event ordering are covered in Stripe’s webhook documentation.

Tie each published snapshot to the run, the input partitions and the transformation version that produced it, so an operator can follow a discrepancy back. The run, job and dataset model from OpenLineage is a useful reference for shaping that record.

Deliver a decision record along with the dashboard

The acceptance pack needs the metric contract, an inventory of sources, lineage, versioned transformations, fixtures that fail and fixtures that pass, evidence on access, the freshness status, the restore and replay procedure and a named owner for operations. Write exceptions down: any gap you accept needs its impact, an owner and a date for review. No written exception should quietly let a source that is down pass as a complete metric.

For who owns the accounts and the repository, follow the software handover checklist. Acceptance means a business owner can account for the number and an operator can rebuild its path safely. A bigger warehouse, more streaming infrastructure or an AI interface is its own decision, taken only when the real reporting need calls for it.

// 03

Common mistakes

  • Signing off a chart that looks right without tying its inputs back
  • Treating a load that succeeded as fresh while the source data is out of date
  • Replaying data in a way that adds one payment twice
  • Checking permissions with nothing but the administrator account
// 04

Acceptance checklist

Settle what counts as evidence before any building starts.

Check each item when it is done. This list saves nothing and sends nothing.

// 05

Related work from our projects

ThingTrax pulls factory data from many places into dashboards, reports and APIs that manufacturing teams depend on. It backs up those engineering skills; the synthetic order/refund fixture and the acceptance process suggested on this page are not how that company implemented things.

A small sample of the work, not all of it: over 300 products shipped in more than 14 years of engineering.

// 07

FAQs

Data quality tests look at properties like missing values, uniqueness and whether references are valid. Pipeline acceptance goes further and also checks the business definition, completeness, freshness, permissions, replay, recovery and who owns operations. A table can be perfectly clean and still answer the wrong question.
Only if the business decision depends on it and the sources are able to deliver it. Settle the freshness target, the source watermark and what happens to stale results before anything else. Running jobs more often will not make an upstream source publish sooner, nor will it fix a metric nobody has defined.
Give records stable identifiers, run the same bounded fixture through twice and compare the contribution of each record as well as the totals. Here, a duplicated order must leave net collected at $170. Add a late refund and a recovery from a partly finished run, since one clean rerun proves too little.
The business owner signs off what the metric means and how fresh it needs to be; engineering shows the transformations and how failures behave; whoever is authorized to own access approves who can see what; operations takes on recovery and support. One person may hold several of these roles, but each decision still has to be made explicitly.
Talk through your reporting acceptance criteria