01 Data engineering / Applied AI
DriftDoctor
Repair the contract. Keep the reasoning.
A bounded workflow for diagnosing dbt contract drift, verifying guarded repairs, and returning evidence for human review.
Executable contract checks, a reviewable diff, and explicit escalation when a safe repair cannot be verified.
Personal project · synthetic evaluation
A missing reference. Two observed candidates.
select order_id, amount from {{ ref('stg_orders_v2') }}Current dependency matches the business context.
The published trajectory selects stg_orders_v2 and reports build 2 → 0.
Source values & provenance
# Business context The public mart contract is `order_id`, `amount`. The active current staging dependency is `stg_orders_v2`. `stg_orders_archive` is a historical snapshot and must not be used for the live mart.
select order_id, amount from {{ ref('stg_orders') }}
select order_id, amount from {{ ref('stg_orders_v2') }}Recorded build 2 → 0; one bounded model call; seven passing oracle checks. Held-out synthetic example, outside the twelve-case primary benchmark.
Source revision 0760ce3772678fdb7309b467f41f0371c1c10feb
SHA-256 84fc9e0f92637de4467775bedace57a3ba7985599539ad76afbc3a4acb962f5d
Source-based portfolio demonstration · recorded synthetic evidence
01 / Working previewExplore the workflow
