Skip to content

Commit b0b8160

Browse files
anth-volkclaude
andcommitted
Fix under-construction node placement and labeling
- PR #611 orchestrator now coordinates all stages (0-8), not just 5-8 - UK PR #291 (OA clone-and-assign) repositioned between Stage 4 and Stage 5 - UK PR #296 relabeled as standalone tool (not a pipeline stage) - Sidebar updated to show PR #296 as "Tool" instead of "Stage 10" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f8626c0 commit b0b8160

4 files changed

Lines changed: 25 additions & 21 deletions

File tree

docs/pipeline-diagrams/src/components/Sidebar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const ukStages = [
2626
{ path: "/uk/stage/7", label: "Stage 7", desc: "Local Area Calibration" },
2727
{ path: "/uk/stage/8", label: "Stage 8", desc: "Validation & Output" },
2828
{ path: "/uk/stage/9", label: "Stage 9", desc: "OA Calibration", underConstruction: true },
29-
{ path: "/uk/stage/10", label: "Stage 10", desc: "Weight Regularisation", underConstruction: true },
29+
{ path: "/uk/stage/10", label: "Tool", desc: "Weight Regularisation", underConstruction: true },
3030
];
3131

3232
const nodeLegend = [

docs/pipeline-diagrams/src/stages/Overview.jsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,15 @@ const nodes = [
113113
type: "under_construction",
114114
data: {
115115
label: "Pipeline Orchestrator",
116-
subtitle: "5-step automated pipeline with resume support",
116+
subtitle: "Coordinates all stages (0\u20138) on Modal",
117117
details: [
118118
"Pre-baked Modal images",
119119
"Auto-trigger on merge to main",
120120
"Atomic staging \u2192 production promotion",
121+
"Resume support on failure",
121122
],
122123
pr: "#611",
123-
elkPartition: 5,
124+
elkPartition: 4,
124125
},
125126
},
126127
];
@@ -205,13 +206,13 @@ const edges = [
205206
...runsOn,
206207
},
207208

208-
// Orchestrator coordinates stages 5-8
209+
// Orchestrator coordinates all stages
209210
{
210-
id: "e-orch-s5",
211+
id: "e-orch-s0",
211212
source: "orchestrator",
212-
target: "stage5",
213+
target: "stage0",
213214
...informational,
214-
label: "coordinates",
215+
label: "coordinates stages 0\u20138",
215216
},
216217

217218
// HuggingFace edges

docs/pipeline-diagrams/src/stages/uk/Overview.jsx

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -121,30 +121,33 @@ const nodes = [
121121
],
122122
},
123123
},
124-
// Under construction stages
124+
// Under construction — clone-and-assign sits between Stage 4 and Stage 5
125125
{
126-
id: "stage9",
126+
id: "oa_clone",
127127
type: "under_construction",
128128
data: {
129-
label: "Stage 9: OA calibration",
130-
subtitle: "Output Area-level calibration (~235K OAs)",
129+
label: "OA Clone-and-Assign",
130+
subtitle: "Clone N\u00d7, assign Output Area geography",
131131
details: [
132-
"Clone-and-assign, L0 engine",
133-
"Sparse matrix, SQLite targets",
134-
"Per-area H5 publishing",
132+
"~235K OAs from ONS/NRS/NISRA",
133+
"10 clones (prod), 2 clones (test)",
134+
"Feeds into existing calibration",
135135
],
136136
pr: "#291",
137137
},
138138
},
139+
140+
// Under construction — standalone diagnostic tool (not a pipeline stage)
139141
{
140-
id: "stage10",
142+
id: "adversarial",
141143
type: "under_construction",
142144
data: {
143-
label: "Stage 10: Weight regularisation",
144-
subtitle: "Adversarial diagnostics pipeline",
145+
label: "Adversarial Weight Regularisation",
146+
subtitle: "Standalone diagnostic tool",
145147
details: [
146148
"Influence detection, TVAE model",
147149
"Adversarial loop + recalibration",
150+
"CLI: python -m diagnostics",
148151
],
149152
pr: "#296",
150153
},
@@ -169,14 +172,14 @@ const edges = [
169172
{ id: "e-2-3", source: "stage2", target: "stage3_absent", ...informational },
170173
{ id: "e-3-4", source: "stage3_absent", target: "stage4", ...informational },
171174
{ id: "e-2-4", source: "stage2", target: "stage4", ...dataFlow, label: "enhanced FRS" },
172-
{ id: "e-4-5", source: "stage4", target: "stage5", ...dataFlow, label: "fully imputed" },
175+
{ id: "e-4-oa", source: "stage4", target: "oa_clone", ...dataFlow, label: "fully imputed" },
176+
{ id: "e-oa-5", source: "oa_clone", target: "stage5", ...dataFlow, label: "cloned dataset" },
173177
{ id: "e-5-6", source: "stage5", target: "stage6", ...dataFlow, label: "target matrix" },
174178
{ id: "e-6-7", source: "stage6", target: "stage7", ...dataFlow, label: "constituency weights" },
175179
{ id: "e-7-8", source: "stage7", target: "stage8", ...producesArtifact, label: "calibrated dataset" },
176180

177181
// Under construction edges
178-
{ id: "e-7-9", source: "stage7", target: "stage9", ...dataFlow, label: "calibrated FRS" },
179-
{ id: "e-7-10", source: "stage7", target: "stage10", ...dataFlow, label: "calibrated weights" },
182+
{ id: "e-8-adversarial", source: "stage8", target: "adversarial", ...informational, label: "final output" },
180183
{ id: "e-modal-6", source: "modal_gpu", target: "stage6", ...runsOn },
181184
{ id: "e-modal-7", source: "modal_gpu", target: "stage7", ...runsOn },
182185
];

docs/pipeline-diagrams/src/stages/uk/Stage10.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ const edges = [
154154
export default function Stage10() {
155155
return (
156156
<DiagramPage
157-
title="Stage 10: Adversarial Weight Regularisation (under construction \u2014 PR #296)"
157+
title="Adversarial Weight Regularisation \u2014 Standalone Tool (under construction \u2014 PR #296)"
158158
nodes={nodes}
159159
edges={edges}
160160
/>

0 commit comments

Comments
 (0)