Writing
Blog
Research notes, experiments, and ideas in progress.
- How much does an H3 grid change where you put a warehouse?Adaptive H3 repaired a constructed placement error. In a Madison road model, it chose the same hubs as the fixed grid and took longer.
- Three rebuilds, eight batches: where should you check an incremental pipeline?Two checkpoint policies got three rebuilds each. See which dbt faults they caught, which ones healed between checks, and why a full rebuild can still be wrong.
- When a join turns $120 of orders into $220A left join to refunds counts a $100 order twice. Reproduce the SQL fanout, trace it to the affected order, and fix it at the right grain.
- When dbt tests pass and revenue is still wrongA dbt incremental model skipped a late correction even though its key tests passed. Reproduce the watermark bug and trace the stale row with DuckDB.