Reproducing the worked results
The chapter pages include the worked outputs. To reproduce them, open a terminal in a local copy of this repository and run the following with Python 3.11 or later:
python3 scripts/verify_examples.py
This uses Python's standard-library SQLite engine in memory. It creates no persistent database and requires no network access. The SQL fixture is in deliveries.sql.
The four delivery records are invented. All timestamps share the format YYYY-MM-DD HH:MM and are UTC. At the 13:00 snapshot, two deliveries are on time, one is late and one is not recorded as completed. A null means no recorded completion in this fixture; this is a scenario assumption, not a universal interpretation of nulls.
Find the line beginning Verified with SQLite. Compare 66.7% and 50.0% with the completed-delivery and all-due results in Chapter 1. The check also verifies the schema, earlier 100.0% result and empty input.
SQLite types and timestamps
SQLite has no dedicated date/time storage class. This example stores timestamps as text in the same fixed UTC format, YYYY-MM-DD HH:MM, so text order matches time order. Other SQLite applications may use numeric representations. Mixing formats or time zones would invalidate this example's simple text comparison.
Ordinary SQLite tables use type affinity rather than strict type enforcement. SQLite also offers strict tables, but neither approach establishes a timestamp's business meaning. The datatype documentation describes these rules.
Investigate the report in Chapters 3–4
Chapter 3 traces the original result, and Chapter 4 explains the later publication failure and recovery. Both show the metadata records inline; no execution is required to read them. The supporting lineage simulation uses real SQLite tables for saved inputs, code versions, runs, published outputs and report refreshes. Run it with:
python3 examples/lineage/simulate.py
In Report refreshes, compare the output versions and percentages for F1300 and F1312. They identify the earlier 100.0% and recovered 66.7% results. In Runs, look for the injected failure in R1230 and compare it with the successful recovery R1310. The verifier checks the rollback, replay from retained evidence and rejection of missing evidence.
The incident's times and fault are scripted. The program demonstrates the evidence and publication behaviour locally; it does not connect to a live scheduler, reporting tool, dbt or OpenLineage service. It does not send alerts or enforce the simulation reference's suggested retention policy.
Chapters 5–7 use illustrative collection records and decisions, rather than records captured from a running catalogue. Chapter 8 shows an illustrative pilot assessment and decision. These are invented teaching records, not reported results from testing DataHub or OpenMetadata.
Sharing and governance examples
Chapter 9’s OpenLineage event is checked against the official JSON schema. It is an invented exchange record, not a captured message or live integration. The supplementary successful-but-wrong calculation in Chapter 4 and the change, access and research-release records in Chapters 10–11 are explicitly illustrative; they do not modify the simulation or publish data.