Skip to content

DataWithBaraa/claude-code-data-engineering-skills / skills/toolkit

toolkit

Verified

Use to build or rebuild the documentation site of the project from the repo, the architecture, the data lineage, the call graph, the data model, the data quality, the runs and the data catalog.

references/calls.html

View on GitHub
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Call graph · newvolt-data-platform</title>
<style>
@font-face{font-family:'Bricolage Grotesque';font-weight:200 800;font-display:block;src:url('fonts/BricolageGrotesque-700.woff2') format('woff2');}
@font-face{font-family:'JetBrains Mono';font-weight:100 800;font-display:block;src:url('fonts/JetBrainsMono-500.woff2') format('woff2');}
*{margin:0;padding:0;box-sizing:border-box;}
:root{--bg:#0f0a1e;--plate:#1a1230;--ink:#ece7f8;--ink-2:rgba(236,231,248,.72);--line:rgba(236,231,248,.14);--line-2:rgba(236,231,248,.08);
  --purple:#8a63f2;--purple-soft:#c9b8ff;--red:#ff8a73;--orange:#ffa657;--gold:#ffd23f;}
html{background:var(--bg);}
body{font-family:'Bricolage Grotesque',sans-serif;font-weight:400;color:var(--ink);background:var(--bg);font-size:20px;line-height:1.5;-webkit-font-smoothing:antialiased;}
.id,code,pre,.t td.m,.t td.num{font-family:'JetBrains Mono',monospace;font-variant-ligatures:none;}
.id{font-size:.95em;color:var(--purple-soft);white-space:nowrap;}
.nw{white-space:nowrap;}
.red{color:var(--red);} .orange{color:var(--orange);} .dim{color:var(--ink-2);}
a{color:inherit;text-decoration:none;}
[id]{scroll-margin-top:100px;}

/* the top bar */
nav{position:sticky;top:0;z-index:10;height:72px;background:#0d0919;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 48px;gap:28px;white-space:nowrap;}
nav .brand{font-family:'JetBrains Mono',monospace;font-size:20px;color:var(--ink);margin-right:12px;}
nav a.p{font-size:19px;color:var(--ink-2);padding:8px 12px;border-radius:8px;}
nav a.p:hover{color:var(--ink);background:rgba(236,231,248,.05);}
nav a.p.on{color:var(--ink);background:rgba(138,99,242,.2);}
nav .built{margin-left:auto;font-family:'JetBrains Mono',monospace;font-size:18px;color:var(--ink-2);white-space:nowrap;}
main{max-width:1440px;margin:0 auto;padding:56px 48px 160px;}
p,.one,.lead{text-wrap:pretty;}

/* head */
h1{font-size:48px;font-weight:800;letter-spacing:-.02em;line-height:1.05;}
.lead{margin-top:14px;font-size:24px;line-height:1.4;}
.kpis{margin-top:36px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.kpis.k5{grid-template-columns:repeat(5,minmax(0,1fr));} .kpis.k4{grid-template-columns:repeat(4,minmax(0,1fr));}
.kpi{padding:22px 20px 22px 0;}
.kpi + .kpi{border-left:1px solid var(--line);padding-left:22px;}
.kpi .l{font-size:19px;color:var(--ink-2);}
.kpi .v{margin-top:8px;font-size:44px;font-weight:700;line-height:1;letter-spacing:-.01em;white-space:nowrap;}
.kpi .sub{margin-top:8px;font-size:18px;color:var(--ink-2);font-family:'JetBrains Mono',monospace;white-space:nowrap;}
main > .s:first-of-type{margin-top:64px;} .kpis{margin-top:28px;} .kpis + .s{margin-top:80px;}
.kpi .v.red{color:var(--red);} .kpi .v.orange{color:var(--orange);} .kpi .v.sm{font-size:36px;margin-top:12px;}
.kpi .v .id{font-size:44px;font-weight:700;color:var(--ink);}

/* screens */
.s{margin-top:104px;} .s.run-s{margin-top:152px;}
.s h2{font-size:32px;font-weight:700;letter-spacing:-.01em;line-height:1.15;text-wrap:balance;}
.s h2 .id{font-size:.9em;font-weight:600;}
.s .one{margin-top:8px;font-size:22px;font-weight:400;line-height:1.45;}
.vis{margin-top:30px;}
.vis svg{display:block;}

/* tables */
table.t{width:100%;border-collapse:collapse;}
.t th{font-size:17px;font-weight:600;color:var(--ink-2);text-align:left;padding:0 28px 12px 0;border-bottom:1px solid var(--line);white-space:nowrap;}
.t th.num{text-align:right;} .t th.grow{width:100%;}
.t td{padding:12px 28px 12px 0;border-bottom:1px solid var(--line-2);vertical-align:baseline;font-size:20px;line-height:1.4;white-space:nowrap;}
.t td:last-child,.t th:last-child{padding-right:0;}
.t td.m,.t td.num{font-size:19px;} .t td.num{text-align:right;}
.t td.col{color:var(--ink);font-weight:600;}
.t td.wrap{white-space:normal;line-height:1.45;text-wrap:balance;}
.t th.w100{width:100px;} .t th.w130{width:130px;} .t th.w160{width:160px;} .t th.w180{width:180px;} .t th.w200{width:200px;} .t th.w240{width:240px;} .t th.w290{width:290px;} .t th.w320{width:320px;} .t th.w400{width:400px;} .t th.w230{width:230px;} .t th.w250{width:250px;} .t th.w260{width:260px;} .t th.w270{width:270px;} .t th.w280{width:280px;} .t th.w300{width:300px;} .t th.w420{width:420px;} .t th.w110{width:110px;} .t th.w150{width:150px;} .t th.w170{width:170px;} .t th.w200{width:200px;} .t th.w220{width:220px;} .t th.w330{width:330px;}
.lin .node circle.cross{fill:var(--bg);stroke:var(--purple-soft);stroke-width:1.5;}
.lin .wire.bus path,.lin .wire.bus circle{opacity:0;}
.lin .wire.bus.up path,.lin .wire.bus.up circle,.lin .wire.bus.down path,.lin .wire.bus.down circle{opacity:1;}
.t.fixed{table-layout:fixed;} .t.fixed td{white-space:normal;}
.t td.bar{vertical-align:middle;} .t .b{fill:var(--purple);}
table.t.auto{width:auto;min-width:60%;} .t.auto th.grow{width:auto;}
table.t.w1060{width:1060px;}

/* pipeline of layers, as on the incident map */
.layers{display:flex;align-items:stretch;}
.layers .arr{flex:none;width:40px;align-self:center;color:var(--ink-2);}
.layer{flex:1;min-width:0;border:1px solid var(--line);border-radius:12px;padding:16px 18px 18px;background:rgba(236,231,248,.03);}
.layer .nm{font-family:'JetBrains Mono',monospace;font-size:19px;color:var(--purple-soft);}
.layer .cnt{margin-top:8px;font-size:40px;font-weight:700;line-height:1;}
.layer .cnt small{font-size:19px;font-weight:600;color:var(--ink-2);margin-left:8px;}
.layer .sub{margin-top:10px;font-size:18px;color:var(--ink-2);line-height:1.35;}
.layer.red{border:2px dashed var(--red);background:none;} .layer.red .cnt{color:var(--red);}
.layer.gold{border-color:rgba(255,210,63,.6);}
.arr svg{width:40px;height:24px;fill:none;stroke:var(--ink-2);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.arr.gate svg{width:56px;height:56px;} .layers .arr.gate{width:56px;} .arr.gate circle{stroke:var(--purple-soft);} .arr.gate text{fill:var(--ink);stroke:none;font-family:'JetBrains Mono',monospace;font-size:17px;}

/* the page list */
.plist{border-top:1px solid var(--line);}
.prow{display:grid;grid-template-columns:220px minmax(0,1fr) 470px;column-gap:28px;align-items:baseline;padding:18px 0;border-bottom:1px solid var(--line-2);}
.prow:hover{background:rgba(236,231,248,.03);}
.prow .t1{font-size:24px;font-weight:700;} .prow .t2{font-size:20px;color:var(--ink-2);} .prow .t3{font-family:'JetBrains Mono',monospace;font-size:19px;color:var(--purple-soft);text-align:right;}

.run{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px;}
.plate{border:1px solid var(--line);border-radius:14px;padding:26px 30px 28px;background:var(--plate);}
.plate .k{font-family:'JetBrains Mono',monospace;font-size:18px;color:var(--ink-2);}
.plate .v{margin-top:8px;font-size:40px;font-weight:800;letter-spacing:-.02em;line-height:1;}
.plate .v .st{font-size:22px;font-weight:600;margin-left:12px;vertical-align:4px;}
.plate .line{margin-top:16px;font-size:19px;color:var(--ink-2);line-height:1.5;}
.plate .line.raw{font-family:'JetBrains Mono',monospace;}
.st.held,.st.red,.st.failed{color:var(--red);} .st.skipped{color:var(--orange);}

/* strips */
.strips{display:grid;row-gap:24px;}
.strip{display:grid;grid-template-columns:270px minmax(0,1fr) 260px;align-items:center;column-gap:24px;}
.strip .nm{font-size:19px;}
.strip .cells{display:flex;gap:4px;flex-wrap:wrap;}
.strip .cells i{display:block;width:26px;height:22px;border-radius:3px;background:var(--purple);}
.strip .cells i.orange{background:var(--orange);} .strip .cells i.red{background:var(--red);} .strip .cells i.dim{background:rgba(236,231,248,.16);}
.strip .cnt{font-family:'JetBrains Mono',monospace;font-size:19px;color:var(--ink-2);text-align:right;white-space:nowrap;}
.strip .cnt b{font-weight:600;}

/* charts */
svg text{font-family:'Bricolage Grotesque',sans-serif;}
svg .lbl{font-size:20px;fill:var(--ink);} svg .lbl tspan.m,svg .m{font-family:'JetBrains Mono',monospace;font-size:19px;}
svg .val{font-family:'JetBrains Mono',monospace;font-size:19px;fill:var(--ink);}
svg .bar{fill:var(--purple);} svg .bar.red{fill:var(--red);} svg .bar.orange{fill:var(--orange);} svg .bar.dim{fill:rgba(236,231,248,.16);}
svg .axis{font-size:18px;font-weight:600;fill:var(--ink-2);}
svg .base{stroke:var(--line);stroke-width:1.5;} svg .tick{stroke:rgba(236,231,248,.3);stroke-width:1.5;}

/* the run calendar */
.cal{display:grid;grid-template-columns:repeat(31,minmax(0,1fr));gap:6px;}
.cal a{display:block;border:1px solid var(--line);border-radius:8px;padding:10px 0 9px;text-align:center;background:rgba(236,231,248,.03);}
.cal a .d{font-family:'JetBrains Mono',monospace;font-size:18px;color:var(--ink);}
.cal a .s{display:block;margin:8px auto 0;width:28px;height:28px;border-radius:6px;background:var(--purple);}
.t.runs tr.hit td{background:rgba(138,99,242,.12);}
.cal a.held .s,.cal a.red .s{background:var(--red);}
.steps{display:flex;gap:2px;height:16px;}
.steps i{display:block;height:16px;border-radius:2px;background:var(--purple);}
.steps i.held,.steps i.red{background:var(--red);} .steps i.off{background:rgba(236,231,248,.12);}
.t td.note{white-space:normal;font-family:'JetBrains Mono',monospace;font-size:18px;color:var(--ink-2);line-height:1.45;}
.t.runs{table-layout:fixed;}
.t.runs col.c1{width:140px} .t.runs col.c2{width:120px} .t.runs col.c3{width:200px} .t.runs col.c4{width:130px} .t.runs col.c5{width:110px}
.t.runs td.bar{vertical-align:top;padding-top:18px;}
.t td.st{font-family:'JetBrains Mono',monospace;font-size:19px;font-weight:500;}
.t.runs tr{scroll-margin-top:100px;}
.t.runs tr:target td,.t.runs tr.hit td{background:rgba(138,99,242,.12);}

/* catalog */
.search{display:flex;align-items:center;gap:20px;margin-top:36px;}
.search input{flex:1;font:inherit;font-size:22px;color:var(--ink);background:var(--plate);border:1px solid var(--line);border-radius:12px;padding:16px 20px;outline:none;}
.search input:focus{border-color:var(--purple);}
.search .n{font-family:'JetBrains Mono',monospace;font-size:19px;color:var(--ink-2);white-space:nowrap;}
.sec{margin-top:64px;}
.sec h2{display:flex;align-items:baseline;gap:18px;font-size:28px;font-weight:700;}
.sec h2 .id{font-size:.85em;font-weight:600;} .sec h2 .n{font-size:19px;font-weight:500;color:var(--ink-2);}
.sec .one{margin-top:6px;font-size:20px;color:var(--ink-2);}
.tbl{border-top:1px solid var(--line-2);}
.tbl .row{display:grid;grid-template-columns:28px 400px minmax(0,1fr) 110px 280px;column-gap:20px;align-items:baseline;padding:13px 0;border-bottom:1px solid var(--line-2);cursor:pointer;}
.tbl .row:hover{background:rgba(236,231,248,.03);}
.tbl .row .tri{font-size:18px;color:var(--ink-2);transition:transform .15s;} .tbl .row.open .tri{transform:rotate(90deg);}
.tbl .row .nm{font-family:'JetBrains Mono',monospace;font-size:19px;color:var(--ink);}
.tbl .row .ds{font-size:19px;color:var(--ink-2);line-height:1.35;}
.tbl .row .c{font-family:'JetBrains Mono',monospace;font-size:18px;color:var(--ink-2);text-align:right;}
.tbl .row .k{font-family:'JetBrains Mono',monospace;font-size:18px;color:var(--purple-soft);line-height:1.35;}
.tbl .cols{display:none;padding:6px 0 18px 48px;border-bottom:1px solid var(--line-2);}
.tbl .cols.open{display:block;}
.tbl .cols .col{display:grid;grid-template-columns:320px 140px minmax(0,1fr);column-gap:20px;padding:6px 0;font-size:18px;}
.tbl .cols .col.full{display:block;color:var(--ink);padding-bottom:12px;}
.tbl .cols .col .cn{font-family:'JetBrains Mono',monospace;color:var(--ink);} .tbl .cols .col .cn.key{color:var(--purple-soft);}
.tbl .cols .col .ct{font-family:'JetBrains Mono',monospace;color:var(--ink-2);} .tbl .cols .col .cd{color:var(--ink-2);}
.hidden{display:none !important;}

/* lineage */
.lin{position:relative;}
.lin svg text{font-family:'JetBrains Mono',monospace;font-size:17px;fill:var(--ink);}
.lin .node rect{fill:var(--plate);stroke:var(--line);stroke-width:1;rx:6;}
.lin .node.gold rect{stroke:var(--gold);} .lin .node.stale rect{stroke:var(--red);stroke-dasharray:5 4;}
.lin .node{cursor:pointer;}
.lin .node.on rect{stroke:var(--purple-soft);stroke-width:2;fill:rgba(138,99,242,.22);}
.lin .node.up rect{stroke:var(--purple);stroke-width:2;} .lin .node.down rect{stroke:var(--orange);stroke-width:2;}
.lin .node.off{opacity:.22;}
.lin .wire path{fill:none;stroke:rgba(201,184,255,.32);stroke-width:1.3;}
.lin .wire.up path{stroke:var(--purple);stroke-width:2;} .lin .wire.down path{stroke:var(--orange);stroke-width:2;} .lin .wire.off{opacity:.08;}
.lin .hd{font-size:19px;font-weight:600;fill:var(--ink);font-family:'Bricolage Grotesque',sans-serif;}
.lin .hd2{font-size:17px;fill:var(--ink-2);font-family:'JetBrains Mono',monospace;}
.lin .grp{font-size:17px;fill:var(--ink-2);font-family:'JetBrains Mono',monospace;}
.lin .grp.hd3{font-family:'Bricolage Grotesque',sans-serif;font-size:19px;font-weight:600;fill:var(--ink);}

/* call graph */
.tree{display:grid;row-gap:0;}
.tree{max-width:1060px;}
.tree .n{display:grid;grid-template-columns:480px 300px 120px 160px;align-items:baseline;padding:9px 0;border-bottom:1px solid var(--line-2);}
.tree .n .fn{font-family:'JetBrains Mono',monospace;font-size:19px;color:var(--ink);}
.tree .n.d0 .fn{font-weight:600;color:var(--purple-soft);} .tree .n.d1 .fn{padding-left:0;}
.tree .n.d2 .fn{padding-left:36px;} .tree .n.d3 .fn{padding-left:72px;}
.tree .n .mo{font-family:'JetBrains Mono',monospace;font-size:18px;color:var(--ink-2);}
.tree .n .ln,.tree .n .ca{font-family:'JetBrains Mono',monospace;font-size:18px;color:var(--ink-2);text-align:right;}
.tree .hd{display:grid;grid-template-columns:480px 300px 120px 160px;font-size:17px;font-weight:600;color:var(--ink-2);padding-bottom:12px;border-bottom:1px solid var(--line);}
.tree .hd span:nth-child(3),.tree .hd span:nth-child(4){text-align:right;}

/* data model */
.er svg text{font-family:'JetBrains Mono',monospace;font-size:18px;fill:var(--ink);}
.er .ent rect{fill:var(--plate);stroke:var(--line);stroke-width:1;rx:10;}
.er .ent.planned rect{stroke-dasharray:6 5;} .er .ent.planned text{fill:var(--ink-2);}
.er .ent .nm{font-size:21px;font-weight:600;fill:var(--ink);font-family:'Bricolage Grotesque',sans-serif;}
.er .ent.planned .nm{fill:var(--ink-2);}
.er .ent .key{fill:var(--purple-soft);}
.er .rel{fill:none;stroke:rgba(236,231,248,.35);stroke-width:1.5;}
.er .rel.planned{stroke-dasharray:6 5;}
.er .lab{font-size:17px;fill:var(--ink-2);font-family:'JetBrains Mono',monospace;paint-order:stroke;stroke:#0f0a1e;stroke-width:8px;stroke-linejoin:round;}

/* architecture */
.srclist{border-top:1px solid var(--line);}
.src{display:grid;grid-template-columns:200px 180px 260px minmax(0,1fr);column-gap:28px;align-items:baseline;padding:13px 0;border-bottom:1px solid var(--line-2);}
.src .nm{font-family:'JetBrains Mono',monospace;font-size:19px;color:var(--ink);}
.src .f,.src .a{font-size:19px;color:var(--ink-2);} .src .b{font-size:19px;color:var(--ink);}
.src.paused .nm,.src.paused .b{color:var(--ink-2);}
.durbar{display:flex;gap:3px;} .durbar i{display:block;height:28px;border-radius:3px;background:var(--purple);}
.stps{margin-top:20px;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:24px;}
.stp{border-top:1px solid var(--line);padding-top:12px;} .stp .nm{display:block;font-family:'JetBrains Mono',monospace;font-size:17px;color:var(--purple-soft);} .stp .d{display:block;margin-top:4px;font-size:24px;font-weight:700;} .stp .d small{display:block;font-size:17px;font-weight:400;color:var(--ink-2);margin-top:2px;}
.rec{border:1px solid var(--line);border-radius:12px;padding:18px 22px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));}
.rec div{padding-right:16px;} .rec .k{font-family:'JetBrains Mono',monospace;font-size:18px;color:var(--purple-soft);} .rec .v{margin-top:4px;font-size:19px;color:var(--ink-2);}
.gates4{margin-top:32px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.g4{border:1px solid var(--line);border-radius:12px;padding:18px 18px;}
.g4 .h{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:700;}
.g4 .h i{display:inline-flex;flex:none;width:30px;height:30px;border-radius:50%;border:2px solid var(--purple-soft);align-items:center;justify-content:center;font-family:'JetBrains Mono',monospace;font-size:17px;font-style:normal;}
.g4 .cells{margin-top:14px;display:flex;gap:3px;} .g4 .cells i{display:block;flex:1;height:16px;border-radius:2px;background:rgba(236,231,248,.22);} .g4 .cells i.red{background:var(--red);}
.g4 .w{margin-top:8px;font-size:18px;color:var(--ink-2);line-height:1.4;}
.g4 .o{margin-top:10px;font-size:18px;color:var(--ink);} .g4{display:flex;flex-direction:column;} .g4 .o{margin-top:auto;padding-top:10px;} .g4 .o b{color:var(--ink);font-weight:600;}
.g4.live .o b{color:var(--red);}

/* the graph pages */
.lin svg{display:block;}
.lin .node text{font-family:'JetBrains Mono',monospace;font-size:17px;fill:var(--ink);}
.lin .node.dead rect{stroke-dasharray:5 4;stroke:rgba(255,138,115,.7);}
.lin .node.dead text{fill:var(--ink-2);}
.lin .wire.dim{stroke:rgba(201,184,255,.16);stroke-dasharray:4 5;}
.lin .node text.sub2{fill:var(--ink-2);font-size:17px;}
.lin .node text{letter-spacing:-.02em;}
.lin .wire .dot{fill:rgba(201,184,255,.6);} .lin .wire.up .dot{fill:var(--purple);} .lin .wire.down .dot{fill:var(--orange);} .lin .wire.off .dot{opacity:.1;}
.lin .wire.bus path{stroke-opacity:.6;} .lin .wire.same path{stroke-opacity:.5;}
.er .sep{stroke:var(--line);stroke-width:1;}
.er .colname{font-family:'JetBrains Mono',monospace;font-size:17px;fill:var(--ink);}
.er .colname.key{fill:var(--purple-soft);} .er .colname.fk{fill:var(--ink);}

.er .ct{font-family:'JetBrains Mono',monospace;font-size:17px;fill:var(--ink-2);}
.er .ent.fact rect{stroke:var(--gold);} .er .ent.obt rect{stroke-dasharray:6 5;}
.er .stub{fill:rgba(201,184,255,.6);}
.arch2 svg{display:block;}
.t.marts td.wrap{white-space:normal;line-height:1.5;}
.t.marts th:nth-child(3),.t.marts td:nth-child(3){width:300px;min-width:300px;white-space:normal;}
.arch2 text{font-family:'Bricolage Grotesque',sans-serif;}
.arch2 .hd{font-size:19px;font-weight:600;fill:var(--ink);}
.arch2 .nm{font-family:'JetBrains Mono',monospace;font-size:18px;fill:var(--purple-soft);}
.arch2 .sm{font-size:17px;fill:var(--ink-2);}
.arch2 .big{font-size:34px;font-weight:700;fill:var(--ink);}
.arch2 .bx{fill:var(--plate);stroke:var(--line);stroke-width:1;}
.arch2 .bx.gold{stroke:var(--gold);} .arch2 .bx.paused{stroke-dasharray:5 4;}
.arch2 .ar{stroke:rgba(236,231,248,.4);stroke-width:1.5;fill:none;} .arch2 .ar.thick{stroke-width:2;} .arch2 .ar.dash{stroke-dasharray:4 5;}
.arch2 .gt{fill:var(--bg);stroke:var(--purple-soft);stroke-width:2;} .arch2 .gtn{font-family:'JetBrains Mono',monospace;font-size:17px;fill:var(--ink);}
.arch2 .step{fill:var(--purple);}
.t.scripts{table-layout:fixed;} .t.scripts td.wrap{white-space:normal;text-wrap:pretty;}

/* level-1 architecture */
.arch2 .l1{font-family:'JetBrains Mono',monospace;font-size:21px;fill:var(--ink);} .arch2 .gtn.big{font-size:19px;}
.arch2 .step{fill:rgba(138,99,242,.32);} .arch2 .step.slow{fill:var(--purple);}
.er .ent.hub rect{stroke:var(--purple-soft);stroke-width:2;} .er .lab{font-size:18px;fill:var(--ink);}
.dead{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 32px;} .dead-fn{border-top:1px solid var(--line-2);padding-top:10px;} .dead-fn .fn{font-size:19px;} .dead-fn .mod,.dead-fn .why{margin-top:4px;font-size:17px;color:var(--ink-2);}
.arch2 .nm-s{font-size:17px;}  .arch2 tspan.mono{font-family:'JetBrains Mono',monospace;font-weight:500;}
.arch2 .l1s{font-size:18px;fill:var(--ink-2);}
.arch2 .l1n{font-size:19px;fill:var(--ink-2);}
.arch2 .bx.ends{fill:none;}
.arch2 tspan.big{font-size:30px;font-weight:700;fill:var(--ink);} .arch2 tspan.sm{font-size:17px;fill:var(--ink-2);}
.arch2 .ah{fill:rgba(236,231,248,.5);}
.arch2 .nm2{font-family:'JetBrains Mono',monospace;font-size:17px;fill:var(--ink);font-weight:600;}
.arch2 .sm2{font-size:17px;fill:var(--ink-2);}
/* the layers strip and the call graph hubs */
.lin .node.hub rect{stroke:var(--purple-soft);stroke-width:2;}
/* data model level 1 */
.er .ent .key{font-size:17px;}
/* data quality */
svg .hm.c0{fill:rgba(236,231,248,.08);} svg .hm.c1{fill:var(--orange);} svg .hm.c1.soft{fill:none;stroke:rgba(255,166,87,.6);stroke-width:1.5;} svg .hm.c3{fill:var(--red);}
.lates{display:grid;row-gap:14px;}
.late{display:grid;grid-template-columns:260px minmax(0,1fr) 110px;column-gap:24px;align-items:center;}
.late .lbl{font-size:20px;} .late .bar{display:block;height:22px;background:rgba(236,231,248,.08);border-radius:3px;overflow:hidden;}
.late .bar i{display:block;height:22px;background:var(--purple);} .late .bar i.red{background:var(--red);} .late .bar i.orange{background:var(--orange);}
.late .n{font-family:'JetBrains Mono',monospace;font-size:19px;color:var(--ink-2);text-align:right;}
.st.late{color:var(--orange);}
/* catalog */
.tabs{margin-top:28px;display:flex;gap:10px;}
.tab{cursor:pointer;background:transparent;border:1px solid var(--line);border-radius:10px;padding:10px 18px;font:inherit;font-family:'JetBrains Mono',monospace;font-size:19px;color:var(--ink-2);}
.tab span{margin-left:10px;color:var(--purple-soft);} .tab.on{color:var(--ink);background:rgba(138,99,242,.2);border-color:rgba(138,99,242,.5);}
.csec{margin-top:28px;} .csec .one{font-size:20px;color:var(--ink-2);margin-bottom:14px;}
.crow{border:1px solid var(--line);border-radius:12px;margin-top:8px;background:var(--plate);}
.chead{display:grid;grid-template-columns:24px auto minmax(0,1fr) auto;grid-template-areas:"tri nm tags meta" "tri ds ds ds";column-gap:18px;row-gap:2px;align-items:center;padding:12px 18px;cursor:pointer;}
.chead .tri{grid-area:tri;} .chead .nm{grid-area:nm;} .chead .meta{grid-area:meta;} .chead .tags{grid-area:tags;display:flex;justify-content:flex-start;} .chead .ds{grid-area:ds;}
.chead:hover{background:rgba(236,231,248,.03);}
.crow .tri{font-size:17px;color:var(--ink-2);transition:transform .15s;} .crow.open .tri{transform:rotate(90deg);}
.chead .nm{font-family:'JetBrains Mono',monospace;font-size:19px;color:var(--ink);} .chead .ds{font-size:18px;color:var(--ink-2);white-space:nowrap;}
.chead .meta{display:grid;grid-template-columns:130px 110px 110px 100px;column-gap:18px;text-align:right;font-family:'JetBrains Mono',monospace;font-size:17px;color:var(--ink-2);white-space:nowrap;}
.chead .tag{font-size:17px;color:var(--ink-2);border:1px solid var(--line);border-radius:6px;padding:2px 10px;margin-right:8px;white-space:nowrap;} .chead .tag.bad{color:var(--red);border-color:rgba(255,138,115,.5);}
.crow .cols{display:none;padding:4px 18px 16px 60px;border-top:1px solid var(--line-2);} .crow.open .cols{display:block;}
.crow .col{display:grid;grid-template-columns:280px 150px 50px 220px minmax(0,1fr);column-gap:18px;padding:7px 0;font-size:18px;border-bottom:1px solid var(--line-2);}
.crow .col.hd{color:var(--ink-2);font-size:18px;font-weight:600;border-bottom:1px solid var(--line);}
.crow .col .cn{font-family:'JetBrains Mono',monospace;color:var(--ink);} .crow .col .cn.key{color:var(--purple-soft);} .crow .col .ct,.crow .col .cx,.crow .col .cs{font-family:'JetBrains Mono',monospace;color:var(--ink-2);} .crow .col .cs{color:var(--ink);} .crow .col .cd{color:var(--ink-2);}

/* the surface system: page, paper, card */
.wide{width:1600px;margin-left:-128px;}
.paper{background:linear-gradient(160deg,#1b1436 0%,#110c24 100%);border:1px solid rgba(138,99,242,.28);border-radius:16px;padding:28px;}
.card,.plate,.crow,.cal a,.search input{background:#241a44;border:1px solid rgba(173,150,255,.26);box-shadow:0 1px 0 rgba(0,0,0,.45),0 6px 18px rgba(0,0,0,.25);}
.card{border-radius:12px;}
.layers.cards .layer{border-left-width:4px;padding:18px 16px 20px;}
.layers.cards .layer .nm{color:var(--ink);font-size:19px;} .layers.cards .layer .cnt{font-size:40px;margin-top:10px;} .layers.cards .layer .sub{font-size:18px;color:var(--ink-2);margin-top:10px;}
.layers.cards .arr.gate circle{fill:#15102a;}
.paper.lates{padding:28px 32px;} .late .bar{background:rgba(236,231,248,.1);}
.cal{gap:8px;} .cal a{border-radius:10px;padding:12px 0 12px;} .cal a .s{width:30px;height:30px;border-radius:7px;}
.crow{margin-top:10px;} .crow .cols{border-top:1px solid rgba(236,231,248,.14);}
.tab.on{background:#241a44;border-color:rgba(236,231,248,.3);}
/* the drawing on paper */
.lin2 .lane{fill:rgba(236,231,248,.03);stroke:none;}
.lin2 .node rect{fill:#241a44;stroke:rgba(236,231,248,.24);rx:7;} .lin2 .node{filter:drop-shadow(0 1px 0 rgba(0,0,0,.45));}
.lin2 .node rect.bar{stroke:none;rx:0;}
.lin2 .node.stale rect{stroke:var(--red);stroke-dasharray:5 4;} .lin2 .node.stale rect.bar{fill:var(--red) !important;}
.lin2 .node.dead rect{stroke:rgba(255,138,115,.7);stroke-dasharray:5 4;} .lin2 .node.dead rect.bar{fill:rgba(255,138,115,.7) !important;} .lin2 .node.dead text{fill:var(--ink-2);}
.lin2 .node.hub rect{stroke:var(--purple-soft);stroke-width:2;}
.lin2 .node.on rect{stroke:var(--purple-soft);stroke-width:2;fill:rgba(138,99,242,.35);} .lin2 .node.up rect{stroke:var(--purple);stroke-width:2;fill:#2d2060;} .lin2 .node.down rect{stroke:var(--orange);stroke-width:2;fill:#3a2a2a;}
.lin2 .node.off{opacity:.18;}
.lin2 .wire path{stroke:rgba(201,184,255,.34);stroke-width:1.3;} .lin2 .wire.dim path{stroke:rgba(201,184,255,.2);stroke-dasharray:4 5;}
.lin2 .wire.up path{stroke:var(--purple);stroke-width:2.2;} .lin2 .wire.down path{stroke:var(--orange);stroke-width:2.2;} .lin2 .wire.off{opacity:.06;}
.lin2 .hd{font-size:19px;} .lin2 .hd2{font-size:17px;} .lin2 .grp{font-size:17px;fill:var(--ink-2);letter-spacing:.01em;}
.lin2 .wire.bus{opacity:0;} .lin2 .wire.bus.up,.lin2 .wire.bus.down,.lin2 .wire.bus.dim{opacity:1;} .lin2 .wire.bus.dim path{opacity:1;}
.lin2 .wire.dim path{stroke:rgba(201,184,255,.26);stroke-dasharray:3 5;} .lin2 .wire.same path{stroke-opacity:.5;}
.lin2 .node.layer-bronze rect.bar{fill:rgba(201,184,255,.6) !important;} .lin2 .node.layer-silver_clean rect.bar{fill:#c9b8ff !important;} .lin2 .node.layer-silver_core rect.bar{fill:#8a63f2 !important;}
.lin2 .node.layer-gold rect.bar{fill:#ffd23f !important;} .lin2 .node.layer-_ops rect.bar{fill:rgba(236,231,248,.35) !important;}
.lin2 .node text.sub2{fill:var(--ink-2);}
.lin2 .node.slow rect{fill:var(--purple);stroke:none;} .lin2 .node.slow rect.bar{fill:var(--purple) !important;} .lin2 .node.slow text.sub2{fill:rgba(236,231,248,.85);}
.lin2 .node.paused rect{stroke-dasharray:5 4;} .lin2 .node.paused text{fill:var(--ink-2);}
.lin2 .gate circle{fill:#19122f;stroke:var(--purple-soft);stroke-width:2;} .lin2 .gate path{stroke:rgba(236,231,248,.3);stroke-width:1.5;fill:none;} .lin2 .gate text{font-family:'JetBrains Mono',monospace;font-size:17px;fill:var(--ink);}
/* the architecture drawing */
.arch3 svg{display:block;} .arch3 text{font-family:'Bricolage Grotesque',sans-serif;}
.arch3 .hd{font-size:19px;font-weight:600;fill:var(--ink);} .arch3 tspan.mono{font-family:'JetBrains Mono',monospace;font-weight:500;}
.arch3 .nm{font-family:'JetBrains Mono',monospace;font-size:18px;fill:var(--ink);} .arch3 .sm{font-size:17px;fill:var(--ink-2);}
.arch3 .bx{fill:#241a44;stroke:rgba(236,231,248,.24);stroke-width:1;filter:drop-shadow(0 1px 0 rgba(0,0,0,.45));} .arch3 .bx.paused{stroke-dasharray:5 4;} .arch3 .bar{stroke:none;}
.arch3 .ar{stroke:rgba(236,231,248,.4);stroke-width:1.5;fill:none;} .arch3 .ah{fill:rgba(236,231,248,.5);} .arch3 .dot{fill:var(--purple-soft);}
.arch3 .gt{fill:#19122f;stroke:var(--purple-soft);stroke-width:2;} .arch3 .gtn{font-family:'JetBrains Mono',monospace;font-size:17px;fill:var(--ink);}
.arch3 .step{fill:#241a44;stroke:rgba(236,231,248,.24);} .arch3 .step.slow{fill:var(--purple);stroke:none;}
.arch3 .nm2{font-family:'JetBrains Mono',monospace;font-size:17px;fill:var(--ink);font-weight:600;} .arch3 .sm2{font-size:17px;fill:var(--ink-2);}
.arch3 tspan.big{font-size:30px;font-weight:700;fill:var(--ink);} .arch3 tspan.sm{font-size:17px;fill:var(--ink-2);}
/* the entity cards */
.er2 svg{display:block;} .er2 svg text{font-family:'JetBrains Mono',monospace;font-size:17px;fill:var(--ink);}
.er2 .ent rect{fill:#241a44;stroke:rgba(236,231,248,.24);stroke-width:1;rx:10;} .er2 .ent{filter:drop-shadow(0 1px 0 rgba(0,0,0,.45));} .er2 .ent rect.bar{stroke:none;rx:0;}
.er2 .ent .nm{font-family:'Bricolage Grotesque',sans-serif;font-size:21px;font-weight:600;fill:var(--ink);} .er2 .ent .grain{font-family:'Bricolage Grotesque',sans-serif;font-size:17px;fill:var(--ink-2);}
.er2 .ent .key{fill:var(--purple-soft);}  .er2 .ent .more{font-family:'Bricolage Grotesque',sans-serif;font-size:17px;fill:var(--ink-2);}
.er2 .ent.fact rect{stroke:rgba(255,210,63,.7);} .er2 .ent.hub rect{stroke:var(--purple-soft);stroke-width:2;}
.er2 .sep{stroke:rgba(236,231,248,.14);stroke-width:1;} .er2 .colname{fill:var(--ink);} .er2 .colname.key{fill:var(--purple-soft);}
.er2 .rel{fill:none;stroke:rgba(201,184,255,.42);stroke-width:1.5;}
.er2 .lab{font-size:18px;fill:var(--ink);paint-order:stroke;stroke:#19122f;stroke-width:8px;stroke-linejoin:round;}

/* the ground, from the insight series: a radial purple ground, a faint grid, plates with a purple edge */
:root{--ground:#080513;--plate:linear-gradient(160deg,#1b1436 0%,#110c24 100%);--plate-border:rgba(138,99,242,.28);--red:#ff8a73;}
html{background:var(--ground);}
body{background:var(--ground);}
body{position:relative;min-height:100%;}
body::before{content:'';position:absolute;left:0;right:0;top:0;height:min(1600px,100%);z-index:0;pointer-events:none;
  background:radial-gradient(1500px 900px at 50% 420px,#161033 0%,#0e0a1d 55%,rgba(8,5,19,0) 100%);}
body::after{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;
  background-image:linear-gradient(rgba(173,150,255,.05) 1.2px,transparent 1.2px),linear-gradient(90deg,rgba(173,150,255,.05) 1.2px,transparent 1.2px);
  background-size:46px 46px;}
main,nav{position:relative;z-index:1;}
nav{position:sticky;z-index:10;}
.lin2 .node rect,.er2 .ent rect{stroke:rgba(173,150,255,.26);}
</style>
</head>
<body>
<nav><span class="brand">newvolt-data-platform</span><a class="p" href="index.html">Overview</a><a class="p" href="architecture.html">Architecture</a><a class="p" href="lineage.html">Data lineage</a><a class="p on" href="calls.html">Call graph</a><a class="p" href="model.html">Data model</a><a class="p" href="quality.html">Data quality</a><a class="p" href="runs.html">Runs</a><a class="p" href="catalog.html">Data catalog</a></nav>
<main>
  <h1>Call graph</h1>
  <p class="lead">Who calls what in run/, generator/ and tools/, and what a change to one function reaches.</p>

  <section class="s">
    <h2>The layers of the code</h2>
    <p class="one">126 functions in 30 modules, in 5 layers; a call goes down the layers, never up.</p>
    <div class="vis wide paper"><div class="layers cards"><div class="card layer" style="border-left-color:rgba(201,184,255,.35)"><div class="nm">entry points</div><div class="cnt">14<small>functions</small></div><div class="sub">7 modules</div></div><span class="arr"><svg viewBox="0 0 40 24"><path d="M2 12h32M26 4l10 8-10 8"/></svg></span><div class="card layer" style="border-left-color:rgba(201,184,255,.6)"><div class="nm">orchestration</div><div class="cnt">18<small>functions</small></div><div class="sub">4 modules</div></div><span class="arr"><svg viewBox="0 0 40 24"><path d="M2 12h32M26 4l10 8-10 8"/></svg></span><div class="card layer" style="border-left-color:#c9b8ff"><div class="nm">domain</div><div class="cnt">52<small>functions</small></div><div class="sub">8 modules</div></div><span class="arr"><svg viewBox="0 0 40 24"><path d="M2 12h32M26 4l10 8-10 8"/></svg></span><div class="card layer" style="border-left-color:#8a63f2"><div class="nm">io and engine</div><div class="cnt">27<small>functions</small></div><div class="sub">6 modules</div></div><span class="arr"><svg viewBox="0 0 40 24"><path d="M2 12h32M26 4l10 8-10 8"/></svg></span><div class="card layer" style="border-left-color:#6b4fc9"><div class="nm">utilities</div><div class="cnt">15<small>functions</small></div><div class="sub">5 modules</div></div></div></div>
  </section>
  <section class="s">
    <h2>The run scripts</h2>
    <p class="one">92 functions under <span class="id">run/</span> and 114 calls; framed are the 4 functions most of the code depends on, dashed has no caller.</p>
    <div class="vis wide paper"><div class="lin lin2"><svg viewBox="0 0 1544 1388" width="1544" height="1388"><rect class="lane" x="-12.0" y="2" width="324.0" height="458" rx="12"/><rect class="lane" x="346.0" y="2" width="260.0" height="650" rx="12"/><rect class="lane" x="640.0" y="2" width="314.0" height="1386" rx="12"/><rect class="lane" x="988.0" y="2" width="274.0" height="842" rx="12"/><rect class="lane" x="1296.0" y="2" width="260.0" height="586" rx="12"/><g class="wire " data-a="run/daily.py:main" data-b="run/lib/pipeline.py:run_day"><path d="M300.0 112.0 C329.0 112.0 329.0 112.0 358.0 112.0"/></g><g class="wire " data-a="run/replay.py:main" data-b="run/lib/pipeline.py:run_day"><path d="M300.0 272.0 C329.0 272.0 329.0 112.0 358.0 112.0"/></g><g class="wire " data-a="run/backfill.py:main" data-b="run/lib/pipeline.py:run_day"><path d="M300.0 400.0 C329.0 400.0 329.0 112.0 358.0 112.0"/></g><g class="wire same" data-a="run/daily.py:main" data-b="run/daily.py:parse_args"><path d="M302.0 112.0 C311.0 112.0 311.0 144.0 302.0 144.0"/></g><g class="wire " data-a="run/daily.py:main" data-b="run/lib/schedule.py:next_delivery_day"><path d="M300.0 112.0 C329.0 112.0 329.0 272.0 358.0 272.0"/></g><g class="wire skip" data-a="run/daily.py:main" data-b="run/lib/engine.py:connect"><path d="M300.0 112.0 C650.0 112.0 650.0 112.0 1000.0 112.0"/></g><g class="wire same" data-a="run/replay.py:main" data-b="run/replay.py:replay_month"><path d="M302.0 272.0 C311.0 272.0 311.0 304.0 302.0 304.0"/></g><g class="wire " data-a="run/replay.py:replay_month" data-b="run/lib/schedule.py:window"><path d="M300.0 304.0 C329.0 304.0 329.0 336.0 358.0 336.0"/></g><g class="wire same" data-a="run/backfill.py:main" data-b="run/backfill.py:backfill_table"><path d="M302.0 400.0 C311.0 400.0 311.0 432.0 302.0 432.0"/></g><g class="wire skip" data-a="run/backfill.py:backfill_table" data-b="run/lib/engine.py:execute"><path d="M300.0 432.0 C650.0 432.0 650.0 144.0 1000.0 144.0"/></g><g class="wire skip" data-a="run/month_end.py:main" data-b="run/lib/reconcile.py:compare_export"><path d="M300.0 208.0 C476.0 208.0 476.0 1296.0 652.0 1296.0"/></g><g class="wire " data-a="run/month_end.py:main" data-b="run/lib/schedule.py:is_month_end"><path d="M300.0 208.0 C329.0 208.0 329.0 304.0 358.0 304.0"/></g><g class="wire skip" data-a="run/month_end.py:main" data-b="run/lib/engine.py:connect"><path d="M300.0 208.0 C650.0 208.0 650.0 112.0 1000.0 112.0"/></g><g class="wire same" data-a="run/lib/pipeline.py:run_day" data-b="run/lib/steps.py:check_files"><path d="M596.0 112.0 C605.0 112.0 605.0 400.0 596.0 400.0"/></g><g class="wire same" data-a="run/lib/pipeline.py:run_day" data-b="run/lib/steps.py:load_bronze"><path d="M596.0 112.0 C605.0 112.0 605.0 432.0 596.0 432.0"/></g><g class="wire same" data-a="run/lib/pipeline.py:run_day" data-b="run/lib/steps.py:check_rows"><path d="M596.0 112.0 C605.0 112.0 605.0 464.0 596.0 464.0"/></g><g class="wire same" data-a="run/lib/pipeline.py:run_day" data-b="run/lib/steps.py:build_clean"><path d="M596.0 112.0 C605.0 112.0 605.0 496.0 596.0 496.0"/></g><g class="wire same" data-a="run/lib/pipeline.py:run_day" data-b="run/lib/steps.py:build_core"><path d="M596.0 112.0 C605.0 112.0 605.0 528.0 596.0 528.0"/></g><g class="wire same" data-a="run/lib/pipeline.py:run_day" data-b="run/lib/steps.py:check_tables"><path d="M596.0 112.0 C605.0 112.0 605.0 560.0 596.0 560.0"/></g><g class="wire same" data-a="run/lib/pipeline.py:run_day" data-b="run/lib/steps.py:build_gold"><path d="M596.0 112.0 C605.0 112.0 605.0 592.0 596.0 592.0"/></g><g class="wire same" data-a="run/lib/pipeline.py:run_day" data-b="run/lib/steps.py:build_metrics"><path d="M596.0 112.0 C605.0 112.0 605.0 624.0 596.0 624.0"/></g><g class="wire same" data-a="run/lib/pipeline.py:run_day" data-b="run/lib/pipeline.py:run_step"><path d="M596.0 112.0 C605.0 112.0 605.0 144.0 596.0 144.0"/></g><g class="wire same" data-a="run/lib/pipeline.py:run_step" data-b="run/lib/pipeline.py:skip_dependents"><path d="M596.0 144.0 C605.0 144.0 605.0 176.0 596.0 176.0"/></g><g class="wire same" data-a="run/lib/pipeline.py:run_step" data-b="run/lib/pipeline.py:fail"><path d="M596.0 144.0 C605.0 144.0 605.0 208.0 596.0 208.0"/></g><g class="wire skip" data-a="run/lib/pipeline.py:run_day" data-b="run/lib/record.py:write_run"><path d="M594.0 112.0 C797.0 112.0 797.0 720.0 1000.0 720.0"/></g><g class="wire skip" data-a="run/lib/pipeline.py:skip_dependents" data-b="run/lib/record.py:write_run"><path d="M594.0 176.0 C797.0 176.0 797.0 720.0 1000.0 720.0"/></g><g class="wire skip" data-a="run/lib/pipeline.py:fail" data-b="run/lib/record.py:write_run"><path d="M594.0 208.0 C797.0 208.0 797.0 720.0 1000.0 720.0"/></g><g class="wire " data-a="run/lib/steps.py:check_files" data-b="run/lib/gates.py:gate_files"><path d="M594.0 400.0 C623.0 400.0 623.0 112.0 652.0 112.0"/></g><g class="wire " data-a="run/lib/steps.py:check_rows" data-b="run/lib/gates.py:gate_rows"><path d="M594.0 464.0 C623.0 464.0 623.0 144.0 652.0 144.0"/></g><g class="wire " data-a="run/lib/steps.py:check_tables" data-b="run/lib/gates.py:gate_tables"><path d="M594.0 560.0 C623.0 560.0 623.0 176.0 652.0 176.0"/></g><g class="wire skip" data-a="run/lib/steps.py:load_bronze" data-b="run/lib/readers.py:read_csv"><path d="M594.0 432.0 C797.0 432.0 797.0 368.0 1000.0 368.0"/></g><g class="wire skip" data-a="run/lib/steps.py:load_bronze" data-b="run/lib/readers.py:read_jsonl"><path d="M594.0 432.0 C797.0 432.0 797.0 400.0 1000.0 400.0"/></g><g class="wire skip" data-a="run/lib/steps.py:load_bronze" data-b="run/lib/readers.py:read_paged_json"><path d="M594.0 432.0 C797.0 432.0 797.0 432.0 1000.0 432.0"/></g><g class="wire skip" data-a="run/lib/steps.py:load_bronze" data-b="run/lib/readers.py:read_workbook"><path d="M594.0 432.0 C797.0 432.0 797.0 464.0 1000.0 464.0"/></g><g class="wire skip" data-a="run/lib/steps.py:load_bronze" data-b="run/lib/writers.py:append_rows"><path d="M594.0 432.0 C797.0 432.0 797.0 624.0 1000.0 624.0"/></g><g class="wire skip" data-a="run/lib/steps.py:build_clean" data-b="run/lib/engine.py:execute"><path d="M594.0 496.0 C797.0 496.0 797.0 144.0 1000.0 144.0"/></g><g class="wire skip" data-a="run/lib/steps.py:build_core" data-b="run/lib/engine.py:execute"><path d="M594.0 528.0 C797.0 528.0 797.0 144.0 1000.0 144.0"/></g><g class="wire skip" data-a="run/lib/steps.py:build_gold" data-b="run/lib/engine.py:execute"><path d="M594.0 592.0 C797.0 592.0 797.0 144.0 1000.0 144.0"/></g><g class="wire skip" data-a="run/lib/steps.py:build_metrics" data-b="run/lib/engine.py:execute"><path d="M594.0 624.0 C797.0 624.0 797.0 144.0 1000.0 144.0"/></g><g class="wire " data-a="run/lib/steps.py:build_clean" data-b="run/lib/rules.py:row_rules"><path d="M594.0 496.0 C623.0 496.0 623.0 752.0 652.0 752.0"/></g><g class="wire " data-a="run/lib/steps.py:build_clean" data-b="run/lib/quarantine.py:quarantine_row"><path d="M594.0 496.0 C623.0 496.0 623.0 1136.0 652.0 1136.0"/></g><g class="wire " data-a="run/lib/steps.py:build_clean" data-b="run/lib/quarantine.py:flag_value"><path d="M594.0 496.0 C623.0 496.0 623.0 1168.0 652.0 1168.0"/></g><g class="wire " data-a="run/lib/steps.py:build_clean" data-b="run/lib/quarantine.py:defer_early_row"><path d="M594.0 496.0 C623.0 496.0 623.0 1200.0 652.0 1200.0"/></g><g class="wire " data-a="run/lib/gates.py:gate_files" data-b="run/lib/readers.py:read_manifest"><path d="M942.0 112.0 C971.0 112.0 971.0 304.0 1000.0 304.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_files" data-b="run/lib/gates.py:known_file"><path d="M944.0 112.0 C953.0 112.0 953.0 208.0 944.0 208.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_files" data-b="run/lib/gates.py:valid_checksum"><path d="M944.0 112.0 C953.0 112.0 953.0 240.0 944.0 240.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_files" data-b="run/lib/gates.py:header_matches"><path d="M944.0 112.0 C953.0 112.0 953.0 272.0 944.0 272.0"/></g><g class="wire " data-a="run/lib/gates.py:valid_checksum" data-b="run/lib/readers.py:sha256_of"><path d="M942.0 240.0 C971.0 240.0 971.0 336.0 1000.0 336.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_files" data-b="run/lib/quarantine.py:quarantine_file"><path d="M944.0 112.0 C953.0 112.0 953.0 1104.0 944.0 1104.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_rows" data-b="run/lib/gates.py:known_columns"><path d="M944.0 144.0 C953.0 144.0 953.0 336.0 944.0 336.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_rows" data-b="run/lib/gates.py:valid_types"><path d="M944.0 144.0 C953.0 144.0 953.0 368.0 944.0 368.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_rows" data-b="run/lib/gates.py:valid_schema_version"><path d="M944.0 144.0 C953.0 144.0 953.0 400.0 944.0 400.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_rows" data-b="run/lib/gates.py:expected_rows"><path d="M944.0 144.0 C953.0 144.0 953.0 432.0 944.0 432.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_rows" data-b="run/lib/gates.py:readable_lines"><path d="M944.0 144.0 C953.0 144.0 953.0 464.0 944.0 464.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_files" data-b="run/lib/gates.py:sheets_complete"><path d="M944.0 112.0 C953.0 112.0 953.0 304.0 944.0 304.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_rows" data-b="run/lib/quarantine.py:quarantine_file"><path d="M944.0 144.0 C953.0 144.0 953.0 1104.0 944.0 1104.0"/></g><g class="wire " data-a="run/lib/gates.py:gate_rows" data-b="run/lib/engine.py:fetch"><path d="M942.0 144.0 C971.0 144.0 971.0 176.0 1000.0 176.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_tables" data-b="run/lib/gates.py:unique_key"><path d="M944.0 176.0 C953.0 176.0 953.0 496.0 944.0 496.0"/></g><g class="wire " data-a="run/lib/gates.py:unique_key" data-b="run/lib/engine.py:fetch"><path d="M942.0 496.0 C971.0 496.0 971.0 176.0 1000.0 176.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_tables" data-b="run/lib/gates.py:known_parent"><path d="M944.0 176.0 C953.0 176.0 953.0 528.0 944.0 528.0"/></g><g class="wire " data-a="run/lib/gates.py:known_parent" data-b="run/lib/engine.py:fetch"><path d="M942.0 528.0 C971.0 528.0 971.0 176.0 1000.0 176.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_tables" data-b="run/lib/gates.py:complete_feed"><path d="M944.0 176.0 C953.0 176.0 953.0 560.0 944.0 560.0"/></g><g class="wire " data-a="run/lib/gates.py:complete_feed" data-b="run/lib/engine.py:fetch"><path d="M942.0 560.0 C971.0 560.0 971.0 176.0 1000.0 176.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_tables" data-b="run/lib/gates.py:has_rows"><path d="M944.0 176.0 C953.0 176.0 953.0 592.0 944.0 592.0"/></g><g class="wire " data-a="run/lib/gates.py:has_rows" data-b="run/lib/engine.py:fetch"><path d="M942.0 592.0 C971.0 592.0 971.0 176.0 1000.0 176.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_tables" data-b="run/lib/gates.py:max_quarantined_rows"><path d="M944.0 176.0 C953.0 176.0 953.0 624.0 944.0 624.0"/></g><g class="wire " data-a="run/lib/gates.py:max_quarantined_rows" data-b="run/lib/engine.py:fetch"><path d="M942.0 624.0 C971.0 624.0 971.0 176.0 1000.0 176.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_tables" data-b="run/lib/gates.py:row_count_matches"><path d="M944.0 176.0 C953.0 176.0 953.0 656.0 944.0 656.0"/></g><g class="wire " data-a="run/lib/gates.py:row_count_matches" data-b="run/lib/engine.py:fetch"><path d="M942.0 656.0 C971.0 656.0 971.0 176.0 1000.0 176.0"/></g><g class="wire same" data-a="run/lib/gates.py:gate_tables" data-b="run/lib/gates.py:fresh_within_sla"><path d="M944.0 176.0 C953.0 176.0 953.0 688.0 944.0 688.0"/></g><g class="wire " data-a="run/lib/gates.py:fresh_within_sla" data-b="run/lib/engine.py:fetch"><path d="M942.0 688.0 C971.0 688.0 971.0 176.0 1000.0 176.0"/></g><g class="wire " data-a="run/lib/gates.py:gate_files" data-b="run/lib/record.py:write_gates"><path d="M942.0 112.0 C971.0 112.0 971.0 752.0 1000.0 752.0"/></g><g class="wire " data-a="run/lib/gates.py:gate_rows" data-b="run/lib/record.py:write_gates"><path d="M942.0 144.0 C971.0 144.0 971.0 752.0 1000.0 752.0"/></g><g class="wire " data-a="run/lib/gates.py:gate_tables" data-b="run/lib/record.py:write_gates"><path d="M942.0 176.0 C971.0 176.0 971.0 752.0 1000.0 752.0"/></g><g class="wire same" data-a="run/lib/rules.py:row_rules" data-b="run/lib/rules.py:known_code"><path d="M944.0 752.0 C953.0 752.0 953.0 784.0 944.0 784.0"/></g><g class="wire same" data-a="run/lib/rules.py:row_rules" data-b="run/lib/rules.py:valid_postal_code"><path d="M944.0 752.0 C953.0 752.0 953.0 816.0 944.0 816.0"/></g><g class="wire same" data-a="run/lib/rules.py:row_rules" data-b="run/lib/rules.py:unique_sequence"><path d="M944.0 752.0 C953.0 752.0 953.0 848.0 944.0 848.0"/></g><g class="wire same" data-a="run/lib/rules.py:row_rules" data-b="run/lib/rules.py:positive_quantity"><path d="M944.0 752.0 C953.0 752.0 953.0 880.0 944.0 880.0"/></g><g class="wire same" data-a="run/lib/rules.py:row_rules" data-b="run/lib/rules.py:known_carrier"><path d="M944.0 752.0 C953.0 752.0 953.0 912.0 944.0 912.0"/></g><g class="wire same" data-a="run/lib/rules.py:row_rules" data-b="run/lib/rules.py:known_order"><path d="M944.0 752.0 C953.0 752.0 953.0 944.0 944.0 944.0"/></g><g class="wire same" data-a="run/lib/rules.py:row_rules" data-b="run/lib/rules.py:valid_email"><path d="M944.0 752.0 C953.0 752.0 953.0 976.0 944.0 976.0"/></g><g class="wire same" data-a="run/lib/rules.py:row_rules" data-b="run/lib/rules.py:known_country"><path d="M944.0 752.0 C953.0 752.0 953.0 1008.0 944.0 1008.0"/></g><g class="wire same" data-a="run/lib/rules.py:row_rules" data-b="run/lib/rules.py:known_agent"><path d="M944.0 752.0 C953.0 752.0 953.0 1040.0 944.0 1040.0"/></g><g class="wire " data-a="run/lib/rules.py:known_code" data-b="run/lib/engine.py:fetch"><path d="M942.0 784.0 C971.0 784.0 971.0 176.0 1000.0 176.0"/></g><g class="wire " data-a="run/lib/rules.py:known_carrier" data-b="run/lib/engine.py:fetch"><path d="M942.0 912.0 C971.0 912.0 971.0 176.0 1000.0 176.0"/></g><g class="wire " data-a="run/lib/rules.py:known_order" data-b="run/lib/engine.py:fetch"><path d="M942.0 944.0 C971.0 944.0 971.0 176.0 1000.0 176.0"/></g><g class="wire " data-a="run/lib/rules.py:known_country" data-b="run/lib/engine.py:fetch"><path d="M942.0 1008.0 C971.0 1008.0 971.0 176.0 1000.0 176.0"/></g><g class="wire " data-a="run/lib/rules.py:known_agent" data-b="run/lib/engine.py:fetch"><path d="M942.0 1040.0 C971.0 1040.0 971.0 176.0 1000.0 176.0"/></g><g class="wire " data-a="run/lib/quarantine.py:quarantine_file" data-b="run/lib/record.py:write_quarantine"><path d="M942.0 1104.0 C971.0 1104.0 971.0 784.0 1000.0 784.0"/></g><g class="wire " data-a="run/lib/quarantine.py:quarantine_row" data-b="run/lib/record.py:write_quarantine"><path d="M942.0 1136.0 C971.0 1136.0 971.0 784.0 1000.0 784.0"/></g><g class="wire " data-a="run/lib/quarantine.py:flag_value" data-b="run/lib/record.py:write_quarantine"><path d="M942.0 1168.0 C971.0 1168.0 971.0 784.0 1000.0 784.0"/></g><g class="wire " data-a="run/lib/quarantine.py:defer_early_row" data-b="run/lib/record.py:write_quarantine"><path d="M942.0 1200.0 C971.0 1200.0 971.0 784.0 1000.0 784.0"/></g><g class="wire " data-a="run/lib/quarantine.py:list_quarantined" data-b="run/lib/engine.py:fetch"><path d="M942.0 1232.0 C971.0 1232.0 971.0 176.0 1000.0 176.0"/></g><g class="wire " data-a="run/lib/reconcile.py:compare_export" data-b="run/lib/readers.py:read_csv"><path d="M942.0 1296.0 C971.0 1296.0 971.0 368.0 1000.0 368.0"/></g><g class="wire " data-a="run/lib/reconcile.py:compare_export" data-b="run/lib/engine.py:fetch"><path d="M942.0 1296.0 C971.0 1296.0 971.0 176.0 1000.0 176.0"/></g><g class="wire same" data-a="run/lib/reconcile.py:compare_export" data-b="run/lib/reconcile.py:row_diff"><path d="M944.0 1296.0 C953.0 1296.0 953.0 1328.0 944.0 1328.0"/></g><g class="wire same" data-a="run/lib/reconcile.py:compare_export" data-b="run/lib/reconcile.py:write_reconcile"><path d="M944.0 1296.0 C953.0 1296.0 953.0 1360.0 944.0 1360.0"/></g><g class="wire " data-a="run/lib/reconcile.py:write_reconcile" data-b="run/lib/writers.py:write_csv"><path d="M942.0 1360.0 C971.0 1360.0 971.0 656.0 1000.0 656.0"/></g><g class="wire same" data-a="run/lib/writers.py:write_table" data-b="run/lib/engine.py:execute"><path d="M1252.0 592.0 C1261.0 592.0 1261.0 144.0 1252.0 144.0"/></g><g class="wire same" data-a="run/lib/writers.py:append_rows" data-b="run/lib/engine.py:execute"><path d="M1252.0 624.0 C1261.0 624.0 1261.0 144.0 1252.0 144.0"/></g><g class="wire same" data-a="run/lib/engine.py:execute" data-b="run/lib/engine.py:transaction"><path d="M1252.0 144.0 C1261.0 144.0 1261.0 208.0 1252.0 208.0"/></g><g class="wire same" data-a="run/lib/engine.py:fetch" data-b="run/lib/engine.py:connect"><path d="M1252.0 176.0 C1261.0 176.0 1261.0 112.0 1252.0 112.0"/></g><g class="wire same" data-a="run/lib/record.py:write_run" data-b="run/lib/writers.py:append_rows"><path d="M1252.0 720.0 C1261.0 720.0 1261.0 624.0 1252.0 624.0"/></g><g class="wire same" data-a="run/lib/record.py:write_gates" data-b="run/lib/writers.py:append_rows"><path d="M1252.0 752.0 C1261.0 752.0 1261.0 624.0 1252.0 624.0"/></g><g class="wire same" data-a="run/lib/record.py:write_quarantine" data-b="run/lib/writers.py:append_rows"><path d="M1252.0 784.0 C1261.0 784.0 1261.0 624.0 1252.0 624.0"/></g><g class="wire same" data-a="run/lib/record.py:write_query_log" data-b="run/lib/writers.py:append_rows"><path d="M1252.0 816.0 C1261.0 816.0 1261.0 624.0 1252.0 624.0"/></g><g class="wire " data-a="run/lib/readers.py:read_csv" data-b="run/lib/text.py:trim"><path d="M1250.0 368.0 C1279.0 368.0 1279.0 400.0 1308.0 400.0"/></g><g class="wire " data-a="run/lib/readers.py:read_workbook" data-b="run/lib/dates.py:parse_day_first"><path d="M1250.0 464.0 C1279.0 464.0 1279.0 240.0 1308.0 240.0"/></g><g class="wire " data-a="run/lib/readers.py:read_paged_json" data-b="run/lib/text.py:normalise_id"><path d="M1250.0 432.0 C1279.0 432.0 1279.0 432.0 1308.0 432.0"/></g><g class="wire skip" data-a="run/lib/schedule.py:next_delivery_day" data-b="run/lib/dates.py:business_days"><path d="M594.0 272.0 C951.0 272.0 951.0 304.0 1308.0 304.0"/></g><g class="wire skip" data-a="run/lib/schedule.py:window" data-b="run/lib/dates.py:business_days"><path d="M594.0 336.0 C951.0 336.0 951.0 304.0 1308.0 304.0"/></g><g class="wire same" data-a="run/lib/dates.py:business_days" data-b="run/lib/dates.py:is_weekend"><path d="M1306.0 304.0 C1297.0 304.0 1297.0 336.0 1306.0 336.0"/></g><g class="wire same" data-a="run/lib/text.py:normalise_id" data-b="run/lib/text.py:transliterate"><path d="M1306.0 432.0 C1297.0 432.0 1297.0 464.0 1306.0 464.0"/></g><g class="wire same" data-a="run/lib/engine.py:fetch" data-b="run/lib/record.py:write_query_log"><path d="M1252.0 176.0 C1261.0 176.0 1261.0 816.0 1252.0 816.0"/></g><text class="hd" x="0.0" y="22">entry points</text><text class="hd2" x="0.0" y="46">8 functions</text><text class="grp" x="0.0" y="84.0">run/daily.py</text><g class="node " data-k="run/daily.py:main"><rect x="0.0" y="99.0" width="300.0" height="26"/><rect class="bar" x="0.0" y="99.0" width="4" height="26" style="fill:rgba(201,184,255,.35)"/><text x="14.0" y="117.0">main</text></g><g class="node " data-k="run/daily.py:parse_args"><rect x="0.0" y="131.0" width="300.0" height="26"/><rect class="bar" x="0.0" y="131.0" width="4" height="26" style="fill:rgba(201,184,255,.35)"/><text x="14.0" y="149.0">parse_args</text></g><text class="grp" x="0.0" y="180.0">run/month_end.py</text><g class="node " data-k="run/month_end.py:main"><rect x="0.0" y="195.0" width="300.0" height="26"/><rect class="bar" x="0.0" y="195.0" width="4" height="26" style="fill:rgba(201,184,255,.35)"/><text x="14.0" y="213.0">main</text></g><text class="grp" x="0.0" y="244.0">run/replay.py</text><g class="node " data-k="run/replay.py:main"><rect x="0.0" y="259.0" width="300.0" height="26"/><rect class="bar" x="0.0" y="259.0" width="4" height="26" style="fill:rgba(201,184,255,.35)"/><text x="14.0" y="277.0">main</text></g><g class="node " data-k="run/replay.py:replay_month"><rect x="0.0" y="291.0" width="300.0" height="26"/><rect class="bar" x="0.0" y="291.0" width="4" height="26" style="fill:rgba(201,184,255,.35)"/><text x="14.0" y="309.0">replay_month</text></g><g class="node dead" data-k="run/replay.py:legacy_replay"><rect x="0.0" y="323.0" width="300.0" height="26"/><rect class="bar" x="0.0" y="323.0" width="4" height="26" style="fill:rgba(201,184,255,.35)"/><text x="14.0" y="341.0">legacy_replay</text></g><text class="grp" x="0.0" y="372.0">run/backfill.py</text><g class="node " data-k="run/backfill.py:main"><rect x="0.0" y="387.0" width="300.0" height="26"/><rect class="bar" x="0.0" y="387.0" width="4" height="26" style="fill:rgba(201,184,255,.35)"/><text x="14.0" y="405.0">main</text></g><g class="node " data-k="run/backfill.py:backfill_table"><rect x="0.0" y="419.0" width="300.0" height="26"/><rect class="bar" x="0.0" y="419.0" width="4" height="26" style="fill:rgba(201,184,255,.35)"/><text x="14.0" y="437.0">backfill_table</text></g><text class="hd" x="358.0" y="22">orchestration</text><text class="hd2" x="358.0" y="46">15 functions</text><text class="grp" x="358.0" y="84.0">run/lib/pipeline.py</text><g class="node " data-k="run/lib/pipeline.py:run_day"><rect x="358.0" y="99.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="99.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="117.0">run_day</text></g><g class="node " data-k="run/lib/pipeline.py:run_step"><rect x="358.0" y="131.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="131.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="149.0">run_step</text></g><g class="node " data-k="run/lib/pipeline.py:skip_dependents"><rect x="358.0" y="163.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="163.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="181.0">skip_dependents</text></g><g class="node " data-k="run/lib/pipeline.py:fail"><rect x="358.0" y="195.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="195.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="213.0">fail</text></g><text class="grp" x="358.0" y="244.0">run/lib/schedule.py</text><g class="node " data-k="run/lib/schedule.py:next_delivery_day"><rect x="358.0" y="259.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="259.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="277.0">next_delivery_day</text></g><g class="node " data-k="run/lib/schedule.py:is_month_end"><rect x="358.0" y="291.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="291.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="309.0">is_month_end</text></g><g class="node " data-k="run/lib/schedule.py:window"><rect x="358.0" y="323.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="323.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="341.0">window</text></g><text class="grp" x="358.0" y="372.0">run/lib/steps.py</text><g class="node " data-k="run/lib/steps.py:check_files"><rect x="358.0" y="387.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="387.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="405.0">check_files</text></g><g class="node " data-k="run/lib/steps.py:load_bronze"><rect x="358.0" y="419.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="419.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="437.0">load_bronze</text></g><g class="node " data-k="run/lib/steps.py:check_rows"><rect x="358.0" y="451.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="451.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="469.0">check_rows</text></g><g class="node " data-k="run/lib/steps.py:build_clean"><rect x="358.0" y="483.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="483.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="501.0">build_clean</text></g><g class="node " data-k="run/lib/steps.py:build_core"><rect x="358.0" y="515.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="515.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="533.0">build_core</text></g><g class="node " data-k="run/lib/steps.py:check_tables"><rect x="358.0" y="547.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="547.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="565.0">check_tables</text></g><g class="node " data-k="run/lib/steps.py:build_gold"><rect x="358.0" y="579.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="579.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="597.0">build_gold</text></g><g class="node " data-k="run/lib/steps.py:build_metrics"><rect x="358.0" y="611.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="611.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="629.0">build_metrics</text></g><text class="hd" x="652.0" y="22">domain</text><text class="hd2" x="652.0" y="46">37 functions</text><text class="grp" x="652.0" y="84.0">run/lib/gates.py</text><g class="node " data-k="run/lib/gates.py:gate_files"><rect x="652.0" y="99.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="99.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="117.0">gate_files</text></g><g class="node " data-k="run/lib/gates.py:gate_rows"><rect x="652.0" y="131.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="131.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="149.0">gate_rows</text></g><g class="node " data-k="run/lib/gates.py:gate_tables"><rect x="652.0" y="163.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="163.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="181.0">gate_tables</text></g><g class="node " data-k="run/lib/gates.py:known_file"><rect x="652.0" y="195.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="195.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="213.0">known_file</text></g><g class="node " data-k="run/lib/gates.py:valid_checksum"><rect x="652.0" y="227.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="227.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="245.0">valid_checksum</text></g><g class="node " data-k="run/lib/gates.py:header_matches"><rect x="652.0" y="259.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="259.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="277.0">header_matches</text></g><g class="node " data-k="run/lib/gates.py:sheets_complete"><rect x="652.0" y="291.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="291.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="309.0">sheets_complete</text></g><g class="node " data-k="run/lib/gates.py:known_columns"><rect x="652.0" y="323.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="323.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="341.0">known_columns</text></g><g class="node " data-k="run/lib/gates.py:valid_types"><rect x="652.0" y="355.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="355.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="373.0">valid_types</text></g><g class="node " data-k="run/lib/gates.py:valid_schema_version"><rect x="652.0" y="387.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="387.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="405.0">valid_schema_version</text></g><g class="node " data-k="run/lib/gates.py:expected_rows"><rect x="652.0" y="419.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="419.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="437.0">expected_rows</text></g><g class="node " data-k="run/lib/gates.py:readable_lines"><rect x="652.0" y="451.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="451.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="469.0">readable_lines</text></g><g class="node " data-k="run/lib/gates.py:unique_key"><rect x="652.0" y="483.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="483.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="501.0">unique_key</text></g><g class="node " data-k="run/lib/gates.py:known_parent"><rect x="652.0" y="515.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="515.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="533.0">known_parent</text></g><g class="node " data-k="run/lib/gates.py:complete_feed"><rect x="652.0" y="547.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="547.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="565.0">complete_feed</text></g><g class="node " data-k="run/lib/gates.py:has_rows"><rect x="652.0" y="579.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="579.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="597.0">has_rows</text></g><g class="node " data-k="run/lib/gates.py:max_quarantined_rows"><rect x="652.0" y="611.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="611.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="629.0">max_quarantined_rows</text></g><g class="node " data-k="run/lib/gates.py:row_count_matches"><rect x="652.0" y="643.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="643.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="661.0">row_count_matches</text></g><g class="node " data-k="run/lib/gates.py:fresh_within_sla"><rect x="652.0" y="675.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="675.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="693.0">fresh_within_sla</text></g><text class="grp" x="652.0" y="724.0">run/lib/rules.py</text><g class="node " data-k="run/lib/rules.py:row_rules"><rect x="652.0" y="739.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="739.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="757.0">row_rules</text></g><g class="node " data-k="run/lib/rules.py:known_code"><rect x="652.0" y="771.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="771.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="789.0">known_code</text></g><g class="node " data-k="run/lib/rules.py:valid_postal_code"><rect x="652.0" y="803.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="803.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="821.0">valid_postal_code</text></g><g class="node " data-k="run/lib/rules.py:unique_sequence"><rect x="652.0" y="835.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="835.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="853.0">unique_sequence</text></g><g class="node " data-k="run/lib/rules.py:positive_quantity"><rect x="652.0" y="867.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="867.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="885.0">positive_quantity</text></g><g class="node " data-k="run/lib/rules.py:known_carrier"><rect x="652.0" y="899.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="899.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="917.0">known_carrier</text></g><g class="node " data-k="run/lib/rules.py:known_order"><rect x="652.0" y="931.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="931.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="949.0">known_order</text></g><g class="node " data-k="run/lib/rules.py:valid_email"><rect x="652.0" y="963.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="963.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="981.0">valid_email</text></g><g class="node " data-k="run/lib/rules.py:known_country"><rect x="652.0" y="995.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="995.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="1013.0">known_country</text></g><g class="node " data-k="run/lib/rules.py:known_agent"><rect x="652.0" y="1027.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="1027.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="1045.0">known_agent</text></g><text class="grp" x="652.0" y="1076.0">run/lib/quarantine.py</text><g class="node " data-k="run/lib/quarantine.py:quarantine_file"><rect x="652.0" y="1091.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="1091.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="1109.0">quarantine_file</text></g><g class="node " data-k="run/lib/quarantine.py:quarantine_row"><rect x="652.0" y="1123.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="1123.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="1141.0">quarantine_row</text></g><g class="node " data-k="run/lib/quarantine.py:flag_value"><rect x="652.0" y="1155.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="1155.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="1173.0">flag_value</text></g><g class="node " data-k="run/lib/quarantine.py:defer_early_row"><rect x="652.0" y="1187.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="1187.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="1205.0">defer_early_row</text></g><g class="node " data-k="run/lib/quarantine.py:list_quarantined"><rect x="652.0" y="1219.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="1219.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="1237.0">list_quarantined</text></g><text class="grp" x="652.0" y="1268.0">run/lib/reconcile.py</text><g class="node " data-k="run/lib/reconcile.py:compare_export"><rect x="652.0" y="1283.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="1283.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="1301.0">compare_export</text></g><g class="node " data-k="run/lib/reconcile.py:row_diff"><rect x="652.0" y="1315.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="1315.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="1333.0">row_diff</text></g><g class="node " data-k="run/lib/reconcile.py:write_reconcile"><rect x="652.0" y="1347.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="1347.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="1365.0">write_reconcile</text></g><text class="hd" x="1000.0" y="22">io and engine</text><text class="hd2" x="1000.0" y="46">20 functions</text><text class="grp" x="1000.0" y="84.0">run/lib/engine.py</text><g class="node  hub" data-k="run/lib/engine.py:connect"><rect x="1000.0" y="99.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="99.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="117.0">connect</text></g><g class="node  hub" data-k="run/lib/engine.py:execute"><rect x="1000.0" y="131.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="131.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="149.0">execute</text></g><g class="node  hub" data-k="run/lib/engine.py:fetch"><rect x="1000.0" y="163.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="163.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="181.0">fetch</text></g><g class="node " data-k="run/lib/engine.py:transaction"><rect x="1000.0" y="195.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="195.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="213.0">transaction</text></g><g class="node dead" data-k="run/lib/engine.py:table_exists"><rect x="1000.0" y="227.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="227.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="245.0">table_exists</text></g><text class="grp" x="1000.0" y="276.0">run/lib/readers.py</text><g class="node " data-k="run/lib/readers.py:read_manifest"><rect x="1000.0" y="291.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="291.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="309.0">read_manifest</text></g><g class="node " data-k="run/lib/readers.py:sha256_of"><rect x="1000.0" y="323.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="323.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="341.0">sha256_of</text></g><g class="node " data-k="run/lib/readers.py:read_csv"><rect x="1000.0" y="355.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="355.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="373.0">read_csv</text></g><g class="node " data-k="run/lib/readers.py:read_jsonl"><rect x="1000.0" y="387.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="387.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="405.0">read_jsonl</text></g><g class="node " data-k="run/lib/readers.py:read_paged_json"><rect x="1000.0" y="419.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="419.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="437.0">read_paged_json</text></g><g class="node " data-k="run/lib/readers.py:read_workbook"><rect x="1000.0" y="451.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="451.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="469.0">read_workbook</text></g><g class="node dead" data-k="run/lib/readers.py:read_xml"><rect x="1000.0" y="483.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="483.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="501.0">read_xml</text></g><g class="node dead" data-k="run/lib/readers.py:parse_bool"><rect x="1000.0" y="515.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="515.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="533.0">parse_bool</text></g><text class="grp" x="1000.0" y="564.0">run/lib/writers.py</text><g class="node dead" data-k="run/lib/writers.py:write_table"><rect x="1000.0" y="579.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="579.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="597.0">write_table</text></g><g class="node  hub" data-k="run/lib/writers.py:append_rows"><rect x="1000.0" y="611.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="611.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="629.0">append_rows</text></g><g class="node " data-k="run/lib/writers.py:write_csv"><rect x="1000.0" y="643.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="643.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="661.0">write_csv</text></g><text class="grp" x="1000.0" y="692.0">run/lib/record.py</text><g class="node " data-k="run/lib/record.py:write_run"><rect x="1000.0" y="707.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="707.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="725.0">write_run</text></g><g class="node " data-k="run/lib/record.py:write_gates"><rect x="1000.0" y="739.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="739.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="757.0">write_gates</text></g><g class="node " data-k="run/lib/record.py:write_quarantine"><rect x="1000.0" y="771.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="771.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="789.0">write_quarantine</text></g><g class="node " data-k="run/lib/record.py:write_query_log"><rect x="1000.0" y="803.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="803.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="821.0">write_query_log</text></g><text class="hd" x="1308.0" y="22">utilities</text><text class="hd2" x="1308.0" y="46">12 functions</text><text class="grp" x="1308.0" y="84.0">run/lib/money.py</text><g class="node " data-k="run/lib/money.py:to_cents"><rect x="1308.0" y="99.0" width="236.0" height="26"/><rect class="bar" x="1308.0" y="99.0" width="4" height="26" style="fill:#6b4fc9"/><text x="1322.0" y="117.0">to_cents</text></g><g class="node dead" data-k="run/lib/money.py:to_euro"><rect x="1308.0" y="131.0" width="236.0" height="26"/><rect class="bar" x="1308.0" y="131.0" width="4" height="26" style="fill:#6b4fc9"/><text x="1322.0" y="149.0">to_euro</text></g><g class="node dead" data-k="run/lib/money.py:round_half_up"><rect x="1308.0" y="163.0" width="236.0" height="26"/><rect class="bar" x="1308.0" y="163.0" width="4" height="26" style="fill:#6b4fc9"/><text x="1322.0" y="181.0">round_half_up</text></g><text class="grp" x="1308.0" y="212.0">run/lib/dates.py</text><g class="node " data-k="run/lib/dates.py:parse_day_first"><rect x="1308.0" y="227.0" width="236.0" height="26"/><rect class="bar" x="1308.0" y="227.0" width="4" height="26" style="fill:#6b4fc9"/><text x="1322.0" y="245.0">parse_day_first</text></g><g class="node " data-k="run/lib/dates.py:to_utc"><rect x="1308.0" y="259.0" width="236.0" height="26"/><rect class="bar" x="1308.0" y="259.0" width="4" height="26" style="fill:#6b4fc9"/><text x="1322.0" y="277.0">to_utc</text></g><g class="node " data-k="run/lib/dates.py:business_days"><rect x="1308.0" y="291.0" width="236.0" height="26"/><rect class="bar" x="1308.0" y="291.0" width="4" height="26" style="fill:#6b4fc9"/><text x="1322.0" y="309.0">business_days</text></g><g class="node " data-k="run/lib/dates.py:is_weekend"><rect x="1308.0" y="323.0" width="236.0" height="26"/><rect class="bar" x="1308.0" y="323.0" width="4" height="26" style="fill:#6b4fc9"/><text x="1322.0" y="341.0">is_weekend</text></g><text class="grp" x="1308.0" y="372.0">run/lib/text.py</text><g class="node " data-k="run/lib/text.py:trim"><rect x="1308.0" y="387.0" width="236.0" height="26"/><rect class="bar" x="1308.0" y="387.0" width="4" height="26" style="fill:#6b4fc9"/><text x="1322.0" y="405.0">trim</text></g><g class="node " data-k="run/lib/text.py:normalise_id"><rect x="1308.0" y="419.0" width="236.0" height="26"/><rect class="bar" x="1308.0" y="419.0" width="4" height="26" style="fill:#6b4fc9"/><text x="1322.0" y="437.0">normalise_id</text></g><g class="node " data-k="run/lib/text.py:transliterate"><rect x="1308.0" y="451.0" width="236.0" height="26"/><rect class="bar" x="1308.0" y="451.0" width="4" height="26" style="fill:#6b4fc9"/><text x="1322.0" y="469.0">transliterate</text></g><text class="grp" x="1308.0" y="500.0">run/lib/notify.py</text><g class="node dead" data-k="run/lib/notify.py:send_slack"><rect x="1308.0" y="515.0" width="236.0" height="26"/><rect class="bar" x="1308.0" y="515.0" width="4" height="26" style="fill:#6b4fc9"/><text x="1322.0" y="533.0">send_slack</text></g><g class="node dead" data-k="run/lib/notify.py:export_to_sheets"><rect x="1308.0" y="547.0" width="236.0" height="26"/><rect class="bar" x="1308.0" y="547.0" width="4" height="26" style="fill:#6b4fc9"/><text x="1322.0" y="565.0">export_to_sheets</text></g></svg></div></div>
  </section>
  <section class="s">
    <h2>What a change reaches</h2>
    <p class="one"><span class="id">execute</span> is called by 7 functions and 48 depend on it, half of the code under <span class="id">run/</span>.</p>
    <div class="vis"><table class="t "><tr><th class="">Function</th><th class="num">Called by</th><th class="num">Functions that depend on it</th><th class="grow">Module</th></tr><tr><td class="m col"><span class="id">execute</span></td><td class="num dim">7</td><td class="num col">48</td><td class="m dim"><span class="id">run/lib/engine.py</span></td></tr><tr><td class="m col"><span class="id">append_rows</span></td><td class="num dim">5</td><td class="num col">42</td><td class="m dim"><span class="id">run/lib/writers.py</span></td></tr><tr><td class="m col"><span class="id">connect</span></td><td class="num dim">3</td><td class="num col">28</td><td class="m dim"><span class="id">run/lib/engine.py</span></td></tr><tr><td class="m col"><span class="id">fetch</span></td><td class="num dim">15</td><td class="num col">27</td><td class="m dim"><span class="id">run/lib/engine.py</span></td></tr></table></div>
  </section>
  <section class="s">
    <h2>Functions without a caller</h2>
    <p class="one">11 functions in 8 modules have no caller.</p>
    <div class="vis"><table class="t auto"><tr><th class="w400">Function</th><th class="">Module</th></tr><tr><td class="m col"><span class="id">legacy_replay</span></td><td class="m dim"><span class="id">run/replay.py</span></td></tr><tr><td class="m col"><span class="id">send_slack</span></td><td class="m dim"><span class="id">run/lib/notify.py</span></td></tr><tr><td class="m col"><span class="id">export_to_sheets</span></td><td class="m dim"><span class="id">run/lib/notify.py</span></td></tr><tr><td class="m col"><span class="id">read_xml</span></td><td class="m dim"><span class="id">run/lib/readers.py</span></td></tr><tr><td class="m col"><span class="id">parse_bool</span></td><td class="m dim"><span class="id">run/lib/readers.py</span></td></tr><tr><td class="m col"><span class="id">to_euro</span></td><td class="m dim"><span class="id">run/lib/money.py</span></td></tr><tr><td class="m col"><span class="id">round_half_up</span></td><td class="m dim"><span class="id">run/lib/money.py</span></td></tr><tr><td class="m col"><span class="id">render_markdown</span></td><td class="m dim"><span class="id">tools/site/render.py</span></td></tr><tr><td class="m col"><span class="id">load_fixture</span></td><td class="m dim"><span class="id">generator/shared.py</span></td></tr><tr><td class="m col"><span class="id">table_exists</span></td><td class="m dim"><span class="id">run/lib/engine.py</span></td></tr><tr><td class="m col"><span class="id">write_table</span></td><td class="m dim"><span class="id">run/lib/writers.py</span></td></tr></table></div>
  </section>
  <section class="s">
    <h2>The generator and the site</h2>
    <p class="one">34 functions under <span class="id">generator/</span> and <span class="id">tools/site/</span>, 39 calls among them and 7 into <span class="id">run/lib</span>.</p>
    <div class="vis wide paper"><div class="lin lin2"><svg viewBox="0 0 1544 684" width="1544" height="684"><rect class="lane" x="-12.0" y="2" width="324.0" height="362" rx="12"/><rect class="lane" x="346.0" y="2" width="260.0" height="202" rx="12"/><rect class="lane" x="640.0" y="2" width="314.0" height="682" rx="12"/><rect class="lane" x="988.0" y="2" width="274.0" height="362" rx="12"/><rect class="lane" x="1296.0" y="2" width="260.0" height="202" rx="12"/><g class="wire " data-a="generator/generate.py:main" data-b="generator/plan.py:plan_files"><path d="M300.0 112.0 C329.0 112.0 329.0 112.0 358.0 112.0"/></g><g class="wire " data-a="generator/generate.py:main" data-b="generator/plan.py:diff_plan"><path d="M300.0 112.0 C329.0 112.0 329.0 144.0 358.0 144.0"/></g><g class="wire " data-a="generator/generate.py:main" data-b="generator/plan.py:apply_plan"><path d="M300.0 112.0 C329.0 112.0 329.0 176.0 358.0 176.0"/></g><g class="wire same" data-a="generator/check_repo.py:main" data-b="generator/check_repo.py:find_findings"><path d="M302.0 176.0 C311.0 176.0 311.0 208.0 302.0 208.0"/></g><g class="wire skip" data-a="generator/check_repo.py:find_findings" data-b="generator/contracts.py:load_contract"><path d="M300.0 208.0 C476.0 208.0 476.0 528.0 652.0 528.0"/></g><g class="wire skip" data-a="generator/check_repo.py:find_findings" data-b="tools/site/parse.py:parse_sql_headers"><path d="M300.0 208.0 C650.0 208.0 650.0 272.0 1000.0 272.0"/></g><g class="wire same" data-a="tools/site/build_site.py:main" data-b="tools/site/build_site.py:read_inputs"><path d="M302.0 272.0 C311.0 272.0 311.0 304.0 302.0 304.0"/></g><g class="wire same" data-a="tools/site/build_site.py:main" data-b="tools/site/build_site.py:build_pages"><path d="M302.0 272.0 C311.0 272.0 311.0 336.0 302.0 336.0"/></g><g class="wire skip" data-a="tools/site/build_site.py:read_inputs" data-b="generator/contracts.py:load_contract"><path d="M300.0 304.0 C476.0 304.0 476.0 528.0 652.0 528.0"/></g><g class="wire skip" data-a="tools/site/build_site.py:read_inputs" data-b="tools/site/parse.py:parse_sql_headers"><path d="M300.0 304.0 C650.0 304.0 650.0 272.0 1000.0 272.0"/></g><g class="wire skip" data-a="tools/site/build_site.py:read_inputs" data-b="tools/site/parse.py:parse_python"><path d="M300.0 304.0 C650.0 304.0 650.0 304.0 1000.0 304.0"/></g><g class="wire skip" data-a="tools/site/build_site.py:read_inputs" data-b="tools/site/parse.py:parse_ops"><path d="M300.0 304.0 C650.0 304.0 650.0 336.0 1000.0 336.0"/></g><g class="wire skip" data-a="tools/site/build_site.py:build_pages" data-b="tools/site/render.py:page"><path d="M300.0 336.0 C650.0 336.0 650.0 112.0 1000.0 112.0"/></g><g class="wire same" data-a="tools/site/render.py:page" data-b="tools/site/render.py:table"><path d="M1252.0 112.0 C1261.0 112.0 1261.0 144.0 1252.0 144.0"/></g><g class="wire same" data-a="tools/site/render.py:page" data-b="tools/site/render.py:graph"><path d="M1252.0 112.0 C1261.0 112.0 1261.0 176.0 1252.0 176.0"/></g><g class="wire " data-a="generator/plan.py:plan_files" data-b="generator/contracts.py:load_contract"><path d="M594.0 112.0 C623.0 112.0 623.0 528.0 652.0 528.0"/></g><g class="wire " data-a="generator/plan.py:apply_plan" data-b="generator/bronze.py:bronze_sql"><path d="M594.0 176.0 C623.0 176.0 623.0 112.0 652.0 112.0"/></g><g class="wire " data-a="generator/plan.py:apply_plan" data-b="generator/clean.py:clean_sql"><path d="M594.0 176.0 C623.0 176.0 623.0 240.0 652.0 240.0"/></g><g class="wire " data-a="generator/plan.py:apply_plan" data-b="generator/checks.py:check_sql"><path d="M594.0 176.0 C623.0 176.0 623.0 400.0 652.0 400.0"/></g><g class="wire " data-a="generator/plan.py:diff_plan" data-b="generator/contracts.py:diff_schemas"><path d="M594.0 144.0 C623.0 144.0 623.0 656.0 652.0 656.0"/></g><g class="wire same" data-a="generator/bronze.py:bronze_sql" data-b="generator/bronze.py:reader_for"><path d="M944.0 112.0 C953.0 112.0 953.0 144.0 944.0 144.0"/></g><g class="wire same" data-a="generator/bronze.py:bronze_sql" data-b="generator/bronze.py:technical_columns"><path d="M944.0 112.0 C953.0 112.0 953.0 176.0 944.0 176.0"/></g><g class="wire skip" data-a="generator/bronze.py:bronze_sql" data-b="generator/shared.py:write_file"><path d="M942.0 112.0 C1125.0 112.0 1125.0 112.0 1308.0 112.0"/></g><g class="wire skip" data-a="generator/bronze.py:bronze_sql" data-b="generator/shared.py:header"><path d="M942.0 112.0 C1125.0 112.0 1125.0 144.0 1308.0 144.0"/></g><g class="wire same" data-a="generator/clean.py:clean_sql" data-b="generator/clean.py:merge_changes"><path d="M944.0 240.0 C953.0 240.0 953.0 272.0 944.0 272.0"/></g><g class="wire same" data-a="generator/clean.py:clean_sql" data-b="generator/clean.py:type_casts"><path d="M944.0 240.0 C953.0 240.0 953.0 304.0 944.0 304.0"/></g><g class="wire same" data-a="generator/clean.py:clean_sql" data-b="generator/clean.py:rule_block"><path d="M944.0 240.0 C953.0 240.0 953.0 336.0 944.0 336.0"/></g><g class="wire same" data-a="generator/clean.py:clean_sql" data-b="generator/contracts.py:columns_of"><path d="M944.0 240.0 C953.0 240.0 953.0 560.0 944.0 560.0"/></g><g class="wire same" data-a="generator/clean.py:clean_sql" data-b="generator/contracts.py:keys_of"><path d="M944.0 240.0 C953.0 240.0 953.0 592.0 944.0 592.0"/></g><g class="wire skip" data-a="generator/clean.py:clean_sql" data-b="generator/shared.py:write_file"><path d="M942.0 240.0 C1125.0 240.0 1125.0 112.0 1308.0 112.0"/></g><g class="wire skip" data-a="generator/clean.py:clean_sql" data-b="generator/shared.py:header"><path d="M942.0 240.0 C1125.0 240.0 1125.0 144.0 1308.0 144.0"/></g><g class="wire same" data-a="generator/checks.py:check_sql" data-b="generator/checks.py:gate_for"><path d="M944.0 400.0 C953.0 400.0 953.0 432.0 944.0 432.0"/></g><g class="wire same" data-a="generator/checks.py:check_sql" data-b="generator/checks.py:threshold"><path d="M944.0 400.0 C953.0 400.0 953.0 464.0 944.0 464.0"/></g><g class="wire same" data-a="generator/checks.py:check_sql" data-b="generator/contracts.py:relationships_of"><path d="M944.0 400.0 C953.0 400.0 953.0 624.0 944.0 624.0"/></g><g class="wire skip" data-a="generator/checks.py:check_sql" data-b="generator/shared.py:write_file"><path d="M942.0 400.0 C1125.0 400.0 1125.0 112.0 1308.0 112.0"/></g><g class="wire same" data-a="generator/contracts.py:keys_of" data-b="generator/contracts.py:load_contract"><path d="M944.0 592.0 C953.0 592.0 953.0 528.0 944.0 528.0"/></g><g class="wire same" data-a="generator/contracts.py:columns_of" data-b="generator/contracts.py:load_contract"><path d="M944.0 560.0 C953.0 560.0 953.0 528.0 944.0 528.0"/></g><g class="wire same" data-a="generator/contracts.py:relationships_of" data-b="generator/contracts.py:load_contract"><path d="M944.0 624.0 C953.0 624.0 953.0 528.0 944.0 528.0"/></g><g class="wire same" data-a="tools/site/render.py:graph" data-b="tools/site/render.py:table"><path d="M1252.0 176.0 C1261.0 176.0 1261.0 144.0 1252.0 144.0"/></g><text class="hd" x="0.0" y="22">entry points</text><text class="hd2" x="0.0" y="46">6 functions</text><text class="grp" x="0.0" y="84.0">generator/generate.py</text><g class="node " data-k="generator/generate.py:main"><rect x="0.0" y="99.0" width="300.0" height="26"/><rect class="bar" x="0.0" y="99.0" width="4" height="26" style="fill:rgba(201,184,255,.35)"/><text x="14.0" y="117.0">main</text></g><text class="grp" x="0.0" y="148.0">generator/check_repo.py</text><g class="node " data-k="generator/check_repo.py:main"><rect x="0.0" y="163.0" width="300.0" height="26"/><rect class="bar" x="0.0" y="163.0" width="4" height="26" style="fill:rgba(201,184,255,.35)"/><text x="14.0" y="181.0">main</text></g><g class="node " data-k="generator/check_repo.py:find_findings"><rect x="0.0" y="195.0" width="300.0" height="26"/><rect class="bar" x="0.0" y="195.0" width="4" height="26" style="fill:rgba(201,184,255,.35)"/><text x="14.0" y="213.0">find_findings</text></g><text class="grp" x="0.0" y="244.0">tools/site/build_site.py</text><g class="node " data-k="tools/site/build_site.py:main"><rect x="0.0" y="259.0" width="300.0" height="26"/><rect class="bar" x="0.0" y="259.0" width="4" height="26" style="fill:rgba(201,184,255,.35)"/><text x="14.0" y="277.0">main</text></g><g class="node " data-k="tools/site/build_site.py:read_inputs"><rect x="0.0" y="291.0" width="300.0" height="26"/><rect class="bar" x="0.0" y="291.0" width="4" height="26" style="fill:rgba(201,184,255,.35)"/><text x="14.0" y="309.0">read_inputs</text></g><g class="node " data-k="tools/site/build_site.py:build_pages"><rect x="0.0" y="323.0" width="300.0" height="26"/><rect class="bar" x="0.0" y="323.0" width="4" height="26" style="fill:rgba(201,184,255,.35)"/><text x="14.0" y="341.0">build_pages</text></g><text class="hd" x="358.0" y="22">orchestration</text><text class="hd2" x="358.0" y="46">3 functions</text><text class="grp" x="358.0" y="84.0">generator/plan.py</text><g class="node " data-k="generator/plan.py:plan_files"><rect x="358.0" y="99.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="99.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="117.0">plan_files</text></g><g class="node " data-k="generator/plan.py:diff_plan"><rect x="358.0" y="131.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="131.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="149.0">diff_plan</text></g><g class="node " data-k="generator/plan.py:apply_plan"><rect x="358.0" y="163.0" width="236.0" height="26"/><rect class="bar" x="358.0" y="163.0" width="4" height="26" style="fill:rgba(201,184,255,.6)"/><text x="372.0" y="181.0">apply_plan</text></g><text class="hd" x="652.0" y="22">domain</text><text class="hd2" x="652.0" y="46">15 functions</text><text class="grp" x="652.0" y="84.0">generator/bronze.py</text><g class="node " data-k="generator/bronze.py:bronze_sql"><rect x="652.0" y="99.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="99.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="117.0">bronze_sql</text></g><g class="node " data-k="generator/bronze.py:reader_for"><rect x="652.0" y="131.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="131.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="149.0">reader_for</text></g><g class="node " data-k="generator/bronze.py:technical_columns"><rect x="652.0" y="163.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="163.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="181.0">technical_columns</text></g><text class="grp" x="652.0" y="212.0">generator/clean.py</text><g class="node " data-k="generator/clean.py:clean_sql"><rect x="652.0" y="227.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="227.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="245.0">clean_sql</text></g><g class="node " data-k="generator/clean.py:merge_changes"><rect x="652.0" y="259.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="259.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="277.0">merge_changes</text></g><g class="node " data-k="generator/clean.py:type_casts"><rect x="652.0" y="291.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="291.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="309.0">type_casts</text></g><g class="node " data-k="generator/clean.py:rule_block"><rect x="652.0" y="323.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="323.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="341.0">rule_block</text></g><text class="grp" x="652.0" y="372.0">generator/checks.py</text><g class="node " data-k="generator/checks.py:check_sql"><rect x="652.0" y="387.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="387.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="405.0">check_sql</text></g><g class="node " data-k="generator/checks.py:gate_for"><rect x="652.0" y="419.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="419.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="437.0">gate_for</text></g><g class="node " data-k="generator/checks.py:threshold"><rect x="652.0" y="451.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="451.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="469.0">threshold</text></g><text class="grp" x="652.0" y="500.0">generator/contracts.py</text><g class="node " data-k="generator/contracts.py:load_contract"><rect x="652.0" y="515.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="515.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="533.0">load_contract</text></g><g class="node " data-k="generator/contracts.py:columns_of"><rect x="652.0" y="547.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="547.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="565.0">columns_of</text></g><g class="node " data-k="generator/contracts.py:keys_of"><rect x="652.0" y="579.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="579.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="597.0">keys_of</text></g><g class="node " data-k="generator/contracts.py:relationships_of"><rect x="652.0" y="611.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="611.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="629.0">relationships_of</text></g><g class="node " data-k="generator/contracts.py:diff_schemas"><rect x="652.0" y="643.0" width="290.0" height="26"/><rect class="bar" x="652.0" y="643.0" width="4" height="26" style="fill:#c9b8ff"/><text x="666.0" y="661.0">diff_schemas</text></g><text class="hd" x="1000.0" y="22">io and engine</text><text class="hd2" x="1000.0" y="46">7 functions</text><text class="grp" x="1000.0" y="84.0">tools/site/render.py</text><g class="node " data-k="tools/site/render.py:page"><rect x="1000.0" y="99.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="99.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="117.0">page</text></g><g class="node " data-k="tools/site/render.py:table"><rect x="1000.0" y="131.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="131.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="149.0">table</text></g><g class="node " data-k="tools/site/render.py:graph"><rect x="1000.0" y="163.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="163.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="181.0">graph</text></g><g class="node dead" data-k="tools/site/render.py:render_markdown"><rect x="1000.0" y="195.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="195.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="213.0">render_markdown</text></g><text class="grp" x="1000.0" y="244.0">tools/site/parse.py</text><g class="node " data-k="tools/site/parse.py:parse_sql_headers"><rect x="1000.0" y="259.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="259.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="277.0">parse_sql_headers</text></g><g class="node " data-k="tools/site/parse.py:parse_python"><rect x="1000.0" y="291.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="291.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="309.0">parse_python</text></g><g class="node " data-k="tools/site/parse.py:parse_ops"><rect x="1000.0" y="323.0" width="250.0" height="26"/><rect class="bar" x="1000.0" y="323.0" width="4" height="26" style="fill:#8a63f2"/><text x="1014.0" y="341.0">parse_ops</text></g><text class="hd" x="1308.0" y="22">utilities</text><text class="hd2" x="1308.0" y="46">3 functions</text><text class="grp" x="1308.0" y="84.0">generator/shared.py</text><g class="node " data-k="generator/shared.py:write_file"><rect x="1308.0" y="99.0" width="236.0" height="26"/><rect class="bar" x="1308.0" y="99.0" width="4" height="26" style="fill:#6b4fc9"/><text x="1322.0" y="117.0">write_file</text></g><g class="node " data-k="generator/shared.py:header"><rect x="1308.0" y="131.0" width="236.0" height="26"/><rect class="bar" x="1308.0" y="131.0" width="4" height="26" style="fill:#6b4fc9"/><text x="1322.0" y="149.0">header</text></g><g class="node dead" data-k="generator/shared.py:load_fixture"><rect x="1308.0" y="163.0" width="236.0" height="26"/><rect class="bar" x="1308.0" y="163.0" width="4" height="26" style="fill:#6b4fc9"/><text x="1322.0" y="181.0">load_fixture</text></g></svg></div></div>
  </section>
</main>
<script>
  (function () {
    document.querySelectorAll('.lin').forEach(function (root) {
      var nodes = Array.prototype.slice.call(root.querySelectorAll('.node'));
      var wires = Array.prototype.slice.call(root.querySelectorAll('.wire'));
      var up = {}, down = {};
      wires.forEach(function (w) { var a = w.dataset.a, b = w.dataset.b; (down[a] = down[a] || []).push(b); (up[b] = up[b] || []).push(a); });
      function walk(start, map) { var seen = {}, stack = [start]; while (stack.length) { var k = stack.pop(); (map[k] || []).forEach(function (n) { if (!seen[n]) { seen[n] = true; stack.push(n); } }); } return seen; }
      function clear() { nodes.forEach(function (n) { n.classList.remove('on', 'up', 'down', 'off'); }); wires.forEach(function (w) { w.classList.remove('up', 'down', 'off'); }); }
      nodes.forEach(function (n) { n.addEventListener('click', function (ev) {
        ev.stopPropagation(); clear(); var k = n.dataset.k, u = walk(k, up), d = walk(k, down);
        nodes.forEach(function (o) { var ok = o.dataset.k; o.classList.add(ok === k ? 'on' : u[ok] ? 'up' : d[ok] ? 'down' : 'off'); });
        wires.forEach(function (w) { var a = w.dataset.a, b = w.dataset.b; w.classList.add((u[a] || a === k) && (u[b] || b === k) ? 'up' : (d[a] || a === k) && (d[b] || b === k) ? 'down' : 'off'); });
      }); });
      document.addEventListener('click', clear); document.addEventListener('keydown', function (ev) { if (ev.key === 'Escape') clear(); });
      var h = decodeURIComponent(location.hash.slice(1)), hits = h ? nodes.filter(function (n) { return n.dataset.k.split(':').pop() === h; }) : [], n0 = hits[hits.length - 1];
      if (n0 && !root.dataset.lit) { root.dataset.lit = '1'; n0.dispatchEvent(new MouseEvent('click', {bubbles: true, cancelable: true})); }
    });
  })();</script>
</body>
</html>
rea-changelog-updatemorluto/reaPrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization.Stars: 468kUpdated Claude CodeCodexVerifiedInstall
academy-guideanthropics/skillsStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
claude-apianthropics/skillsReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).Stars: 197kUpdated Claude CodeCodexUnverifiedInstall
doc-coauthoringanthropics/skillsGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.Stars: 197kUpdated Claude CodeCodexVerifiedInstall