Dataset
Data pipeline code and run history datasets for AI training
A data pipeline dataset is the code that moves and transforms a company's data, such as dbt projects, Airflow and Dagster DAGs, Spark jobs and ETL tool definitions, together with its commit history, run and task logs, data-test results and lineage metadata. SourceX sources these to a buyer's spec from established businesses whose data teams keep them in git, the orchestrator's metadata database and the transformation tool's run artifacts. The delivery is code and run metadata, not the data the pipelines carried. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Pipeline and transformation code with commit history, run records, data-test results and lineage
- Typical systems
- dbt, Apache Airflow, Dagster, Apache Spark, Prefect, Azure Data Factory, SSIS, with a git host
- Typical history
- Code as far back as the repository; run history only as far as artifacts were kept
- Modality
- SQL, Python and YAML as code; run and test records as structured data; task logs as text
- Delivery formats
- Git repository or bundle, dbt artifacts as JSON, JSONL run and task records, raw task logs
- Preparation
- Credentials and connection strings stripped; sample rows removed from logs; identifying schema names replaced where needed
- Licensing
- Scoped per project or repository; permitted use agreed per license; row data is out of scope
- Availability
- Sourced to your spec; supply is not guaranteed and run-history depth depends on what the team archived
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| project_id | string | Pseudonymous ID for one pipeline project or repository. |
| framework | object | Transformation tool, orchestrator, warehouse or engine type and the versions in use. |
| nodes | array | Models, seeds, snapshots, tasks or assets with their SQL or Python, materialization and configuration. |
| sources | array | Declared upstream tables with the loader that fills them, expected columns and freshness thresholds. |
| lineage_edges | array | Parent to child dependencies between sources, nodes and declared consumers, with how each edge was derived. |
| data_tests | array | Test definitions such as unique, not null, accepted values, relationships and custom SQL, with severity. |
| change_history | array | Commits to the project with diffs and the node IDs each one added, modified or removed. |
| dag_runs | array | Scheduled, manual and backfill runs with logical date or data interval, start and end time, state and code version. |
| task_attempts | array | Each try of each task or node in a run, with state, try number, duration, rows affected and error text. |
| data_test_results | array | Pass, warn, fail or error per test per run, with the count of failing rows and never the rows. |
| freshness_checks | array | Source freshness results per run: latest loaded timestamp, check time and status against the threshold. |
| column_history | array | Column names and types of sources and outputs at dated points, so drift can be located in time. |
| failure_resolution | object | How a failed or wrong run ended: rerun unchanged, code fix, upstream fix, backfill or relaxed test, with the evidence. |
| scrub_report | object | What was removed: credentials, connection strings, sample rows in logs and literal values in compiled SQL. |
Field names from the table above; values are masked placeholders.
Example record
{
"project_id": "proj_fin_marts",
"framework": { "transform": "dbt", "orchestrator": "airflow", "warehouse": "snowflake" },
"nodes": [
{ "id": "model.fin.stg_payments", "materialized": "view", "path": "models/staging/stg_payments.sql" },
{ "id": "model.fin.fct_revenue_daily", "materialized": "incremental", "on_schema_change": "fail",
"path": "models/marts/fct_revenue_daily.sql" }
],
"sources": [
{ "id": "source.fin.billing.payments", "loader": "replication_tool", "freshness": { "warn_after_h": 12, "error_after_h": 24 } }
],
"lineage_edges": [
{ "from": "source.fin.billing.payments", "to": "model.fin.stg_payments", "derived": "manifest" },
{ "from": "model.fin.stg_payments", "to": "model.fin.fct_revenue_daily", "derived": "manifest" },
{ "from": "model.fin.fct_revenue_daily", "to": "exposure.fin.revenue_dashboard", "derived": "manifest" }
],
"data_tests": [
{ "id": "test.fin.accepted_values_stg_payments_status", "node": "model.fin.stg_payments", "severity": "error" }
],
"change_history": [
{ "commit": "a3f91c2", "t": "2024-05-14T10:12:00Z", "modified": ["model.fin.stg_payments"],
"summary": "Map new payment status to pending" }
],
"dag_runs": [
{ "run": "scheduled__2024-05-12", "state": "success", "code_version": "e77b0d5" },
{ "run": "scheduled__2024-05-13", "state": "failed", "code_version": "e77b0d5" }
],
"task_attempts": [
{ "run": "scheduled__2024-05-13", "task": "dbt_build_staging", "try": 1, "state": "failed" },
{ "run": "scheduled__2024-05-13", "task": "dbt_build_marts", "state": "upstream_failed" }
],
"data_test_results": [
{ "run": "scheduled__2024-05-13", "test": "test.fin.accepted_values_stg_payments_status",
"status": "fail", "failing_rows": 212 }
],
"freshness_checks": [ { "source": "source.fin.billing.payments", "run": "scheduled__2024-05-13", "status": "pass" } ],
"column_history": [ { "object": "source.fin.billing.payments", "t": "2024-05-14", "change": "none" } ],
"failure_resolution": { "cause": "new_value_in_upstream_data", "code_changed_since_last_success": false,
"resolved_by": "code_fix_then_rerun", "commit": "a3f91c2" },
"scrub_report": { "connection_strings_removed": 3, "log_rows_removed": 41, "schema_names": "replaced" }
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Diagnosing a failed run
Run history, freshness and test results beside the code teach a model to say whether the code, the data or the platform broke.
Impact analysis before a change
Diffs paired with their downstream nodes and later results train prediction of what a change will break.
Writing transformations in project context
Real models, macros, sources and tests show how SQL is structured inside a project.
Operating an orchestrator
Rerun, backfill and skip decisions on real runs are examples for agents that manage schedules.
Evaluating data engineering agents
A failed interval with its recorded resolution is a task whose reference answer may be a rerun, not a patch.
Use-case guides: Coding agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
Runs keyed to code version
Each run records the commit it executed, so a failure can be compared with the same code on other dates.
Per-run test results
Data-test and freshness outcomes exist for every run, not only the latest.
Lineage with provenance
Every edge states whether it came from a manifest, emitted lineage events or SQL parsing.
Resolution on record
Failed and incorrect runs carry how they were resolved.
Column history
Dated column lists for sources and outputs make drift visible.
Scrub evidence
A report of removed credentials and logged rows, with counts.
Record timeline
Data pipeline dataset
The same commit fails on new data
Flaky tests aside, application code that passed its tests yesterday and has not changed passes them today. Pipeline code makes no such promise, because its input is a new slice of data on every run. The upstream table loaded late and the job read an empty partition. A source system added a status value and an accepted-values test failed. A column was renamed upstream and the SQL no longer runs. A double load produced duplicate keys, or a skewed join key pushed a Spark executor out of memory. In each case the commit is the one that succeeded the night before.
A set of pipeline failures without run history therefore mislabels its examples. To tell a code bug from a data problem you need the run record keyed by logical date and code version, showing the same version passing on the previous interval. You need data-test results, freshness checks and dated column lists per run, which say whether the data arrived on time and in the expected shape. And you need how the failure ended: a rerun with no change once the upstream load landed, a code fix that handles the new value, a backfill, or a test downgraded to a warning. The worst cases never fail. The run is green, the numbers are wrong, and only a failing data test or a later correcting commit marks them.
Run history is kept less carefully than code. By default dbt writes the results of each invocation to a file in the project's target directory, and the next invocation writes over it, so a team has history only if it archived those artifacts or uses a hosted service that stores them. Orchestrators hold run and task state in a metadata database that administrators often purge, and a task that was cleared and rerun may show only its latest state unless per-try logs were kept.
The lineage graph is the unit of work
A data engineer does not review a pipeline change by reading the changed file. Renaming a column in a staging model is a one-line diff that passes its own tests. Whether it is correct depends on the marts, snapshots, exports and dashboards that select that column further down. The reviewer's real question is what sits downstream and whether it was rebuilt and tested, which is why many teams build changed models together with their children in CI before merging. A training example that holds only the edited file leaves out what the change was judged on.
The graph has to come from somewhere. A dbt manifest lists every node with the nodes it depends on, built from the ref and source calls in the SQL, and can declare consumers such as dashboards as exposures. The manifest's edges stop at models and tables. Which column feeds which is derived separately by parsing SQL, which fails on some statements and cannot read Python models. An Airflow DAG is a different kind of graph: it orders tasks and says nothing about the tables each one reads and writes unless the team declares them or emits lineage events, for example in the OpenLineage format. Dagster projects built on assets declare the graph over data assets directly. Edges that cross tools, from a replication service into the warehouse or from a mart into a BI tool, are the ones most often missing.
Manifests are build output and are normally not committed, so the graph for a past commit usually has to be regenerated by parsing the project at that commit with a matching tool version and its packages installed. Ask whether graphs were archived at run time or rebuilt afterward. Then ask for changes as graph neighborhoods: the diff, the nodes downstream of it, and their run and test results before and after.
What to check before licensing
- Ask where run history lives for each tool, such as archived dbt artifacts, the orchestrator's metadata database or a log store, and the earliest date each covers.
- Confirm every run names the commit it executed. Without that link, failures cannot be separated into code changes and data changes.
- Search the delivery for connection strings, JDBC URLs, profile files, exported orchestrator connections and variables, access keys and tokens in environment blocks.
- Check task logs, stored test failures and values passed between tasks for sample rows, and check error messages that quote the offending value or key.
- Ask how lineage edges were produced, at table or column grain, and what share of commits have a graph.
- Ask which failed runs have a recorded resolution and how the cause was assigned.
- Confirm the rights cover third-party packages vendored into the project, and, where schema or table names were replaced, that the same name maps to the same replacement in every file.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Does the dataset include the data the pipelines processed?
No, the rows themselves are out of scope. The delivery is code, configuration, run metadata, test outcomes and lineage, with schemas and row counts. Logs and stored test failures can still quote values, so check the sample. It also means runs cannot be re-executed as delivered. If your use needs execution, say so in the request and state whether synthetic fixture data shaped to the schemas would do.
How is this different from a CI/CD logs dataset?
The causes of failure are different. A CI run tests a commit against fixed inputs, so a failure points to the code, a flaky test, a dependency or the build machine. A pipeline run executes the same code against new data each interval, so many failures come from late, malformed or reshaped upstream data. This dataset carries the evidence needed to see that.
How far back does run history go?
Usually less far than the code. Git keeps every commit, while run results, task logs and metadata rows last only as long as someone chose to keep them. Teams that archive dbt artifacts per run or ship orchestrator logs to object storage hold more. Ask for the earliest date with per-task results and with data-test results, separately.
Can lineage be provided at column level?
Sometimes. Table-level lineage comes directly from dbt manifests and asset definitions. Column-level lineage is derived by parsing SQL, in newer dbt tooling or in a catalog tool the team already runs, and parsing fails on some statements, on dynamic SQL and on Python models. Specify the grain you need and ask for the share of nodes where derivation succeeded.
Are graphical ETL tools covered, or only code-first ones?
Both can be. Tools with visual designers still store their jobs as files: an SSIS package is an XML file and an Azure Data Factory pipeline is defined in JSON. These files are verbose and tool-specific, and run history sits in each tool's own catalog or monitoring store. State which tools matter to you, and ask in what format each one's jobs and run records can be exported.
How are credentials and logged data removed?
By scanning code, configuration, artifacts and logs before delivery and recording what was found. Pipeline projects hold secrets in more places than application code: profile files, orchestrator connections and variables, job parameters and hard-coded URLs. Logs can hold printed rows and error messages that quote values. No scan is perfect, so run your own search on the sample.
Related datasets
- SQL query logs paired with the business question
Analyst-run warehouse queries in session order, each with schema, run outcome and the paired business question
- Database schemas, migrations and stored procedures
Production schema definitions with the migration chain, procedural code and the review and rollback record
- Analysis notebooks with executed outputs
Internal analysis notebooks with code, markdown, saved outputs, charts and links to the request and the consumer of the result
- CI/CD pipeline logs and build failures
Pipeline runs with step logs and exit codes, joined to triggering and fixing commits
- Production logs and distributed traces
Logs, traces and metrics for incident and baseline windows, tied to the change that ended each incident
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 25 November 2026.